Claude Opus 5 pricing
| Model / exact API ID | Variant | Input | Cached input | Output | Context | Availability |
|---|---|---|---|---|---|---|
Claude Opus 5claude-opus-5 | standard | $0.896861 | $0.0896861 | $4.484305 | Not published | preview |
Cache-write rate: $1.12107625 per million tokens.
Prices are USD per million tokens. Cached input uses the cache-read rate when a cache hit is reported.
Compare variants
| Model / exact API ID | Variant | Input | Cached input | Output | Context | Availability |
|---|---|---|---|---|---|---|
Claude Opus 5claude-opus-5 | standard | $0.896861 | $0.0896861 | $4.484305 | Not published | preview |
API compatibility and context
- Exact model ID
claude-opus-5- Variant
- standard
- Supported API
- Anthropic-compatible Messages
- Availability
- preview
- Context window
- Not published
- Maximum input
- Not published
- Maximum output
- Not published
Use Claude Opus 5 through the API
Create a RouterHub account, add prepaid credits and create an API key. Set ROUTERHUB_API_KEY locally, then send a first request with the exact model ID below.
cURL
curl --connect-timeout 30 --max-time 600 https://routerhub.si/v1/messages \
-H "x-api-key: $ROUTERHUB_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model":"claude-opus-5","messages":[{"role":"user","content":"Write a short noir scene set in a lighthouse."}],"max_tokens":256}'Python
Install anthropic with pip. The examples request 256 output tokens and disable automatic retries. Check Usage after completion or a timeout before resending a paid request.
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ["ROUTERHUB_API_KEY"],
base_url="https://routerhub.si",
timeout=600.0,
max_retries=0,
)
response = client.messages.create(
model="claude-opus-5",
max_tokens=256,
messages=[{"role": "user", "content": "Write a short noir scene set in a lighthouse."}],
)
print(response.content)Claude Opus 5 FAQ
What is Claude Opus 5?
Claude Opus 5 is a Anthropic language model served through RouterHub using the Anthropic-compatible Messages API.
How much does Claude Opus 5 cost?
RouterHub charges $0.896861 input / $0.0896861 cached / $4.484305 output per million tokens. Usage is billed against your prepaid balance.
What is the Claude Opus 5 context window?
Context window: Not published. Maximum input: Not published. Maximum output: Not published.
Which API does Claude Opus 5 support?
Use Anthropic-compatible Messages with the exact model ID claude-opus-5 and your RouterHub API key.
Which variants can I compare with Claude Opus 5?
Compare Claude Opus 5 with the models in the RouterHub directory using token prices, API support and context window.