Free tool

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.

Flat −50% off official prices on every request — see how billing works
You pay for a month of coding
$106.25
$212.5050%

for a month of coding on Claude Fable 5.1 · official Anthropic price minus your 50% discount

You save$106.25≈ ×2 more work per $
Start free — $5 platform bonus

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.

ModelInput / 1MOutput / 1MOfficialYour priceYou save
Claude Fable 5.1
claude-fable-5-1
$10$50$212.50$106.25$106.25
Claude Opus 5
claude-opus-5
$5$25$136.25$68.13$68.13
Claude Fable 5
claude-fable-5
$10$50$272.50$136.25$136.25
Claude Opus 4.8
claude-opus-4-8
$5$25$136.25$68.13$68.13
Claude Opus 4.7
claude-opus-4-7
$5$25$136.25$68.13$68.13
Claude Sonnet 5
claude-sonnet-5
$2$10$54.50$27.25$27.25
Claude Sonnet 4.6
claude-sonnet-4-6
$3$15$81.75$40.88$40.88
Claude Haiku 4.5Cheapest
claude-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.

How it works

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.

01

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.

02

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.

03

Compare the price

Switch between Claude and GPT to see the official cost next to your apiToken.sale cost, with the cheapest model highlighted.

FAQ

Claude API pricing, explained

How much does the Claude API cost?+
Anthropic bills per token. As of 2026, list rates per 1M tokens are: Claude Fable 5.1 and Fable 5 — $10 input / $50 output (Fable 5.1 cache reads are $0.25); Claude Opus 5, 4.8 and 4.7 — $5 / $25; Claude Sonnet 5 — $2 / $10; Claude Sonnet 4.6 — $3 / $15; Claude Haiku 4.5 — $1 / $5. Enter your token counts above to get an exact estimate for each model.
How is API pricing calculated?+
Cost = (input tokens ÷ 1,000,000 × input rate) + (output tokens ÷ 1,000,000 × output rate), plus provider-specific cache charges. Use the switch to apply the correct Anthropic or OpenAI rates across every supported model.
How can I make the Claude API cheaper?+
apiToken.sale serves the exact same Anthropic Messages API on one key and one balance, billed at a flat 50% below official prices on every request. Point any Anthropic-compatible tool (Claude Code, Cursor, Cline, the SDK) at our endpoint — same models, same responses, half the price per call.
What is a token?+
A token is roughly ¾ of a word in English — about 4 characters. 1,000 tokens is ~750 words. Both the text you send (input) and the text the model generates (output) are counted, and output tokens are billed at a higher rate than input.
Are these prices exact?+
The rates come from the pinned official Anthropic and OpenAI price catalogs, and the discounted column is your real apiToken.sale price. Your actual bill still depends on the exact token buckets and context size of each request, so treat whole-task totals as close estimates.