Anthropic · Pricing & cost calculator
Anthropic's balanced workhorse. Most Claude Code sessions run here.
Input tokens
$0.00300
per 1,000 tokens
Output tokens
$0.01500
per 1,000 tokens
Context window
200,000
tokens max
Prices sourced from Anthropic's public API rate card. Last reviewed April 2026.
Drag the sliders. The math runs in your browser.
Per request
$0.012000
at 1,500/500 tokens
Monthly spend
$120
10,000 requests × $0.012000
Could save ~73% with a similar-quality alternative
Same workload at 1,500/500 tokens × 10,000 req/month: $120 → $32. ~4× cheaper, still strong.
TrackCost's gateway auto-detects which requests are safe to route to the cheaper model and flags the ones that need Claude Sonnet 4's full capability. You stay in control — we surface the opportunity.
Claude Sonnet 4 costs $0.00300 per 1,000 input tokens and $0.01500 per 1,000 output tokens as of the current Anthropic API pricing.
Claude 3.5 Haiku is significantly cheaper than Claude Sonnet 4 (~4× cheaper, still strong) and often works fine for tasks that don't need Claude Sonnet 4's full capability. TrackCost automatically suggests model downgrades where safe.
The three highest-leverage ways: (1) route requests to a cheaper model where possible, (2) cache identical requests so you don't pay twice for the same response, (3) set hard monthly budgets that block requests when exceeded. TrackCost automates all three at the gateway layer.
Claude Sonnet 4 supports up to 200,000 tokens of context. For comparison with other models, use the TrackCost savings calculator.