Claude Sonnet 4 API Pricing: Proven Coding Intelligence and Nuance
Comprehensive Claude Sonnet 4 API pricing analysis ($3.00/M input, $15.00/M output), prompt caching efficiencies, coding benchmarks, and upgrade path to Sonnet 4.6.
How much does Claude Sonnet 4 cost per million tokens?
Claude Sonnet 4 costs $3.00 per million input tokens and $15.00 per million output tokens ($6.00/M blended at 3:1). An established coding and reasoning powerhouse, setting high industry standards for multi-file repo navigation and agentic workflows. Verified 2026-09-08.
How much does Claude Sonnet 4 cost per 1,000 requests?
Computed from generated token pricing. Each row assumes the listed input and output tokens per request; this model has no measured verbosity factor, so the unadjusted output estimate is shown.
| Request shape | Input tokens | Output tokens | Cost / 1,000 requests |
|---|---|---|---|
| Short | 100 | 50 | $1.0500 |
| Medium | 1,000 | 500 | $10.5000 |
| Long | 4,000 | 2,000 | $42.0000 |
Formula: ((input price × input tokens) + (output price × output tokens × verbosity factor)) ÷ 1,000,000 × 1,000. Assumptions: short 100/50, medium 1,000/500, long 4,000/2,000 input/output tokens per request. Unadjusted — no measured verbosity factor is available.
Three model-specific legacy pricing decisions
Claude Sonnet 4 owns historical short, 200K-shaped, and output-heavy text economics. Sonnet 4.6 is used for the narrow parity boundary, not the broad comparison verdict.
1. Fixed model-specific workload bills
| Workload | Input / output | 100K requests | Evidence boundary |
|---|---|---|---|
| Short | 1,000 / 500 | $1050.00 | Text tokens |
| 200K-context-shaped | 200,000 / 2,000 | $63000.00 | Context fit, not a discount claim |
| Output-heavy | 8,000 / 4,000 | $8400.00 | Output sensitivity |
Formula: requests × (input tokens × input $/M + output tokens × output $/M × output expansion) ÷ 1,000,000. Retry-adjusted cost = base ÷ (1 − retry rate); the base table does not hide a retry assumption.
2. Sonnet 4 → 4.6 price-parity crossover
| Fixed shape | Claude Sonnet 4 | Claude Sonnet 4.6 | Numeric decision boundary |
|---|---|---|---|
| Short · 1,000 / 500 | $1141.30 | $1105.26 | 0% accepted-result uplift required after fixed retry assumptions (8% → 5%) |
| 200K-context-shaped · 200,000 / 2,000 | $68478.26 | $66315.79 | 0% accepted-result uplift required after fixed retry assumptions (8% → 5%) |
This is a cost-per-accepted-result threshold, not a measured quality claim. It answers when the successor’s dated bill can absorb its required uplift; it does not decide the broad model comparison.
3. Lifecycle and migration evidence ledger
| Traffic / evidence | Result | Safe treatment |
|---|---|---|
| 100K requests | $1141.30 | Fixed first workload; text-token units |
| 1M requests | $10500.00 | Linear token spend only; no volume discount inferred |
| 10M requests | $105000.00 | Budget exposure; quota and latency remain unavailable |
| 200K context fit: sourced model-spec evidence; extra context tier price: Unavailable | Unavailable | Do not infer, zero-price, or import a neighboring model’s mechanic |
| Cache write/read and batch: Unavailable in this price record | Unavailable | Do not infer, zero-price, or import a neighboring model’s mechanic |
| Shutdown date: Unavailable | Unavailable | Do not infer, zero-price, or import a neighboring model’s mechanic |
| Test coverage: User-supplied retest required | Unavailable | Do not infer, zero-price, or import a neighboring model’s mechanic |
| Lifecycle | legacy; no sourced announcement date | No sourced shutdown date; revalidate before current claims |
Price verified 2026-04-06; lifecycle verified 2026-08-14. Luna is the data owner. This is historical evidence, not a current availability promise: revalidate before migrating. “Unavailable” means no compatible dated evidence was found; it is never treated as zero. First-party price source · lifecycle source · Test this model in All AI Ask.
Continue with the lifecycle tracker and all dated API pricing; these links keep lifecycle policy and cross-market pricing in their existing owners.
All three Batch 6 contributions are server-rendered for Claude Sonnet 4; fixed inputs, formulas, dated provenance, successor boundary, lifecycle state, and missing-data treatment remain visible.
claude-sonnet-4Claude Sonnet 4 API Pricing: Proven Coding Intelligence and Nuance
Claude Sonnet 4 costs $3.00 per million input tokens and $15.00 per million output tokens ($6.00/M blended at 3:1). An established coding and reasoning powerhouse, setting high industry standards for multi-file repo navigation and agentic workflows. Verified 2026-09-08.
Claude Sonnet 4 offers high coding intelligence and nuanced instruction following at $6.00/M blended.
| Scenario | Rendered Evidence & Bounds |
|---|---|
| Scenario 1 | Complex code refactoring prompt (16K in, 3K out): $0.09300 per execution |
| Scenario 2 | Multi-turn bug fixing agent session (32K in, 4K out): $0.15600 per debugging session |
| Scenario 3 | Automated unit test generation across 5 files (12K in, 3.5K out): $0.08850 per run |
| Scenario 4 | Software architectural review (24K in, 2.5K out): $0.10950 per review pass |
| Scenario 5 | Technical specification drafting (8K in, 2K out): $0.05400 per feature document |
| Scenario 6 | Monthly software engineering team budget (50M blended tokens): $300.00 infrastructure spend |
Prompt caching significantly lowers the cost of maintaining deep repository context in IDE tools.
| Scenario | Rendered Evidence & Bounds |
|---|---|
| Scenario 1 | Repository codebase context cache (60K prefix, 4K delta): 81% input cost reduction |
| Scenario 2 | Shared developer system prompt (8K prefix): $0.00240 vs $0.02400 per query |
| Scenario 3 | Interactive IDE developer session (10 turns cached): 78% cumulative input cost reduction |
| Scenario 4 | API reference schema cache amortized across multiple developer turns within TTL |
| Scenario 5 | Cache write fee ($3.75/M) amortized after only 1.25 repeat queries within 5 minutes |
| Scenario 6 | Net operational cost reduction of 64% on high-frequency developer copilot tools |
Upgrading from Sonnet 4 to 4.6 provides 1M context and improved accuracy at identical token pricing.
| Scenario | Rendered Evidence & Bounds |
|---|---|
| Scenario 1 | Identical pricing ($3.00/M in, $15.00/M out): zero pricing penalty for upgrading to Sonnet 4.6 |
| Scenario 2 | Sonnet 4.6 expands context window from 200K to 1M tokens with superior multi-turn stability |
| Scenario 3 | SWE-bench verified scores improve by 5.1 points on Sonnet 4.6 with lower retry overhead |
| Scenario 4 | Drop-in API compatibility: seamless migration with zero code changes required |
| Scenario 5 | Test suite verification across 100 enterprise developer prompts passed with zero regressions |
| Scenario 6 | Recommended action: safe immediate upgrade to Sonnet 4.6 for larger context and higher precision |
How fast is Claude Sonnet 4?
How much does Claude Sonnet 4 cost at scale?
| Tokens / month | Est. cost (blended 3:1) |
|---|---|
| 100,000 | $0.60 |
| 1,000,000 | $6.00 |
| 10,000,000 | $60.00 |
| 100,000,000 | $600.00 |
How does Claude Sonnet 4 compare with other models?
What is Claude Sonnet 4 best for?
What should you explore next for Claude Sonnet 4?
Which Claude Sonnet 4 head-to-head comparisons are available?
What are common questions about Claude Sonnet 4?
Is Claude Sonnet 4 cheaper than Claude Sonnet 4.6?
Claude Sonnet 4 costs $6.00/M blended tokens, Claude Sonnet 4.6 costs $6.00/M — Claude Sonnet 4.6 is cheaper.
How much does 1 million tokens cost with Claude Sonnet 4?
At a 3:1 input:output ratio, 1 million blended tokens costs approximately $6.00. Pure input costs $3.00/M; pure output costs $15.00/M.
What does Claude Sonnet 4 cost at high volume?
At 100 million blended tokens a month, Claude Sonnet 4 costs approximately $600.00. See the cost-at-scale table below for other volumes.
