Output tokens are most of your bill, and the ratio varies by 12×

Across 209 billable models the median output rate is 4.0× the input rate (mean 4.5×). The steepest is Qwen3 30B A3b Think at 12×; 16 models charge the same for both. That spread is the single biggest reason two teams running the same model can report wildly different unit costs — and it is invisible on any price table that only prints the input column.

In short: Across 209 billable models the median output-to-input price ratio is 4.0x (mean 4.5x), the steepest is 12x, and 16 models bill input and output at an identical rate. On a 1:3 agent mix at the median ratio, output carries about 92% of the bill while being 75% of the tokens — so cutting prompt length moves the invoice far less than capping generation length or asking for bounded structured output does.
You need a key before the code below runs. Create an account, generate a key, and copy the base URL (https://aicomp.ai/v1). Create one free →
Check current rates → Free to sign up · $1 minimum top-up · No prepayment
Confirm the key works first. One command, no SDK, costs nothing:
curl https://aicomp.ai/v1/models \
  -H "Authorization: Bearer sk-your-gateway-key"

A JSON list of model IDs means the key is good. Invalid token means it was copied wrong.

The distribution

Output-to-input price ratio across 209 models, 2026-09-20. Last column: share of the bill that goes to output if you send equal token counts.
PercentileOutput ÷ inputOutput share at 1:1 volume
cheapest 10%2.00×67%
20%3.00×75%
30%3.14×76%
40%4.00×80%
median4.00×80%
60%5.00×83%
70%5.00×83%
80%6.00×86%
90%8.00×89%

Read the last column as: if you send equal numbers of input and output tokens, this is the share of the bill that goes to output. At the median ratio that is already 80%.

The two ends of the range

Steepest — output punishes you

Highest output-to-input ratios, 2026-09-20. Last column: output's share of the bill on a 1:3 agent mix.
ModelVendorInputOutputRatioOutput share (1:3)
Qwen3 30B A3b ThinkAlibaba$0.1$1.212.00×97%
Qwen3 30B A3b Thinking 2507Alibaba$0.1$1.212.00×97%
Doubao Seed 1 6 251015 SearchByteDance$0.4$410.00×97%
Seed Oss 36B InstructByteDance$0.6$610.00×97%
Qwen3 235B A22b Thinking 2507Alibaba$0.115$1.1510.00×97%
Gemini 2.5 FlashGoogle$0.15$1.2518.34×96%
Gemini 3.5 Flash LiteGoogle$0.15$1.258.33×96%
Qwen FlashAlibaba$0.025$0.28.00×96%

Flattest — the ratio barely exists

Lowest output-to-input ratios. These bill input and output at the same rate, which makes the mix irrelevant to cost.
ModelVendorInputOutputRatioOutput share (1:3)
Qwen 72BAlibaba$1$11.00×75%
Doubao Lite 32KByteDance$1$11.00×75%
Doubao Lite 4KByteDance$1$11.00×75%
Doubao Lite 128KByteDance$2$21.00×75%
Doubao Pro 32KByteDance$2$21.00×75%
Doubao Pro 4KByteDance$2$21.00×75%
Doubao Pro 128KByteDance$12$121.00×75%
DeepSeek OCRDeepSeek$0.108$0.1081.00×75%

What the ratio does to a real mix

Now the same arithmetic at the steep end. Qwen3 30B A3b Think bills $0.1 per 1M in and $1.2 per 1M out — a 12× ratio. On that same 1:3 mix, output carries 97% of the cost. Halve your prompt length and you have barely touched the invoice.

This is the practical consequence: optimisation effort follows the money, and the money is on the output side. Shorter system prompts, tighter retrieval, aggressive deduplication — all worth doing, all smaller than people assume once output dominates.

When flat pricing is worth paying for

16 of these 209 models bill input and output at an identical rate. On them the mix stops mattering: whatever your ratio turns out to be, the blended rate equals the single listed rate. That is worth real money when:

The trade-off is honest: on read-heavy work you give up the cheap-input advantage. Flat is predictability, not a bargain.

Three things that actually cut output cost

Cost note. Output is the expensive side on almost every workload, and the ratio that sets how expensive is not standardised: median 4.0x across 209 models, up to 12x, with 16 models flat at 1.0x. Before comparing any two models, blend their rates at your own input:output ratio — a model that wins on input price can lose by a wide margin on the mix you actually run.

FAQ

Why is output more expensive than input?

Generation costs compute per token produced; reading the prompt is a parallel, one-pass operation. Vendors price them separately and the ratio has settled in a wide band — a median of 4.0x across 209 models here, with a long tail up to 12x. It is not a penalty, it is the actual cost shape of autoregressive decoding.

What is a normal output-to-input ratio?

Median 4.0x, mean 4.5x across 209 models. Roughly 32 models sit at or below 2x and 31 sit at 8x or above, so the band is genuinely wide — which is exactly why you should check the ratio for the models you shortlist rather than assume an industry average.

Are there models that charge the same for input and output?

Yes — 16 of the 209 models here bill both at an identical rate. For a workload whose token mix you cannot predict (user-generated prompts, variable-length extraction, anything with a retry loop), flat pricing removes the ratio from your forecast entirely. You lose the cheap-input advantage on read-heavy work and gain predictability on everything else.

How much of my bill is output tokens?

On a 1:3 agent mix and a median 4.0x ratio, output carries about 92% of the cost while being 75% of the tokens. At the steep end (Qwen3 30B A3b Think, 12x) it is closer to 97%. This is why cutting input cost — shorter prompts, tighter retrieval — has a much smaller effect than people expect once output dominates.

Does prompt caching change which side matters?

It makes the output side matter more. A cache hit bills at roughly 0.1x base input on Anthropic, OpenAI's GPT-5.6 generation and Gemini 2.5+, which shrinks the input line and leaves output as an even larger share of the total. Optimise input if your prompts are long and repetitive; optimise output if they are not.

How do I reduce output cost specifically?

Cap max_tokens so a runaway generation cannot bill unbounded; ask for structured, bounded output (JSON with a schema rather than prose); and route long drafts to a cheaper model while keeping the expensive one for the reasoning step. Streaming does not reduce cost — it only changes when you see the tokens.

Are these official vendor rates?

They are gateway rates we bill, USD per 1M tokens, captured 2026-09-20. 13 of the 209 models carry a published vendor list rate we can cross-check and are marked verified; the rest are listed at face value. Ratios are computed from those two rates and are not an extra charge.

Related

Get API access