Free · private · no sign-up

AI token & API cost calculator

Paste a prompt to count its tokens, then see exactly what it costs on 14 models from 5 providers — per request, per day and per month.

Prices last updated:

0 characters 0 words 0 tokens o200k_base

Filled from your text, or type a number.

Used for the daily and monthly estimate (30-day month).

Advanced options

Leave blank to estimate output as half the input. Output is usually the bigger cost — set it if you know your response length.

Converted at approximate reference rates (2026-09-25). Providers bill in USD.

Cost on GPT-5.6 Terra

$0.008

per request

Input (1,000 tokens)
$0.002
Output (500 tokens)
$0.006
Per day
$8.00
Per month
$240.00

Token count uses this model’s tokenizer (o200k_base).

Compare every model

Updates live with your inputs. The selected model is highlighted. Click a model for its full price page, or see head-to-head comparisons.

Cost for 1,000 input + 500 output tokens per request, 1,000 requests/day, 30-day month. Sorted cheapest first.
Model Provider Input / 1M Output / 1M Context Per request Per month
DeepSeek V4 Flash DeepSeek $0.14 $0.28 1M $0.00028 $8.40
GPT-5.6 Luna OpenAI $0.20 $1.20 1.05M $0.0008 $24.00
DeepSeek V4 Pro DeepSeek $0.435 $0.87 1M $0.00087 $26.10
Gemini 3.8 Flash Google $0.75 $3.75 1.05M $0.002625 $78.75
Claude Haiku 4.5 Anthropic $1.00 $5.00 200K $0.0035 $105.00
Grok 4.7 xAI $2.00 $6.00 500K $0.005 $150.00
Claude Sonnet 5 Anthropic $2.00 $10.00 1M $0.007 $210.00
GPT-5.6 Terra OpenAI $2.00 $12.00 1.05M $0.008 $240.00
Gemini 3.1 Pro Google $2.00 $12.00 1.05M $0.008 $240.00
Claude Opus 5.5 Anthropic $4.00 $20.00 1M $0.014 $420.00
Claude Opus 5 Anthropic $5.00 $25.00 1M $0.0175 $525.00
GPT-5.6 Sol OpenAI $5.00 $30.00 1.05M $0.02 $600.00
GPT-6 Astra OpenAI $10.00 $50.00 1.05M $0.035 $1,050.00
Claude Fable 5.1 Anthropic $10.00 $50.00 1M $0.035 $1,050.00

Budget planner

Enter a monthly budget to see how many requests it buys on each model, using the request size from the calculator above.

Request size: 1,000 input + 500 output tokens.

Cheapest model that fits

DeepSeek V4 Flash

$8.40/month for 30,000 requests

Requests per month your budget buys, most first. “Fits” means it covers the requests you need.
Model Requests / month Requests / day Tokens / month Fits need?
DeepSeek V4 Flash 357,142 11,904 535,713,000 Yes
GPT-5.6 Luna 125,000 4,166 187,500,000 Yes
DeepSeek V4 Pro 114,942 3,831 172,413,000 Yes
Gemini 3.8 Flash 38,095 1,269 57,142,500 Yes
Claude Haiku 4.5 28,571 952 42,856,500 No
Grok 4.7 20,000 666 30,000,000 No
Claude Sonnet 5 14,285 476 21,427,500 No
GPT-5.6 Terra 12,500 416 18,750,000 No
Gemini 3.1 Pro 12,500 416 18,750,000 No
Claude Opus 5.5 7,142 238 10,713,000 No
Claude Opus 5 5,714 190 8,571,000 No
GPT-5.6 Sol 5,000 166 7,500,000 No
GPT-6 Astra 2,857 95 4,285,500 No
Claude Fable 5.1 2,857 95 4,285,500 No

Understand what you’re paying for

How this calculator works

Token counts for OpenAI models use the o200k_base tokenizer, loaded into your browser only when you start typing. Other providers don’t publish a browser tokenizer for their current models, so we estimate their counts from the same text with a per-provider adjustment and label them as estimates. Read what a token is for why counts differ.

Costs use each provider’s standard list price per million tokens from our public pricing file. Cached-input discounts, priority tiers and long-context surcharges aren’t applied — see each model page for those notes.