All guides
Token economics

Input vs Output Tokens: Why Output Pricing Drives Most Chat and Generation Bills

Why output tokens cost about 5 times more than input on the median model, how reasoning tokens bill as output, and how to design prompts around the gap, with real ratios from current price data.

Every major API prices the tokens you send (input) separately from the tokens the model writes (output). Output is more expensive almost everywhere. That gap decides which workloads are cheap and which are not, and it is the first thing to check when a bill looks wrong.

Prices are per 1 million tokens, as of November 2026, from the data on this site.

Why output costs more

Input tokens are processed together, in parallel, in one pass. Output tokens are generated one at a time. Each new token needs another pass through the model, and each pass has to read the whole context so far. That makes output slower per token and more demanding on the hardware, and providers price it accordingly. Prices also include a margin and a view of what the market will pay, so the ratio is not a strict cost formula. Treat the reason as a rough guide and the price list as the fact.

What the ratio looks like in the data

We computed output price divided by input price for the 142 non-batch models we track. (Batch listings are half-price copies of the same models and would double-count them.)

  • Median: 5.0×. Half the models charge 5× or less for output, half more.
  • Middle half of models: 3.2× to 5.75×.
  • Range: 1.6× to 18.2×. The low end is Qwen3.5-9B ($0.08 / $0.13, 1.6×), with DeepSeek V4 Pro 0423 close behind ($0.90 / $1.50, 1.7×). The high end is DeepSeek V4.1 Flash ($0.022 / $0.40, 18.2×), where a very low input price makes the ratio large. All three prices come from the cheapest host on OpenRouter rather than the lab, and host prices move often.
  • Most common values: 37 models are at exactly 5× and 12 at exactly 4×.

By provider, the ratios vary more than the overall median suggests:

ProviderModelsMedian ratioRange
Anthropic125.0×5.0× to 5.0×
OpenAI256.0×5.0× to 8.0×
Google165.5×3.0× to 8.3×
DeepSeek73.0×1.7× to 18.2×
xAI72.0×2.0× to 3.0×

Examples at the current price list: Claude Haiku 5.5 is $0.10 in and $0.50 out. GPT-6.1 Terra is $1 and $5. Claude Sonnet 5.5 and Gemini 4 Argon are both $2 and $10. Claude Opus 5.5 is $4 and $20. All are exactly 5×. Grok 4.20 is $1.25 and $2.50, only 2×.

So "output costs 3 to 8 times more" is a fair rule of thumb for most big providers. Quote the number for your model, not the average.

Your ratio of tokens matters more than the price ratio

Cost depends on both the price ratio and the token ratio. Here is Claude Sonnet 5.5 ($2 in, $10 out) on three request shapes, with no caching:

WorkloadInput / output tokensCost per requestShare from output
Document Q&A20,000 / 300$0.0437%
Chat1,500 / 400$0.00757%
Long generation500 / 4,000$0.04198%

The document job reads 40 times more than the generation job writes, but the two cost almost the same, because each output token costs 5 input tokens' worth.

Output dominates the bill whenever output tokens exceed input tokens divided by the price ratio. At 5×, a request writing more than a fifth as many tokens as it reads is already mostly an output cost.

Reasoning tokens bill as output

Reasoning models produce intermediate thinking before the final answer. Providers bill those tokens at the output rate, even when you do not see them. 140 of the 142 models we track list a reasoning capability, so this applies to almost any current choice, though many let you control how much thinking to use.

An illustration (the token counts are assumptions, not measurements). A chat answer of 400 visible tokens on Sonnet 5.5 costs $0.004 in output. If the model also spends 1,500 reasoning tokens first, the output charge is 1,900 tokens, or $0.019. With a 1,500-token input ($0.003), the request goes from $0.007 to $0.022, about three times as much, and the input side did not change.

Two practical consequences:

  • Do not size output from the visible answer. Read the usage fields in API responses, which report reasoning tokens separately on providers that expose them.
  • Turn reasoning down where it does not help. Extraction, classification and formatting rarely need long thinking. Reserve high effort for tasks where you can show it improves quality.

What this means for prompt design

Control output length directly. Ask for the format you need: a label, a JSON object with short keys, three bullets. Set a maximum output token limit as a safety net so one runaway answer cannot cost 50 normal ones.

Prefer structured, terse output. {"sentiment":"neg","topic":"billing"} is a fraction of the length of a polite paragraph that says the same thing.

Spend input to save output. Input is cheaper, and part of it can be cached. A few well-chosen examples in the prompt that steer the model to a short answer often pay for themselves. See Prompt Caching Explained.

Don't ask for restatement. Prompts such as "first repeat the question, then explain your reasoning, then answer" triple output on every call. Ask for only what a downstream step needs.

Stream and stop early. If you can detect a good-enough answer or a stop condition, stop generation there rather than letting it run to the limit.

Split by task. Use a small model to classify or draft and a large one only on the hard cases. Combining routing with output limits is covered in Cut LLM API Costs.

Choose the model by your ratio. For input-heavy work, the input price decides. For generation, look at the output price first. Which Model Is Cheapest for Your Workload shows the winner flipping between workloads.

Estimate with both sides

When you plan a budget, price input and output separately. How to Estimate LLM Costs Before You Build walks through the full method. The calculator takes input and output tokens separately for every model, and the token counter measures a real prompt so you are not guessing the input side. The compare page prices any set of models at your own mix.

Frequently asked questions

Why do some models charge only 2× for output?

Pricing is a business decision as well as a cost one. Some providers choose a flatter structure, such as xAI's Grok 4.20 at 2×. Others price input very low to attract high-volume reading workloads, which pushes the ratio up. The ratio is not a quality signal.

Are reasoning tokens always billed as output?

Providers generally bill them at the output rate. Check your provider's documentation and response usage data for how they are reported, since details and visibility differ by provider.

Does a longer prompt make the output cost more?

Not directly. Output cost depends on how many tokens are generated. A longer prompt raises the input cost, and it may change how long the answer is, but the two are billed independently.

Which is more worth optimizing, input or output?

Compute the share first, as in the table above. If output is over 50% of your bill, shorter answers and less reasoning help most. If input is over 80%, caching and smaller context help most.