Claude Opus 4.7: Pricing, Context, and Benchmarks
Claude Opus 4.7 is Anthropic's Claude 4 model released on 2026-04-22. It runs on a 200K-token context window, priced at $15.00/M input and $75.00/M output. Anthropic's flagship for agentic and frontier tasks. Most expensive Claude tier, justified on hardest tasks.
Specifications
| Provider | Anthropic |
|---|---|
| Family | Claude 4 |
| Released | 2026-04-22 |
| Status | active |
| Context window | 200K tokens |
| Max output | 64K tokens |
| Modalities | text image |
| Capabilities | function calling json mode vision streaming tool use |
| Tokenizer | claude-3 |
| API endpoint | https://api.anthropic.com/v1/messages |
| Documentation | Official docs ↗ |
| Last updated | 2026-05-29 |
Benchmark scores
| Benchmark | Category | Score | Measured | Source |
|---|---|---|---|---|
| GPQA Diamond | reasoning | 83.1 | 2026-04-22 | ↗ |
| Aider Polyglot | coding | 81.5 | 2026-04-22 | ↗ |
| SWE-bench Verified | coding | 77.2 | 2026-04-22 | ↗ |
Scores reflect single measurements on the date shown. Reproducibility varies; consult the linked source for methodology. Use the comparison tool for side-by-side analysis.
What this model is good for
Based on benchmark scores and capability fit, Claude Opus 4.7 ranks well for:
- Code Generation — rank #1. Highest SWE-bench Verified score. Best on hardest tasks but expensive.
- Agentic Workflows — rank #1. Most reliable tool use; least likely to drop a tool call mid-loop.
- Vision / Image Analysis — rank #3. Strong on chart and diagram understanding.
Cost calculator
For 1,000 tokens of input and 1,000 tokens of output per call, this model costs $0.0900 per call. For typical usage:
| Workload | Tokens / call (in/out) | $/call | $/1K calls | $/1M calls |
|---|---|---|---|---|
| Short Q&A | 200 / 100 | $0.010500 | $10.50 | $10,500 |
| Standard chat | 1K / 500 | $0.052500 | $52.50 | $52,500 |
| RAG with retrieval | 4K / 500 | $0.097500 | $97.50 | $97,500 |
| Long doc summary | 20K / 1K | $0.375000 | $375.00 | $375,000 |
| Long context (100K input) | 100K / 2K | $1.612500 | $1,612.50 | $1,612,500 |
For more precise estimates including caching discounts, use the LLM API Cost Calculator.
Other Anthropic models
Common comparisons
- Claude Opus 4.7 vs Llama 3.1 405B Side-by-side specs, pricing, and benchmarks
- Claude Opus 4.7 vs Grok 3 Side-by-side specs, pricing, and benchmarks
- Claude Opus 4.7 vs GPT-4o Side-by-side specs, pricing, and benchmarks
- Claude Opus 4.7 vs Command R+ Side-by-side specs, pricing, and benchmarks
API setup
curl https://api.anthropic.com/v1/messages \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "claude-opus-4-7", "messages": [{"role": "user", "content": "Hello"}]}'
See the official documentation for the full request/response schema. For pre-flight token counting before paying, use the appropriate token counter.