Back to Models
Claude Opus 4
anthropicanthropic/claude-opus-4
API guide
Chat completion
cURL
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"}]}'Extended thinking
Enable extended thinking via the reasoning parameter. Opus 4 supports up to 64 k thinking tokens.
cURL
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":"Solve step by step"}],"reasoning":{"effort":"high"}}'Part of
Recent coverage
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 |