Cost optimization
Batch API Pricing: OpenAI, Claude & Gemini Costs
Compare standard and Batch API costs with a calculator using official model prices. Understand turnaround time, caching, retries, and budget assumptions.
Read articleAnthropic bills the Claude API per token, with separate prices for input, output, prompt caching, and the Batch API. The table lists current generally available models from the official pricing page.
| Model | Input | 5m cache writes | 1h cache writes | Cache hits | Output | Batch input | Batch output |
|---|---|---|---|---|---|---|---|
| Claude Fable 5.1 | $10 | $12.50 | $20 | $0.25 | $50 | $5 | $25 |
| Claude Fable 5 | $10 | $12.50 | $20 | $1 | $50 | $5 | $25 |
| Claude Opus 5.5 | $4 | $5 | $8 | $0.20 | $20 | $2 | $10 |
| Claude Opus 5 | $5 | $6.25 | $10 | $0.50 | $25 | $2.50 | $12.50 |
| Claude Opus 4.8 | $5 | $6.25 | $10 | $0.50 | $25 | $2.50 | $12.50 |
| Claude Opus 4.7 | $5 | $6.25 | $10 | $0.50 | $25 | $2.50 | $12.50 |
| Claude Opus 4.6 | $5 | $6.25 | $10 | $0.50 | $25 | $2.50 | $12.50 |
| Claude Opus 4.5 | $5 | $6.25 | $10 | $0.50 | $25 | $2.50 | $12.50 |
| Claude Sonnet 5.5 | $2 | $2.50 | $4 | $0.10 | $10 | $1 | $5 |
| Claude Sonnet 5 | $2 | $2.50 | $4 | $0.20 | $10 | $1 | $5 |
| Claude Sonnet 4.6 | $3 | $3.75 | $6 | $0.30 | $15 | $1.50 | $7.50 |
| Claude Sonnet 4.5 | $3 | $3.75 | $6 | $0.30 | $15 | $1.50 | $7.50 |
| Claude Haiku 5.5 · Input ≤100K | $0.10 | $0.125 | $0.20 | $0.01 | $0.50 | $0.05 | $0.25 |
| Claude Haiku 5.5 · Input >100K | $0.50 | $0.625 | $1 | $0.05 | $2.50 | $0.25 | $1.25 |
| Claude Haiku 4.5 | $1 | $1.25 | $2 | $0.10 | $5 | $0.50 | $2.50 |
Uses official list prices for input and output tokens only. Cache, long context, tools, regional uplifts, taxes, and discounts are excluded.
Quota Monitor reads Claude API costs and spend limits through a Claude Console Admin API key. It does not read prepaid credit balances.
Read the Claude API monitoring guideCost optimization
Compare standard and Batch API costs with a calculator using official model prices. Understand turnaround time, caching, retries, and budget assumptions.
Read articleCost optimization
Calculate cache reads, writes, and break-even reuse. A worked Claude example and a checklist for comparing prompt caching costs across providers.
Read articleUsage and billing
Separate Claude Code subscription limits, API charges, and local ccusage estimates. Learn what to measure and how to reconcile a real bill.
Read articleModel comparison
Compare Haiku 5.5 and Sonnet 5.5 token costs for short prompts, long prompts, output-heavy tasks, and cache reuse using shared pricing data.
Read article