Claude API Cost Calculator
Pick a real task — write an article, build a game, a month of coding — then switch between Claude and GPT models to compare official provider rates with your price at a flat 50% off. No sign-up, no card.
Full-time development with an AI coding agent — all day, every day, ~22 workdays.
for a month of coding on Claude Fable 5.1 · official Anthropic price minus your 50% discount
Same Anthropic Messages API, models and responses. You just pay less per call.
Every Claude model for this task
Official Anthropic price vs your apiToken.sale price at −50%, for a month of coding.
| Model | Input / 1M | Output / 1M | Official | Your price | You save |
|---|---|---|---|---|---|
Claude Fable 5.1claude-fable-5-1 | $10 | $50 | $212.50 | $106.25 | $106.25 |
Claude Opus 5claude-opus-5 | $5 | $25 | $136.25 | $68.13 | $68.13 |
Claude Fable 5claude-fable-5 | $10 | $50 | $272.50 | $136.25 | $136.25 |
Claude Opus 4.8claude-opus-4-8 | $5 | $25 | $136.25 | $68.13 | $68.13 |
Claude Opus 4.7claude-opus-4-7 | $5 | $25 | $136.25 | $68.13 | $68.13 |
Claude Sonnet 5claude-sonnet-5 | $2 | $10 | $54.50 | $27.25 | $27.25 |
Claude Sonnet 4.6claude-sonnet-4-6 | $3 | $15 | $81.75 | $40.88 | $40.88 |
Claude Haiku 4.5Cheapestclaude-haiku-4-5 | $1 | $5 | $27.25 | $13.63 | $13.63 |
Each task uses a realistic total number of tokens to finish the whole job — expand “Adjust the tokens yourself” to tune it. Cache reads use 0.1× input except Claude Fable 5.1 at 0.025×; 5-minute cache writes use 1.25× input. Estimates only — your real bill depends on exact token usage.
Price a whole task, not a token
The calculator uses the pinned official Anthropic and OpenAI rate catalogs. Nothing is sent anywhere — it all runs in your browser.
Pick a real task
Choose a whole job — write an article, build a game, analyze 500 memecoins, a month of coding — not a single request.
See the token budget
Each task carries a realistic total of input and output tokens to finish it end to end. Adjust them yourself if you like.
Compare the price
Switch between Claude and GPT to see the official cost next to your apiToken.sale cost, with the cheapest model highlighted.