Free tool

Claude API Cost Calculator

Pick a real task — write an article, build a game, a month of coding — and see what it costs to finish on any Claude model at official Anthropic rates, next to your price at up to 80% off. No sign-up, no card.

Full-time development with Claude Code — all day, every day, ~22 workdays.

You’re on Starter — −60%, free. See how bigger discounts unlock
You pay for a month of coding
$54.50
$136.2560%

for a month of coding on Claude Opus 4.8 · official Anthropic price minus your 60% discount

You save$81.75≈ ×2.5 more work per $
Start free — $10 at official prices

Same Anthropic Messages API, same models, same responses. You just pay less per call.

Every Claude model for this task

Official Anthropic price vs your apiToken.sale price at −60%, for a month of coding.

ModelInput / 1MOutput / 1MOfficialYour priceYou save
Claude Opus 4.8
claude-opus-4-8
$5$25$136.25$54.50$81.75
Claude Opus 4.7
claude-opus-4-7
$5$25$136.25$54.50$81.75
Claude Sonnet 5intro rate
claude-sonnet-5
$2$10$54.50$21.80$32.70
Claude Sonnet 4.6
claude-sonnet-4-6
$3$15$81.75$32.70$49.05
Claude Haiku 4.5Cheapest
claude-haiku-4-5
$1$5$27.25$10.90$16.35

Each task uses a realistic total number of tokens to finish the whole job — expand “Adjust the tokens yourself” to tune it. Claude Sonnet 5 shows its introductory official rate ($2 / $10 per 1M) in effect through 2026-08-31; it returns to $3 / $15 on 2026-09-01. Cache read is billed at 0.1× the input rate and 5-minute cache writes at 1.25×, per Anthropic’s standard pricing. Estimates only — your real bill depends on exact token usage.

How it works

Price a whole task, not a token

The calculator uses Anthropic’s official published list rates. 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

See the official cost to finish that task next to your apiToken.sale cost for all five Claude models, cheapest 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 Opus 4.8 and 4.7 — $5 input / $25 output; Claude Sonnet 5 — $2 / $10 (introductory, through 2026-08-31); 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 Claude API pricing calculated?+
Cost = (input tokens ÷ 1,000,000 × input rate) + (output tokens ÷ 1,000,000 × output rate). Prompt caching adds a cache-read charge at 0.1× the input rate and a 5-minute cache-write charge at 1.25× the input rate. The calculator does all of this for you across every 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 up to 80% below official prices. Point any Anthropic-compatible tool (Claude Code, Cursor, Cline, the SDK) at our endpoint — same models, same responses, lower price per call. New accounts start 60% below official rates for free.
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 Claude generates (output) are counted, and output tokens are billed at a higher rate than input.
Are these prices exact?+
The rates are Anthropic's official published list prices, and the discounted column is your real apiToken.sale price. Your actual bill still depends on the exact number of tokens each request uses, so treat the totals as close estimates.