Anthropic Claude 3.5 Haiku vs Anthropic Claude 3.7 Sonnet — API Pricing, 150K Cache & Latency Benchmark
Side-by-side unit economics audit comparing Anthropic Claude 3.5 Haiku (anthropic/claude-3.5-haiku: Input $0.8/1M, Output $4/1M, Warm Cache Read $0.08/1M) against Anthropic Claude 3.7 Sonnet (anthropic/claude-3-7-sonnet: Input $3/1M, Output $15/1M, Warm Cache Read $0.3/1M).
Compare the listed input rate of $0.8/1M with the warm cache read rate of $0.08/1M. Batch and cache eligibility depend on the specific channel.
Compare the listed input rate of $3/1M with the warm cache read rate of $0.3/1M. A cache hit and any credit award depend on the provider’s terms.
At the listed rates, the 10-turn scenario costs $0.3380 for Anthropic Claude 3.5 Haiku and $1.2675 for Anthropic Claude 3.7 Sonnet. It assumes one cache write, nine warm reads of a 150,000-token prefix and 2,000 output tokens per turn. The difference is $0.9295; actual cache hits and fees may differ.
| Specification / FinOps Dimension | Anthropic Claude 3.5 Haiku (anthropic/claude-3.5-haiku) | Anthropic Claude 3.7 Sonnet (anthropic/claude-3-7-sonnet) | Verified Advantage |
|---|---|---|---|
| Official Vendor API ID | anthropic/claude-3.5-haiku | anthropic/claude-3-7-sonnet | UMCE 563-Registry Locked |
| 563-Registry & Routing Eligibility | is_known: true | routable: false | is_known: true | routable: false | See registry status for each entry |
| Standard Uncached Input (/1M tokens) | $0.8 / 1M | $3 / 1M | Anthropic Claude 3.5 Haiku |
| Warm Prefix Cache Read (/1M tokens) | $0.08 / 1M | $0.3 / 1M | Anthropic Claude 3.5 Haiku |
| Standard Output (/1M tokens) | $4 / 1M | $15 / 1M | Anthropic Claude 3.5 Haiku |
| Context Window Capacity | 200K Tokens | 200K Tokens | Anthropic Claude 3.5 Haiku |
| 150K Prompt × 10 Turns (Unpinned Cold + 2K Out) | $1.2800 | $4.8000 | Anthropic Claude 3.5 Haiku |
| 150K × 10 Turns Case A (100% Static Pinned) | $0.3380 (saves $0.9420) | $1.2675 (saves $3.5325) | Anthropic Claude 3.5 Haiku (-$0.9295) |
| 150K × 10 Turns Case B (90% Static + 10% Tail) | $0.4352 (saves $0.8448) | $1.6320 (saves $3.1680) | Anthropic Claude 3.5 Haiku |
| Illustrative P50 / P90 first-token latency | 167ms / 245ms (92 tok/s) | 394ms / 580ms (78 tok/s) | Anthropic Claude 3.5 Haiku (-335ms) |
1. Full-Turn Rate-Card Substitution for Anthropic Claude 3.5 Haiku: At an uncached input rate of $0.8/1M, output rate of $4/1M, and warm cache read rate of $0.08/1M, running 10 consecutive 150,000-token coding agent turns (with 2,000 output tokens/turn) without prefix pinning costs $1.2800. Locking 100% static prefixes (Case A: 1 cold turn + 9 warm cached turns + 20K total output) reduces 10-turn spend to $0.3380 (saving $0.9420); under a 90% static prefix + 10% dynamic tail workload (Case B), 10-turn spend is $0.4352.
2. Full-Turn Rate-Card Substitution for Anthropic Claude 3.7 Sonnet & Winner Verdict: On Anthropic Claude 3.7 Sonnet ($3/1M input, $15/1M output, $0.3/1M warm cache), 10 unpinned 150K turns cost $4.8000, dropping to $1.2675 in Case A and $1.6320 in Case B. Across every 10-turn 150K coding loop (including output tokens), Anthropic Claude 3.5 Haiku delivers an additional $0.9295 Case-A cost advantage.
50M tokens per month, plus $25 in assumed infrastructure costs
The estimated difference is $158.40/month ($1901/year) at a 50% input cache hit rate. No taxes, account discounts or separate egress fees are included.