Blog
Rates1 min read

What the three rates on every model mean

Input, cached input and output are billed at different prices. Here is what each one covers, how reasoning tokens are counted, and why cache hits are reported rather than promised.

Every model in the catalog carries three rates, all in USD per one million tokens. A request is charged on the tokens it actually used in each category, at the rate published when the request was made.

Input

Everything you send: system prompt, conversation history, tool definitions and the user message. The model provider counts these tokens, and that count is what you are billed on.

Cached input

When the provider serves part of your prompt from its cache, it reports those tokens separately, and they are billed at the cached rate instead of the input rate. The receipt shows the number of cached tokens the provider reported for that request.

Cache hits are not guaranteed. Whether a prompt hits depends on the provider, on how recently the same prefix was sent, and on the model. We bill what is reported and nothing else, so plan on the input rate and treat a cache hit as a discount when it happens.

Output

Everything the model generates. On reasoning models this includes the reasoning tokens the provider reports. They are counted once, as output, and never billed a second time under another heading.

Reading a receipt

FieldMeaning
InputPrompt tokens charged at the input rate, excluding cached tokens
CachedPrompt tokens the provider served from cache, at the cached rate
OutputCompletion tokens, including reasoning, at the output rate
ChargeThe exact sum of the three, to nine decimal places

The charge is computed in whole nano-dollars and rounded up, so the figure on the receipt is the figure taken from your balance. There is no separate fee, no per-request minimum and no markup on top of the published rate.