Token basics

What is a token, and what does it cost

Quick answer

A token is a chunk of text of about 4 characters, so 100 tokens is roughly 75 English words (OpenAI). AI models bill per million tokens: what you send (input), what the model writes (output) and repeats it has seen before (cached input).

Input, output and cached tokens

$2Input per 1M on Claude Sonnet 5.5. Your prompt, files and chat history.
$10Output per 1M. Everything the model writes, thinking included.
$0.10Cached input per 1M. Repeated text the provider has seen recently.

How many tokens is…

Thing you sendTokens (est.)Input cost on Claude Sonnet 5.5
A one-line question (80 characters)20$0.0000
A 100-word prompt (about 600 characters)150$0.0003
A one-page document (500 words, ~3,000 characters)750$0.0015
A 300-line code file (~40 characters a line)3K$0.0060
A 5,000-line app (~40 characters a line)50K$0.10
A 50,000-line codebase500K$1.00

Our estimates at about 4 characters per token, the rule of thumb from OpenAI and Google. Claude counts more: Anthropic puts 1M tokens at roughly 555,000 words on its current models. For an exact count, paste your text into the prompt calculator.

Thinking tokens bill as output

Reasoning models think before they answer, and that thinking is billed at the output price even when you don't see it. Sources: Anthropic, OpenAI, Google.

What 1M tokens costs on every model

Your month
GPT-5 nanoOpenAI$0.05$0.005$0.40$1.30
Gemini 2.5 Flash-LiteGoogle$0.10$0.01$0.40$1.80
Claude Haiku 5.5Over 100K tokens: $0.50 in, $2.50 outAnthropic$0.10$0.01$0.50$2.00
GPT-6 LunaOver 272K tokens: $0.20 in, $0.75 outOpenAI$0.10$0.01$0.50$2.00
Mistral Small 4Mistral$0.15–$0.60$2.70
Mistral CodestralMistral$0.30–$0.90$4.80
DeepSeek FlashDeepSeek$0.30$0.006$1.20$5.40
Gemini 3.1 Flash-LiteGoogle$0.25$0.025$1.50$5.50
Gemini 2.5 FlashGoogle$0.30$0.03$2.50$8.00
Gemini 3.5 Flash-LiteGoogle$0.30$0.03$2.50$8.00
Mistral LargeMistral$0.50–$1.50$8.00
Gemini 3 Flash (preview)Google$0.50$0.05$3$11.00
Gemini 2.5 ProRises to $1.50 / $7.50 on 1 JanGoogle$0.75$0.075$3.75$15.00
Gemini 3.6 FlashRises to $1.50 / $7.50 on 1 JanGoogle$0.75$0.075$3.75$15.00
Gemini 3.8 FlashRises to $1.50 / $7.50 on 1 JanGoogle$0.75$0.075$3.75$15.00
GPT-5.4 miniOpenAI$0.75$0.075$4.50$16.50
Grok 4.3Over 200K tokens: $2.50 in, $5 outxAI$1.25$0.20$2.50$17.50
Claude Haiku 4.5Anthropic$1$0.10$5$20.00
GPT-6.1 TerraOver 272K tokens: $2 in, $7.50 outOpenAI$1$0.05$5$20.00
DeepSeek V4 ProDeepSeek$1.32$0.044$3.96$21.12
Gemini 4 HydrogenGoogle$1.50$0.075$7.50$30.00
Grok 4.5Over 200K tokens: $4 in, $12 outxAI$2$0.30$6$32.00
Grok 4.6Over 200K tokens: $4 in, $12 outxAI$2$0.50$6$32.00
Grok 4.7Over 200K tokens: $4 in, $12 outxAI$2$0.50$6$32.00
Claude Sonnet 5Anthropic$2$0.20$10$40.00
Claude Sonnet 5.5Anthropic$2$0.10$10$40.00
GPT-6 SolOver 272K tokens: $4 in, $15 outOpenAI$2$0.20$10$40.00
GPT-6.1 SolOver 272K tokens: $4 in, $15 outOpenAI$2$0.10$10$40.00
GPT-6.2 SolOver 272K tokens: $4 in, $15 outOpenAI$2$0.10$10$40.00
Gemini 3.1 Pro (preview)Over 200K tokens: $4 in, $18 outGoogle$2$0.20$12$44.00
Claude Sonnet 4.5Anthropic$3$0.30$15$60.00
Claude Sonnet 4.6Anthropic$3$0.30$15$60.00
Gemini 4 NeonGoogle$3$0.15$15$60.00
Claude Opus 5.5Anthropic$4$0.20$20$80.00
Gemini 4 ArgonGoogle$4$0.20$20$80.00
Gemini 4 CarbonGoogle$4$0.20$20$80.00
Claude Opus 4.5Anthropic$5$0.50$25$100
Claude Opus 4.6Anthropic$5$0.50$25$100
Claude Opus 4.7Anthropic$5$0.50$25$100
Claude Opus 4.8Anthropic$5$0.50$25$100
Claude Opus 5Anthropic$5$0.50$25$100
GPT-5.5Over 272K tokens: $10 in, $45 outOpenAI$5$0.50$30$110
Claude Fable 5.2Anthropic$8$0.20$40$160
GPT-6.2 AstraOver 272K tokens: $16 in, $60 outOpenAI$8$0.40$40$160
Claude Fable 5Anthropic$10$1$50$200
Claude Fable 5.1Anthropic$10$0.25$50$200
GPT-6 AstraOver 272K tokens: $20 in, $75 outOpenAI$10$1$50$200

USD per 1M tokens, standard tier, short prompts. Your month = input × input price + output × output price, with the cached share at the cached price where the vendor lists one. Long prompts can cost more: see each model's page.

Prices from each provider's own pricing page, checked 30 Nov 2026 (UTC).

FAQ

How many tokens is 1,000 words?

About 1,333 tokens by OpenAI's rule of three quarters of a word per token. Claude's newer tokenizer counts more: Anthropic says 1M tokens is roughly 555,000 words, which puts 1,000 words near 1,800 tokens.

How much does one token cost?

It depends on the model. Input runs from $0.05 per 1M tokens (GPT-5 nano) and output up to $50 per 1M (Claude Fable 5.1). One token is a millionth of those prices.

Why do output tokens cost more than input tokens?

Vendors price them higher: across our list the output price is a median 5x the input price.

Do thinking tokens cost money?

Yes. Anthropic, OpenAI and Google all bill thinking or reasoning tokens as output tokens, even when you only see a summary or nothing at all.

What is a cached token?

Input the provider has seen recently, such as the same long instructions or files sent again. It bills at a fraction of the input price, a tenth or less on current Claude, GPT and Gemini models.