- Anthropic
- Text
Claude Opus 5 API: pricing, capabilities and setup
pay as you go · no subscription · key right after sign-up
How much Claude Opus 5 costs
- Input$1.305per 1M tokens
- Output$6.525per 1M tokens
- Cache read$0.1305per 1M tokens
- Cache write$1.63125per 1M tokens
Cost calculator
5 M tokens
75%
The rest is output
- With llmbox
- $13
What a typical task costs
| Task | Tokens (input / output) | With llmbox |
|---|---|---|
| Short chat | 2 000 / 500 | $0.00587 |
| Code review | 20 000 / 2 000 | $0.03915 |
| Document summary | 40 000 / 2 000 | $0.06525 |
| Agent session | 600 000 / 30 000 | $0.97875 |
Setup in three steps
- 01Get a key
Sign up and create an API key in the dashboard.
Get a key → - 02Set the base URL
In any OpenAI-compatible client, point the API address to:
- 03Pass the model id
Put this identifier in the model field:
import os
from openai import OpenAI
client = OpenAI(
base_url="https://llmbox.cc/v1",
api_key=os.environ["LLMBOX_API_KEY"],
)
resp = client.chat.completions.create(
model="anthropic/claude-opus-5",
messages=[{"role": "user", "content": "Hi! Tell me about yourself in two sentences."}],
)
print(resp.choices[0].message.content)Claude Opus 5 vs neighbours
| Model | Input · 1M | Output · 1M |
|---|---|---|
| Claude Opus 5 | $1.305 | $6.525 |
| Claude Sonnet 5.5 | $0.522 | $2.61 |
| Claude Sonnet 5 | $0.60264 | $3.0132 |
| Claude Opus 5.5 | $0.90 | $4.50 |
| Claude Fable 5.2 | $2.304 | $11.52 |
| GPT-6 Luna OpenAI | $1.50 | $3.00 |