Claude Opus 4
Claude Opus 4 is Anthropic's most intelligent model and is state-of-the-art for coding and agent capabilities, especially agentic search. It excels for customers needing frontier intelligence: Advanced coding: Independently plan and execute complex development tasks end-to-end. It adapts to your style and maintains high code quality throughout. AI agents: Enable agents to tackle complex, multi-step tasks that require peak accuracy. Agentic search and research: Connect to multiple data sources to synthesize comprehensive insights across repositories. Long-horizon tasks and complex problem solving (virtual collaborator): Unlock new use cases involving long-horizon tasks that require memory, sustained reasoning, and long chains of actions. Content creation: Create human-quality content with natural prose. Produce long-form creative content, technical documentation, marketing copy, and frontend design mockups.
Claude Opus 4, released May 22 2025 alongside Sonnet 4, was Anthropic's most powerful model at launch and the coding benchmark leader of its time. It scored 72.5 % on SWE-bench Verified and 43.2 % on Terminal-bench without extended thinkingβestablishing it as the best coding model available when it shipped. As a hybrid reasoning model it supports both near-instant responses and extended thinking (up to 64 k tokens), and it was the first Anthropic model to show dramatically improved memory capabilities when developers provided local file access.
From a TheRouter routing perspective, Claude Opus 4 occupies the original top of the Anthropic Opus line and is now deprecated. It was superseded by Opus 4.1 (August 2025), which added further agentic precision at the same original price tier, and subsequently by Opus 4.5 through 4.8. Its original pricing was $15/$75 per million tokens, higher than the $5/$25 Opus 4.5+ tier. Existing integrations using the claude-opus-4-20250514 API ID continue to work, but Anthropic recommends migrating to Opus 4.5 or later for better performance and lower cost.
- β’ Legacy integrations pinned to claude-opus-4-20250514 that have not yet migrated β it remains callable but is deprecated
- β’ Historical benchmarking or research requiring 2025-05-22 vintage model behavior
- β’ New production workloads β migrate to anthropic/claude-opus-4-5 or later for lower cost ($5/$25 vs $15/$75), larger context (1 M tokens), and significantly higher coding scores
- β’ Cost-sensitive or high-volume workflows β the original $15/$75 pricing is substantially higher than Opus 4.5+ generations
Modalities
Capabilities
Pricing Breakdown
| Type | Rate |
|---|---|
| Input | $16.20 / 1M tokens |
| Output | $81.00 / 1M tokens |
Supported Parameters
Specifications
| Release date | 2025-05-22www.anthropic.com β | verified |
| Anthropic API model ID | claude-opus-4-20250514 (alias: claude-opus-4-0)platform.claude.com β | verified |
| AWS Bedrock model ID | anthropic.claude-opus-4-20250514-v1:0platform.claude.com β | verified |
| Vertex AI model ID | claude-opus-4@20250514platform.claude.com β | verified |
| Context window | 200 000 tokensplatform.claude.com β | verified |
| Max output tokens | 32 000platform.claude.com β | verified |
| Reasoning modes | Instant responses (default) + extended thinking (up to 64 k tokens)www.anthropic.com β | verified |
| Training cutoff | Not publicly disclosed | unknown |
| License | Anthropic Usage Policy (proprietary, API-only) | verified |
| Lifecycle status | Deprecated β still callable; migrate to Opus 4.5 or laterplatform.claude.com β | verified |
Benchmarks
| Benchmark | Distribution | Score | Source |
|---|---|---|---|
SWE-bench Verified No extended thinking. Led all publicly available models at the time of Claude 4 launch (May 2025). | 72.5%% | www.anthropic.com β | |
Terminal-bench No extended thinking. Measures real-world terminal-based software engineering tasks. | 43.2%% | www.anthropic.com β | |
GPQA Diamond Without extended thinking; higher when extended thinking is enabled. | 74.9%% | www.anthropic.com β | |
MMMLU Without extended thinking. | 87.4%% | www.anthropic.com β |
API Usage Examples
Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.
curl https://api.therouter.ai/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{
"model": "anthropic/claude-opus-4",
"messages": [
{"role": "user", "content": "Summarize the key points from this input."}
]
}'API guide
Full API reference βChat completion
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"anthropic/claude-opus-4","messages":[{"role":"user","content":"Hello"}]}'More from anthropic
Similar models
Cross-provider sibling modelsPart of
Recent coverage
Frequently asked
Is Claude Opus 4 still available on TheRouter?
Yes. You can call anthropic/claude-opus-4 (or the pinned claude-opus-4-20250514 ID) through TheRouter's OpenAI-compatible endpoint. However, Anthropic has marked it deprecated and recommends migrating to Opus 4.5 or later for better performance and significantly lower cost.
How does Claude Opus 4 compare to Sonnet 4 launched at the same time?
Both models were announced on the same day (May 22, 2025) and achieved nearly identical SWE-bench Verified scores (72.5 % vs 72.7 %). Opus 4 led on GPQA Diamond (74.9 % vs 70.0 %) and MMMLU (87.4 % vs 85.4 %), and excelled at long-running agentic tasks. Sonnet 4 offered the same coding benchmark performance at one-fifth the price ($3/$15 vs $15/$75), making it the practical choice for high-volume workloads.
Fact ledger β every claim on this page traces here
| source | URL | retrieved | |
|---|---|---|---|
| Release date | www.anthropic.com β | 2026-06-10 | verified |
| Anthropic API model ID | platform.claude.com β | 2026-06-10 | verified |
| AWS Bedrock model ID | platform.claude.com β | 2026-06-10 | verified |
| Vertex AI model ID | platform.claude.com β | 2026-06-10 | verified |
| Context window | platform.claude.com β | 2026-06-10 | verified |
| Max output tokens | platform.claude.com β | 2026-06-10 | verified |
| Reasoning modes | www.anthropic.com β | 2026-06-10 | verified |
| Training cutoff | β | β | unknown |
| License | β | β | verified |
| Lifecycle status | platform.claude.com β | 2026-06-10 | verified |
| SWE-bench Verified | www.anthropic.com β | 2026-06-10 | verified |
| Terminal-bench | www.anthropic.com β | 2026-06-10 | verified |
| GPQA Diamond | www.anthropic.com β | 2026-06-10 | verified |
| MMMLU | www.anthropic.com β | 2026-06-10 | verified |
| Is Claude Opus 4 still available on TheRouter? | platform.claude.com β | 2026-06-10 | to verify |
| How does Claude Opus 4 compare to Sonnet 4 launched at the same time? | www.anthropic.com β | 2026-06-10 | to verify |