Claude Opus 4.7 vs Sonnet 4.6 Pricing

Side-by-side Anthropic API pricing for Claude Opus 4.7 and Sonnet 4.6 in 2026. Per-token cost, cache savings, and when each tier pays off.

🔥 Launch tonight — Power Prompts PDF 50p (just 50p tonight)30 battle-tested Claude Code prompts · 8 pages · paste into CLAUDE.md · price reverts to £5

Anthropic's two flagship API tiers in 2026 are Claude Opus 4.7 (most capable) and Claude Sonnet 4.6 (balanced). The gap between them is 5× on input tokens and 5× on output tokens — a substantial routing decision.

Per-million-token pricing (USD)

ModelInputOutputCached readCache write (5m)
Opus 4.7$15$75$1.50$18.75
Sonnet 4.6$3$15$0.30$3.75

When Opus is worth 5×

When Sonnet is the right call

Quick math on a 1M-request workload

Assume a typical assistant turn: 2,000 input tokens, 500 output tokens. Across 1M requests, that's 2B input + 500M output tokens.

The 5× factor holds. Plug your own numbers into the Claude Cost Calculator.

Routing recommendation

The Claude Prompt-Pricing Recommender takes a prompt and recommends Haiku, Sonnet, or Opus based on prompt complexity heuristics. Most teams find 70–85% of traffic safely routes to Sonnet or Haiku without a measurable quality drop.

Frequently asked questions

How much cheaper is Claude Sonnet 4.6 than Opus 4.7?
Sonnet 4.6 is exactly 5× cheaper on both input ($3 vs $15 per million tokens) and output ($15 vs $75 per million tokens). For most workloads the quality gap is smaller than the price gap.
Can I switch between Opus and Sonnet dynamically?
Yes. Most teams route at runtime based on prompt complexity — defaulting to Sonnet and escalating to Opus when a confidence check or task-type heuristic indicates it. The Prompt-Pricing Recommender automates this classification.
Does prompt caching change the Opus vs Sonnet comparison?
Caching helps both equally on a percentage basis (90% off cached reads), but the absolute savings are 5× larger on Opus. If your workload has a large, reused system prompt, Opus with heavy caching can approach Sonnet uncached in effective cost.

Free tools

Cost Calculator → Prompt-Pricing Recommender → Diff Summarizer → Skills Browser →

Related

How Much Does Claude Cost? (2026 API Pricing Guide)Claude Prompt Caching: 90% Cost Savings Explained (2026)Claude API Cost Calculator: Estimate Your Anthropic BillClaude vs GPT-4 Pricing: 2026 API Cost ComparisonAnthropic API Pricing 2026: Full Cost Reference