Claude
Claude Text

devdoclang/anthropic-claude-opus-5

Model ID: devdoclang/anthropic-claude-opus-5
Family
Claude
Context
1,000,000
Minimum charge / request
0.00024 $
Cache hit rate
0.02%
Requests
116
Success
75.0%
Tokens
667.5K
Uptime
24h agoNow
7 days agoNow

Pricing

Input / 1M tokens
0.235 $
Output / 1M tokens
0.504 $
Minimum charge / request
0.00024 $
Prompt Cache 0.02%
Cache read / 1M tokens
0.188 $
Cache write / 1M tokens
0.403 $

Repeated prompts are cached — reads are far cheaper than input, applied automatically via the API.

Price history

Price levels previously applied. The row tagged "current" is the live price.

Past Since 21/08/2026 - 09:33:27
Input / 1M tokens0.292 $ Output / 1M tokens0.696 $ Minimum charge / request0.00024 $ Cache read / 1M tokens0.144 $ Cache write / 1M tokens0.264 $
Current Since 26/08/2026 - 20:33:02
Input / 1M tokens0.235 $ Output / 1M tokens0.504 $ Minimum charge / request0.00024 $ Cache read / 1M tokens0.188 $ Cache write / 1M tokens0.403 $
Cost estimator
Estimated total 0 $
Average / request 0 $

Estimate based on list prices. Caching usually makes it cheaper.

Supported endpoints
https://api.xah.io/v1/chat/completions
https://api.xah.io/v1/completions
https://api.xah.io/v1/messages
https://api.xah.io/v1/responses
https://api.xah.io/v1beta/models/devdoclang/anthropic-claude-opus-5:generateContent
https://api.xah.io/api/chat
https://api.xah.io/api/generate
Method POST · application/json
Auth Bearer token (API key)
Rate limit 100 req/min
API kinds Text

Notes

Due to supply shifts, all Claude models are increasing in price to maintain quality. Please consider our GPT models for a better price-to-performance ratio. Thank you for your support.

Share

curl 'https://api.xah.io/v1/chat/completions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "devdoclang/anthropic-claude-opus-5",
    "messages": [
        {
            "role": "user",
            "content": "Hello, who are you?"
        }
    ]
}'
// Node.js / Browser
const res = await fetch('https://api.xah.io/v1/chat/completions', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "model": "devdoclang/anthropic-claude-opus-5",
    "messages": [
        {
            "role": "user",
            "content": "Hello, who are you?"
        }
    ]
})
});
const data = await res.json();
console.log(data);
import json, requests

url = 'https://api.xah.io/v1/chat/completions'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = json.loads("{\n    \"model\": \"devdoclang/anthropic-claude-opus-5\",\n    \"messages\": [\n        {\n            \"role\": \"user\",\n            \"content\": \"Hello, who are you?\"\n        }\n    ]\n}")

res = requests.post(url, headers=headers, json=payload, stream=True, timeout=120)
print(res.status_code, res.json())
{
    "model": "devdoclang/anthropic-claude-opus-5",
    "messages": [
        {
            "role": "user",
            "content": "Hello, who are you?"
        }
    ]
}

Try it

Send a prompt with your API key — uses real credits, streams back instantly.

Reviews & comments
★ 0.0 / 0 reviews
Loading reviews...
Contact Support
We are always ready to help you