Claude Opus 5 (Anthropic) API

Anthropic · serves claude-opus-5

Pricing

Input / 1M$5.00
Output / 1M$25.00
Blended / 1M$30cheapest of 3
Cached input / 1M$0.50
Context window200,000 tokens
Max output64,000 tokens
LicenseAPI only · Proprietary proprietary
Knowledge cutoffMay 2026 · source
Intelligence index63 Artificial Analysis Intelligence Index · source

textvisionfunction-calling

Price verified 2026-09-05 (0 days ago) · sourcecorroborated

Sources

SourceInput / 1MOutput / 1MVerified
OpenRouter$5.00$25.002026-09-05
LiteLLM$5.00$25.002026-09-03
models.dev$5.00$25.002026-09-04

Two independent sources agree within 20%.

Call it

Served via OpenRouter, pinned to Anthropic — the provider these prices are resolved from. Set OPENROUTER_API_KEY. Provider page.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-opus-5",
    "messages": [{"role": "user", "content": "Hello"}],
    "provider": {"only": ["Anthropic"], "allow_fallbacks": false}
  }'
from openai import OpenAI  # pip install openai

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="...",  # OPENROUTER_API_KEY
)
resp = client.chat.completions.create(
    model="anthropic/claude-opus-5",
    messages=[{"role": "user", "content": "Hello"}],
    extra_body={"provider": {"only": ["Anthropic"], "allow_fallbacks": false}},
)
print(resp.choices[0].message.content)

Price unchanged since 2026-09-03 — 1 point on record.

Use this data

Raw JSON for this page: claude-opus-5.json. Free to reuse under CC BY 4.0 with attribution to apipriceindex.com.