Claude Opus 4.7
Mid-tierby Anthropic
Claude Opus 4.7 was Anthropic's flagship from April 17, 2026 until Opus 4.8 succeeded it on May 28, 2026. It introduced a 1 million token context window at the same API pricing as 4.6, alongside gains on reasoning, math, and SWE-bench. It remains available on the API at $5 input and $25 output per million tokens, with cache reads at $0.50 and Batch at $2.50 and $12.50, and is a solid choice for long-context code work, multi-document analysis, and agent workflows that span hours of tool calls. One billing note that does not show on the rate card: 4.7 was the first Claude to ship the newer tokenizer, which produces roughly 30 percent more tokens for the same text, so a port from 4.6 can cost more per request at an identical per-token price. Fast mode is not offered on 4.7 and requests that ask for it return an error.
Input Price
$5.00
per 1M tokens
Output Price
$25.00
per 1M tokens
Context Window
1M
tokens
Released
2026-04
API access
Capabilities
Key Strengths
- ✓1M token context window
- ✓Leads on HumanEval and SWE-bench
- ✓Same $5/$25 price as 4.6 with 5x context
- ✓Strong agentic tool use
Best For
- ▸Whole-repository refactors
- ▸Multi-document research synthesis
- ▸Long-running agent workflows
- ▸Extended codebase debugging
Benchmark Scores
| Benchmark | Score | Description |
|---|---|---|
| SWE-bench | 87.6 | Real-world software engineering tasks from GitHub issues (SWE-bench Verified) |
| MMLU-Pro | 93.8 | General knowledge and reasoning across 57 subjects |
| HumanEval | 96.2 | Python code generation and problem solving |
| GPQA Diamond | 76.5 | Graduate-level science questions verified by domain experts |
| MATH | 93.1 | Competition-level mathematics problems |
| FrontierCode v1.1 | 38.5 | Agentic coding on frontier software engineering tasks (Main split) |
Scores sourced from public benchmark datasets. See full benchmark leaderboard for all models.
Pricing Details
Input tokens
$5.00
per 1M tokens
Output tokens
$25.00
per 1M tokens
Estimated cost per 1K requests
$17.50
~1K input + ~500 output tokens avg
Prices are subject to change. Check the official documentation for current pricing. See the cost calculator for detailed estimates.
Related Models
Claude Mythos 5.1
FlagshipAnthropic
$10.00 in / $50.00 out
Claude Opus 5.5
FlagshipAnthropic
$4.00 in / $20.00 out
Claude Opus 5
FlagshipAnthropic
$5.00 in / $25.00 out
Claude Fable 5.1
FlagshipAnthropic
$10.00 in / $50.00 out
Claude Fable 5
FlagshipAnthropic
$10.00 in / $50.00 out
Claude Opus 4.8
FlagshipAnthropic
$5.00 in / $25.00 out
Claude Opus 4.6
FlagshipAnthropic
$5.00 in / $25.00 out
Claude Sonnet 5
Mid-tierAnthropic
$2.00 in / $10.00 out
Claude Sonnet 4.6
Mid-tierAnthropic
$3.00 in / $15.00 out
Claude Haiku 4.5
BudgetAnthropic
$1.00 in / $5.00 out
GPT-6 Sol
Mid-tierOpenAI
$2.00 in / $10.00 out
GPT-5.6 Terra
Mid-tierOpenAI
$2.00 in / $12.00 out
o3-mini
Mid-tierOpenAI
$1.10 in / $4.40 out
Gemini 3.8 Flash
Mid-tier$0.75 in / $3.75 out