Input vs output tokens: what each costs and why output is 5x

Input vs output tokens on Claude and OpenAI: the 5x price gap, why output costs more, how thinking tokens bill, and what it does to cost per customer.

Brandon Holt
November 28, 2026
9
min read
Summarize
Input vs output tokens: what each costs and why output is 5x

Input tokens are everything you send a model: system prompt, history, retrieved documents and tool definitions. Output tokens are everything it writes back, thinking included. On every current Claude model, and on OpenAI's GPT-6 family below 272,000 input tokens, an output token costs five times an input token: $10 against $2 per million on Sonnet 5.5 and GPT-6.2 Sol.

Prices checked on November 28, 2026, from Anthropic's pricing page and OpenAI's pricing page.

The 5x gap decides which of your features cost the most per customer. A feature that reads a lot and writes a little stays cheap, and a feature that writes long answers with thinking turned on can cost twice as much for the same number of calls. For the full set of levers, see our guide to cutting LLM costs.

What input vs output tokens cost on Claude and OpenAI

Both providers bill input and output tokens at separate rates per million tokens (MTok). Anthropic prices output at five times input on every model it lists, old and new. OpenAI's ratio runs from 4x to 8x across its standard-context catalog, with the GPT-6 family at 5x for prompts up to 272,000 tokens.

ModelInputOutputOutput ÷ input
Claude Fable 5.2$8$405x
Claude Opus 5.5$4$205x
Claude Sonnet 5.5$2$105x
Claude Haiku 5.5 (prompt up to 100K)$0.10$0.505x
GPT-6.2 Astra$8$405x
GPT-6.2 Sol$2$105x
GPT-6.1 Terra$1$55x
GPT-6 Luna$0.10$0.505x
GPT-6.2 Sol (prompt over 272K)$4$153.75x
GPT-5.5$5$306x
GPT-5 mini$0.25$28x
o3$2$84x

Source: Anthropic and OpenAI pricing pages, November 28, 2026. Standard tier, US dollars per million tokens.

Long prompts on OpenAI narrow the gap. Past 272,000 input tokens, OpenAI doubles the GPT-6 family's input price and raises output by half, so GPT-6.2 Sol moves to $4 and $15. Prompt caching works on the input side only. A cache read on Sonnet 5.5 costs $0.10 per million, a hundredth of the output price, which is why a cached prompt can leave output as nearly the whole bill. Claude API cost per token and OpenAI API cost list every rate, cache writes and batch prices included.

Why output tokens are more expensive than input tokens

A model reads your prompt and writes its answer in two different phases. NVIDIA's guide to LLM inference calls them prefill and decode. In prefill, the GPU processes every input token at once in a highly parallel operation that keeps the chip busy. In decode, the model generates output tokens one at a time, and each new token needs the stored keys and values of every token before it.

NVIDIA describes decode as memory-bound: the GPU spends its time moving that stored state through memory and leaves much of its compute idle. The stored state also grows with each token and each request in the batch, which limits how many conversations one GPU can serve at once. An output token holds the hardware longer than an input token, and the price follows.

Neither provider's pricing page explains how it sets the ratio, so read the 5x as a price decision built on that hardware cost. For your margins, the result is what counts, since each word the model writes on a current model costs five times each word you send.

How thinking tokens and reasoning tokens are billed

Thinking tokens bill as output on both providers, at the full output rate. Anthropic's thinking documentation says the tokens Claude spends reasoning bill as output "even when the thinking text isn't returned to you." OpenAI's reasoning guide says the same about reasoning tokens, which the API never shows.

  • Claude: thinking is on by default on Claude 5 and later models, and the thinking text is hidden by default. When you ask for it, you get a summary, and Anthropic bills the full thinking tokens, so the billed output count won't match what you see. Sonnet 5.5 rejects turning thinking off; its lowest setting, between_tools, drops up-front thinking. Effort steers how much Claude thinks, and the default is high on Sonnet 5.5 and Fable 5.2 and medium on Opus 5.5 and Haiku 5.5, according to Anthropic's models overview.
  • OpenAI: reasoning models generate anywhere from a few hundred to tens of thousands of reasoning tokens per request, and the count appears under output_tokens_details in the usage object. OpenAI suggests reserving at least 25,000 tokens for reasoning and output when you start, and warns that a request can hit its limit before any visible text, leaving you billed with nothing to show.
billed output tokens = visible answer tokens + thinking (or reasoning) tokens
output cost          = billed output tokens × output price ÷ 1,000,000

Thinking counts toward max_tokens on Claude, and OpenAI's max_output_tokens caps reasoning and visible output together. Read output_tokens from the usage block of real calls before you estimate a feature's cost from the length of its answers.

How many tokens per word on Claude and OpenAI

Current Claude models use about 1.8 tokens per English word. Anthropic's models overview says 1 million tokens hold roughly 555,000 words on the tokenizer introduced with Claude Opus 4.7, and models before it fit about 750,000 words, or 1.33 tokens per word. OpenAI's help center rule of thumb is one token per four characters, or 100 tokens per 75 words, which is also 1.33 tokens per word.

TextClaude, current tokenizerOpenAI rule of thumbOutput cost on Sonnet 5.5
100 words180 tokens133 tokens$0.0018
300-word answer540 tokens400 tokens$0.0054
600-word report1,080 tokens800 tokens$0.0108
1,000 words1,800 tokens1,333 tokens$0.018

Estimates from Anthropic's 555,000 words per million tokens and OpenAI's 75 words per 100 tokens. Visible text only, before thinking.

Non-English text, code and JSON can tokenize differently from English prose, and both providers say the count depends on the content. Count a sample of your real prompts and answers with the model you plan to ship.

What an output-heavy feature costs per customer

Example. A SaaS product sells a $49-a-month plan with two AI features on Sonnet 5.5. Ask answers questions from the customer's help center, so it sends a lot of retrieved text and writes a short reply. Draft writes a 600-word report from a short brief, with thinking on. The token counts are assumptions for illustration.

Ask:    6,000 in × $2 ÷ 1M = $0.012   +   400 out × $10 ÷ 1M = $0.004    = $0.016
Draft:  1,500 in × $2 ÷ 1M = $0.003   + 3,080 out × $10 ÷ 1M = $0.0308   = $0.0338
        (3,080 out = 1,080 visible tokens for 600 words + 2,000 thinking tokens)

Ask sends four times Draft's input and still costs less than half as much. Output is 25% of Ask's cost and 91% of Draft's. Now give three customers on the same plan different habits.

CustomerAsk callsDraft callsAI costMarginMargin %
Northwind1,000100$19.38$29.6260%
Birchline200900$33.62$15.3831%
Kestrel2001,500$53.90−$4.90−10%
Kestrel, Draft trimmed2001,500$30.50$18.5038%

Example data. Sonnet 5.5 at $2 input and $10 output per million tokens. Ask costs $0.016 a call, Draft $0.0338, trimmed Draft $0.0182.

−$4.90
What Kestrel's Draft habit costs you each month on a $49 plan

Northwind and Birchline make the same 1,100 calls, and Birchline costs 73% more because most of its calls write long answers. Kestrel's output tokens alone cost $47.00 of its $49. The trimmed row cuts the report to 400 words (720 tokens) and lowers effort so thinking averages 800 tokens, which drops Draft to 1,520 output tokens and $0.0182 a call. That turns Kestrel from a $4.90 loss into an $18.50 profit without touching input.

An average across the three hides all of this. Lancelot sees AI cost per customer and per feature against what each customer pays, so Kestrel's Draft spend shows up by name. It can then act within limits you set: throttle Kestrel to 10 calls a minute or move them to a cheaper model you approved in advance, starting as a suggestion you can undo (Margin intelligence).

How to cut output tokens without breaking the feature

  • Set effort per feature. Classification, extraction and routing rarely need high effort. Anthropic recommends low effort on Haiku 5.5 for speed-critical work, and OpenAI's latency guide suggests a lower reasoning effort for routine extraction or classification.
  • Ask for less, in sentences. Anthropic's guide to reducing latency says paragraph or sentence limits work better than word counts, because models count tokens. "Answer in two sentences" beats "under 50 words."
  • Return only the fields you use. For structured output, drop fields your app ignores and keep JSON keys short. Every key repeats in every response.
  • Cap max_tokens with care. A cap stops runaway answers, but Claude cuts the reply mid-sentence at the limit, and on OpenAI a low cap can spend the budget on reasoning before any visible text.
  • Move long writers to a cheaper model. Haiku 5.5 and GPT-6 Luna both charge $0.50 per million output tokens, a twentieth of Sonnet 5.5's $10. Test quality on your own drafts first.
  • Batch what can wait. Anthropic's Batch API halves output prices, so Sonnet 5.5 output drops to $5 per million for reports that can arrive later.

Questions about input vs output tokens

What is the difference between input and output tokens?

Input tokens are what you send the model: system prompt, conversation history, retrieved documents and tool definitions. Output tokens are what the model generates, including hidden thinking or reasoning tokens. Providers bill them at separate rates, and output costs five times input on current Claude and GPT-6 models.

Why are output tokens more expensive than input tokens?

Models process all input tokens in one parallel pass, then generate output one token at a time, and each step reads the stored state of every earlier token. That decode phase is memory-bound and holds the GPU longer per token, so providers charge more for output.

Are thinking tokens billed as output tokens?

Yes. Anthropic bills Claude's thinking tokens as output even when the thinking text is hidden or summarized, and OpenAI bills reasoning tokens as output even though the API never returns them. Check output_tokens in the usage block for the real count.

How many tokens per word does a model use?

About 1.8 tokens per English word on current Claude models, based on Anthropic's figure of 555,000 words per million tokens. OpenAI's rule of thumb is 100 tokens per 75 words, about 1.33 tokens per word. Non-English text and code can differ.

Does prompt caching reduce output token costs?

No. Prompt caching discounts repeated input only. A cache read on Sonnet 5.5 costs $0.10 per million tokens, while output stays at $10. To cut output costs, lower effort, ask for shorter answers, return fewer fields or use a cheaper model.

How much do output tokens cost on Claude and OpenAI?

Sonnet 5.5 and GPT-6.2 Sol both charge $10 per million output tokens. Opus 5.5 charges $20, Fable 5.2 and GPT-6.2 Astra $40, and Haiku 5.5 and GPT-6 Luna $0.50. Batch processing halves Claude's output prices.

Output is the side of the bill you control through product design: answer length, effort and model choice per feature. Our guide to cutting LLM costs covers the input side too, from caching to batching.

Keep reading

All dispatches →
Are AI companies profitable? What the reported margins show
AI unit economics
/
9
min read

Are AI companies profitable? What the reported margins show

Input vs output tokens: what each costs and why output is 5x
Running AI in production
/
9
min read

Input vs output tokens: what each costs and why output is 5x

Semantic caching: how it works, what it saves, where it fails
Running AI in production
/
9
min read

Semantic caching: how it works, what it saves, where it fails

OpenAI Batch API and Anthropic batches: pricing and limits
Running AI in production
/
9
min read

OpenAI Batch API and Anthropic batches: pricing and limits

Get the numbers when they change.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
New dispatches and model price changes. Unsubscribe anytime.