Claude Opus 4.7 API Pricing
Live API pricing for Claude Opus 4.7: $5/M input, $25/M output, and $0.5/M cache-hit input. Opus 4.7 is Anthropic's newest Opus tier and uses a newer tokenizer that Anthropic says can use up to 35% more tokens for fixed text. Pulled directly from platform.claude.com daily.
Run the numbers.
Live calculator pre-loaded with Claude Opus 4.7 rates. Tweak spend, output mix, or cache hit rate; share the URL to share the calculation.
Real-world presets.
Repo-wide bug fix
Reading 100-page contracts
Support agent ticket triage
Research planning turn
Paste text. See tokens. See cost.
This is a chars-per-token approximation, not a real tokenizer. Actual tokens vary by language, code density, and tool-call overhead — counts are typically ±10–20% off for English prose, more for code or non-Latin scripts. For exact billing, use the vendor's official tokenizer.
| Model | Input /M | Output /M | Effective blended | Context | Best for |
|---|---|---|---|---|---|
| Claude Opus 4.7 Current | $5.00 cache $0.50 | $25.00 | $3.21 agentic 92/8 | 1M | Frontier reasoning and hard code |
| Claude Opus 4.6 | $5.00 cache $0.50 | $25.00 | $3.21 same blend | 1M | Frontier reasoning and hard code |
| Claude Opus 4.5 | $5.00 cache $0.50 | $25.00 | $3.21 same blend | 200K | Frontier reasoning and hard code |
| Claude Opus 4.1 | $15.00 cache $1.50 | $75.00 | $9.62 pricier | 200K | Legacy Opus workloads |
| Claude Sonnet 4.6 | $3.00 cache $0.30 | $15.00 | $1.92 cheaper | 1M | Production agents and coding |
| Claude Sonnet 4.5 | $3.00 cache $0.30 | $15.00 | $1.92 cheaper | 200K | Production agents and coding |
| Claude Haiku 4.5 | $1.00 cache $0.10 | $5.00 | $0.64 cheaper | 200K | Support and classification |
| GPT-5.4 | $2.50 cache $0.25 | $15.00 | $1.80 cheaper | 1.05M | Tool use and app agents |
| Gemini 2.5 Pro | $1.25 cache $0.13 | $10.00 | $1.10 cheaper | 2M | Long-context document analysis |
Frequently asked.
Practical pricing questions, with vendor list prices separated from workload assumptions.
Q · 01 What is Claude Opus 4.7 priced at? +
$5/M input, $25/M output, and $0.5/M cache-hit input for Claude Opus 4.7. Under the 92/8 agentic blend with 82% cache hits, that works out to $3.205/M.Q · 02 How does prompt caching change the price? +
$0.5/M, which is 10% of the $5/M base input rate. Anthropic also charges cache writes at $6.25/M for 5-minute writes and $10/M for 1-hour writes. The calculator models repeated prompt sections as cache hits.Q · 03 Is there a Batch API discount? +
$2.5/M input and $12.5/M output.Q · 04 Does long context cost extra? +
1M token context window at standard pricing. Prompt caching and batch discounts still apply according to their normal rules.Q · 05 Does regional pricing differ? +
1.1x multiplier to all token categories for this generation. Bedrock and Vertex AI publish their own regional pricing policies.Q · 06 Are volume discounts published? +
Q · 07 How accurate is the tokenizer estimate? +
3.6 characters per token. Actual billing uses Anthropic's server-side tokenizer; code, tables, and non-English text can differ materially.