aitokencost.appWhat one AI call costs, part by part

AI token cost: how a bill adds up, measured on 16 models

AI token cost is what an API call's tokens add up to: the tokens you send at the model's input price, plus the tokens it writes, hidden reasoning included, at its output price, both per million. Across 16 models read December 2, 2026, input runs $0.10 to $8 per million and output $0.50 to $40. Cached input and batch jobs cost less.

How much does AI token cost a month?

Four numbers decide it: tokens in and out per call, calls a day, and the share of input read from cache. Monthly cost = calls a day × 30 × (fresh input × input price + cached input × cached price + output × output price) ÷ 1,000,000. Three call shapes, worked on all 16 models at the prices below:

ModelChat app2,000 in · 300 out · 1,000 calls a day · no cacheRAG app8,000 in · 500 out · 5,000 calls a day · 75% cachedCoding agent50,000 in · 2,000 out · 2,000 calls a day · 90% cached
GPT-6.2 Astra$840$5,760$8,280
Claude Fable 5.2$840$5,580$7,740
Claude Opus 5.5, Gemini 4 Carbon$420$2,880$4,140
Gemini 4 Neon$315$2,160$3,105
grok-4.7$174$1,500$2,670
GPT-6.2 Sol, Claude Sonnet 5.5$210$1,440$2,070
Gemini 4 Hydrogen$157.50$1,080$1,552.50
grok-4.3$97.50$742.50$1,215
GPT-6.1 Terra$105$720$1,035
DeepSeek V4 Pro, peak$114.84$732.60$990
Gemini 3.5 Flash-Lite$40.50$304.50$471
DeepSeek V4.1 Flash, peak$28.80$185.40$250.20
GPT-6 Luna, Claude Haiku 5.5$10.50$76.50$117

A 30-day month at list prices, with cache writes left out and DeepSeek at peak hours. The same words make more tokens on some models, so count your own first (tokens per 100 words).

What are the parts of an AI token bill?

Five parts, each priced per million tokens. How each bills, with GPT-6.2 Sol's rates:

PartWhat countsHow it billsGPT-6.2 Sol, per 1M
InputEverything you send: instructions, prompt, files, earlier turnsThe input price$2.00
OutputAll the model writesThe output price, 2 to 8.3 times input$10.00
Cached inputA repeated prompt prefix read from cache5% of input on GPT-6.2; 2.5% on Claude Fable 5.2$0.10
ReasoningHidden thinking before answeringAs output at OpenAI, Anthropic and Google (input vs output tokens)$10.00
BatchA job that may take up to 24 hoursHalf price at OpenAI, Anthropic and Google; 20% off at xAI (batch API)$1.00 in, $5.00 out

How many tokens is the same text on each model?

It depends on the maker's tokenizer, and you pay for the difference. The Tokens per 100 words dataset sent the same three texts to 16 models on December 2, 2026:

ModelsEnglish prose, per 100 wordsPython, per 100 wordsSpanish prose, per 100 wordsFixed tokens per request
GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra, GPT-6 Luna111.8272.2123.76
grok-4.3111.1272.9124.4192
grok-4.7111.8304.6129.01,215
DeepSeek V4.1 Flash, DeepSeek V4 Pro112.1289.1149.530; V4 Pro 83
Gemini 4 Carbon, Gemini 4 Neon, Gemini 4 Hydrogen112.5325.4124.431 to 34
Gemini 3.5 Flash-Lite112.5329.9124.70
Claude Fable 5.2, Claude Opus 5.5, Claude Sonnet 5.5, Claude Haiku 5.5164.7440.8234.88

One run per text: 289, 284 and 279 words. Fixed tokens are billed on any message, measured with a 1-character one. Models in one row gave the same text counts. Shaded: fewest. Download the counts (CSV).

  • Claude 5.x makes the most tokens: 47% more than GPT-6.x for the same English, 62% more for Python and 90% more for Spanish. Anthropic says its tokenizer since Claude 4.7 makes about 30% more tokens than its older one.
  • Code costs more than prose: 2.4 to 2.9 times the tokens per word, on every maker.
  • grok-4.7 adds 1,215 tokens to every request, more than the whole 289-word English text (323). At its $2 input price that is $0.0024 a call.

How does a real AI bill add up?

Three bills, line by line, at list prices read December 2, 2026. The first two call shapes are assumptions; the third is a real session.

1. A chat reply

Assumed: 400 words in, a 250-word reply out, English, no reasoning, nothing cached. Input tokens are words times the model's English rate above, plus its fixed tokens.

ModelInput tokensOutput tokensTokens × price per 1MOne reply10,000 replies
GPT-6.2 Sol447 + 6 = 453279453 × $2 + 279 × $10$0.0037$36.96
Claude Sonnet 5.5659 + 8 = 667412667 × $2 + 412 × $10$0.0055$54.54
Gemini 4 Carbon450 + 31 = 481281481 × $4 + 281 × $20$0.0075$75.44
grok-4.7447 + 1,215 = 1,6622791,662 × $2 + 279 × $6$0.0050$49.98
DeepSeek V4.1 Flash, peak448 + 30 = 478280478 × $0.30 + 280 × $1.20$0.00048$4.79

GPT-6.2 Sol and Claude Sonnet 5.5 have the same prices, yet the Sonnet reply costs 48% more, because the same words make more tokens.

2. A RAG call with 80% cache hits

Assumed: 2,400 words in (instructions, retrieved text and a question), a 200-word answer out, and 80% of the input read from a cache the first call wrote.

ModelInput: fresh + cachedOutput tokensTokens × price per 1MOne callNo cache
GPT-6.2 Sol538 + 2,150224538 × $2 + 2,150 × $0.10 + 224 × $10$0.0035$0.0076
Claude Sonnet 5.5792 + 3,169329792 × $2 + 3,169 × $0.10 + 329 × $10$0.0052$0.0112
Gemini 4 Carbon546 + 2,184225546 × $4 + 2,184 × $0.20 + 225 × $20$0.0071$0.0154
grok-4.7779 + 3,118224779 × $2 + 3,118 × $0.50 + 224 × $6$0.0045$0.0091
DeepSeek V4.1 Flash, peak544 + 2,177224544 × $0.30 + 2,177 × $0.006 + 224 × $1.20$0.00045$0.0011

Caching cuts these calls by 51% to 59%. The first call pays to write the cache, $2.50 per million on GPT-6.2 Sol (30 minutes) and Claude Sonnet 5.5 (5 minutes), so it costs more than no cache: $0.0087 on Sol, $0.0128 on Sonnet. Gemini 4 caches on its own (implicit caching only), so you can't set its hit rate.

3. A 30-minute coding-agent session

Not assumed: a real Claude Code session on Claude Opus 5.5, 07:10 to 07:39 UTC on December 2, 2026, priced from the token counts in its transcript. It made 52 model calls, and the prompt grew from 43,089 to 250,445 tokens.

LineTokensPer 1MCost
Fresh input104$4.00$0.0004
Cache writes, 5 minutes235,585$5.00$1.18
Cache reads8,766,328$0.20$1.75
Output, thinking included56,021$20.00$1.12
Session9,058,038$4.05

Without caching, the 9,002,017 input tokens at $4 would bring the session to $37.13: caching cut the bill by 89%. On Claude Sonnet 5.5, at half every rate, it costs $2.03. On a Claude plan, usage counts against plan limits instead.

What does a million tokens cost on each model?

From each maker's own pricing page, read December 2, 2026. The AI token prices dataset adds 18 of OpenRouter's 30 most-used models at its prices, 34 models in all: download it (CSV), or see OpenRouter's top 10.

ModelInput per 1MOutput per 1MCached input per 1MBatch in / outOne call (10K in, 1K out)
OpenAI
GPT-6.2 Astra$8.00$40.00$0.40$4.00 / $20.00$0.12
GPT-6.2 Sol$2.00$10.00$0.10$1.00 / $5.00$0.03
GPT-6.1 Terra$1.00$5.00$0.05$0.50 / $2.50$0.015
GPT-6 Luna$0.10$0.50$0.01$0.05 / $0.25$0.0015
Anthropic
Claude Fable 5.2$8.00$40.00$0.20$4.00 / $20.00$0.12
Claude Opus 5.5$4.00$20.00$0.20$2.00 / $10.00$0.06
Claude Sonnet 5.5$2.00$10.00$0.10$1.00 / $5.00$0.03
Claude Haiku 5.5 (prompts up to 100K)$0.10$0.50$0.01$0.05 / $0.25$0.0015
Google
Gemini 4 Carbon$4.00$20.00$0.20$2.00 / $10.00$0.06
Gemini 4 Neon$3.00$15.00$0.15$1.50 / $7.50$0.045
Gemini 4 Hydrogen$1.50$7.50$0.075$0.75 / $3.75$0.0225
Gemini 3.5 Flash-Lite$0.30$2.50$0.03$0.15 / $1.25$0.0055
xAI
grok-4.7$2.00$6.00$0.50$1.60 / $4.80$0.026
grok-4.3$1.25$2.50$0.20$1.00 / $2.00$0.015
DeepSeek (peak hours)
DeepSeek V4.1 Flash$0.30$1.20$0.006No batch API$0.0042
DeepSeek V4 Pro$1.32$3.96$0.044No batch API$0.0172

Standard tier, US dollars, below each maker's long-prompt line. Batch is each maker's listed batch price, or xAI's 20% off. Shaded: lowest in its column.

How does AI token pricing differ by maker?

Cards run from the cheapest input price up.

Anthropic (Claude)

Best for: long prompts reused often

$0.10 / $0.50 (Haiku 5.5) to $8 / $40 (Fable 5.2) per million.

Good

  • Cache hits cost 2.5% of input on Fable 5.2 ($0.20)

Watch out

  • 47% more tokens than GPT for the same English (Tokens per 100 words)
  • Haiku 5.5 prompts over 100,000 tokens pay $0.50 / $2.50
Anthropic pricing

OpenAI (GPT)

Best for: choosing a speed tier

$0.10 / $0.50 (GPT-6 Luna) to $8 / $40 (GPT-6.2 Astra) per million.

Good

  • Background mode 30% or 40% off, for hours-long jobs

Watch out

  • Over 272K input tokens, a request pays 2x input, 1.5x output
  • Cache writes are billed: $10 per million on GPT-6.2 Astra
OpenAI pricing

DeepSeek

Best for: jobs that can wait for off-peak hours

DeepSeek V4.1 Flash $0.30 / $1.20 at peak, $0.15 / $0.60 off-peak.

Good

  • Off-peak hours, weekends included, are half price

Watch out

  • Weekday peak hours (01:00–04:00, 06:00–10:00 UTC) cost double
  • DeepSeek V4 Pro ($1.32 / $3.96) has no vision input
DeepSeek pricing

Google (Gemini)

Best for: testing on a free tier first

$0.30 / $2.50 (3.5 Flash-Lite) to $4 / $20 (4 Carbon) per million.

Good

  • Free tier on Gemini 4 Hydrogen and 3.5 Flash-Lite

Watch out

  • Google lists free-tier content as used to improve its products
  • Flash-Lite output is 8.3x its input, the widest gap
  • Batch cache hits: the batch guide says standard caching rates, the price page half (Gemini Batch API)
Gemini API pricing

xAI (Grok)

Best for: output-heavy work

grok-4.3 $1.25 / $2.50; grok-4.7 $2 / $6 per million.

Good

  • Output only 2x to 3x input, the narrowest gaps

Watch out

  • Prompts of 200K tokens or more pay double
  • Batch takes 20% off, not 50%
xAI pricing

How do I see what my app's tokens actually cost?

For per-call cost tracking, Griffin is the pick: one line in your app puts each call under its use case with its model and price, and watching, daily email included, costs $0. The others add up each response's usage fields in their own ways, most only for calls sent through them.

OptionWhat it showsPrice (read December 1–2, 2026)Watch out
GriffinEach call under its use case, with model and price; a daily emailWatch $0; Test $10 of replays free, then $20 packs; Route 5% of routed spend after the first $50Routing needs Test first: a model takes a use case only after its replays pass. TypeScript SDK; other languages via its OpenAI-compatible endpoint
OpenAI usageTokens by type, plus a dashboardIncludedOpenAI calls only
Anthropic Usage and Cost Analytics APITokens and cost in USD by model, workspace, API key or userIncludedBeta; needs an Admin API key or an org:admin OAuth token, so not on a single Console account
OpenRouter usage accountingTokens and cost in every responseNo markup; 5.5% fee on creditsOnly calls sent through OpenRouter
Cloudflare AI GatewayRequests, tokens, cost, cache hits and errorsAnalytics free on all plansOnly calls sent through the gateway
Vercel AI GatewaySpend and cost by project and API keyNo token markup; $5 a month of free creditOnly calls sent through the gateway
HeliconeRequests, sessions, usersFree to 10,000 requests a month; Pro $79/moFree plan keeps 7 days, 1 seat
LangfuseTraces with token and cost trackingFree to 50k units a month; Core $29/moFree plan keeps 30 days, 2 users
LangSmithToken use and cost per trace, from model pricesFree to 5k traces a month, 1 seat; Plus $39 a seatBase traces are kept 14 days
Datadog Agent ObservabilityToken use and cost across agents, with tracesFree to 40K LLM spans a month; Pro $160/mo billed yearlyFormerly LLM Observability; traces kept 15 days
LiteLLMSpend by key, user, team and org through its gatewayOpen source, self-hosted; Enterprise priced by salesYou run it, with a database; tag-based spend is Enterprise
PortkeyCost per request and budgets through its gatewayGateway open source (MIT); hosted plans by salesNow Palo Alto Networks' Prisma AIRS AI Gateway; pricing by sales form

How do I pick a model for a token budget?

  1. Count one real call. OpenAI and Anthropic count tokens free; Gemini has count_tokens.
  2. Price both sides. Input tokens times the input rate, plus output and reasoning tokens times the output rate.
  3. Check the lines you'll cross. 272K input tokens at OpenAI, 200k at xAI, 100K on Claude Haiku 5.5, peak hours at DeepSeek.
  4. Re-read the price page. Prices move both ways; the dataset dates every row.

Questions about AI token cost

Why are AI tokens so expensive?

Mostly output and volume. Output costs 2 to 8.3 times input on the 16 models here, reasoning tokens bill as output, and an agent resends its context on every call: the 30-minute session in Bill 3 read 8.8 million cached tokens. Prices can also rise: on December 1, 2026, Gemini 4 Carbon went from $2 / $10 to $4 / $20 per million when its introductory price ended. No maker's pricing page says why output costs more.

What does per million tokens mean?

Prices are quoted per 1,000,000 tokens, so a call costs its tokens times the price divided by 1,000,000: 10,000 input tokens at $2 per million cost $0.02.

How many words is 1,000 tokens?

It depends on the tokenizer. In the Tokens per 100 words dataset (December 2, 2026), 1,000 tokens of English prose held 889 to 900 words on GPT-6.x, Gemini, grok and DeepSeek, and 607 on Claude 5.x. OpenAI's rule of thumb is 750.

How many pages are 10,000 tokens?

About 18 pages of English on GPT, Gemini, grok and DeepSeek, and about 12 on Claude, at 500 words a page: 10,000 tokens hold 8,900 to 9,000 words on those models and about 6,100 on Claude 5.x.

Do reasoning tokens cost extra?

They cost the output rate. OpenAI and Anthropic bill them as output tokens, and Google's output price includes thinking tokens.

How was this page checked?

Prices and rules were read from the makers' own pages below on December 1, 2026, and again on December 2. We checked the 16 against OpenRouter's public models API on December 2, 18:01 UTC: 14 match, and OpenRouter lists both DeepSeek models below DeepSeek's own price (AI token prices, CSV).

We counted the tokens ourselves: each text went to every model through OpenRouter on December 2, 2026, 07:33 to 07:38 UTC, output capped at 1 token, and the count is usage.prompt_tokens less the count for a 1-character message (64 calls, $0.17). Bill 3 uses token counts from one of our own Claude Code transcripts. Cite as: aitokencost.app, "Tokens per 100 words on 16 AI models", December 2, 2026.

  1. OpenAI API pricing and the GPT-6.2 Astra model page (272K line)
  2. Anthropic pricing, including the tokenizer note
  3. Gemini Developer API pricing and the Gemini API changelog (Carbon, December 1)
  4. xAI pricing
  5. DeepSeek models and pricing
  6. OpenAI: Understanding and counting tokens
  7. OpenRouter usage accounting, which returned the token counts

Who publishes this site?

aitokencost.app lists what AI tokens cost, from each maker's own price page, dated. This site is published by Winding AI, Inc., which makes Griffin.

Winding AI, Inc., 1887 Whitney Mesa Drive #5338, Henderson, NV 89014, US. Corrections: support@winding.ai.