Claude Opus 4

anthropic/claude-opus-4
by Anthropic · image+text+file in · text out · 200K ctx · 2025-05-22

Claude Opus 4 is benchmarked as the world’s best coding model, at time of release, bringing sustaine…

INPUT$15.00/ 1M tokens
OUTPUT$75.00/ 1M tokens
p50 TTFT1.81 s7d
p95 TTFT2.32 s7d
TRAFFIC49.6Ktokens / 7d
Code samples
from openai import OpenAI

client = OpenAI(
    base_url="https://orcarouter.ai/v1",
    api_key="$ORCAROUTER_API_KEY",
)

response = client.chat.completions.create(
    model="anthropic/claude-opus-4",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
Pricing
Input / 1M tokens$15.00
Output / 1M tokens$75.00
Cache read / 1M$1.50
Cache write / 1M$18.75
CurrencyUSD
Performance
TTFT p50
1.81 s
Output speed
31.2 tok/s
TTFT p95
2.32 s
Error rate
0.97%
Public benchmarks
AA Intelligence
33.0
AA Math
36.3
AIME
56.3
AIME 2025
36.3
GPQA Diamond
70.1
Humanity's Last Exam
5.9
IFBench
43.3
LiveCodeBench
54.2
Long-Context Recall
36.0
MATH-500
94.1
MMLU-Pro
86.0
SciCode
40.9
Source: artificialanalysis.ai
FAQ
How much does Anthropic: Claude Opus 4 cost on OrcaRouter?
Anthropic: Claude Opus 4 is priced at $15.00 per 1M input tokens and $75.00 per 1M output tokens via OrcaRouter. Pricing is pulled live from the routing layer.
What is Anthropic: Claude Opus 4's context window?
Anthropic: Claude Opus 4 supports a context window of 200K tokens. Use long-context features (RAG, summarisation) up to that limit.
How do I call Anthropic: Claude Opus 4 via the OpenAI SDK?
Set OpenAI base_url to https://orcarouter.ai/v1, supply your OrcaRouter API key, and pass model="anthropic/claude-opus-4" in the chat.completions.create call.
Does OrcaRouter rate-limit Anthropic: Claude Opus 4?
Per-model rate limits follow your OrcaRouter plan. Free tiers ship with conservative caps; paid tiers lift them. Check /pricing for current quotas.
Embed this badge
Anthropic: Claude Opus 4$15.00/M in1815ms p50via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/anthropic/claude-opus-4" target="_blank"> <img src="https://www.orcarouter.ai/embed/anthropic/claude-opus-4.svg" alt="Anthropic: Claude Opus 4 on OrcaRouter" /> </a>
Markdown [![Anthropic: Claude Opus 4](https://www.orcarouter.ai/embed/anthropic/claude-opus-4.svg)](https://www.orcarouter.ai/models/anthropic/claude-opus-4)