Token-based pricing is a usage-based billing model in which a provider of large language models charges for each token processed, usually quoted as a price per million input tokens and a separate, higher price per million output tokens. In AI in business, it is the dominant way that foundation model providers sell API access, and it turns every prompt, retrieved document and generated answer into a measurable unit of cost.
Because a token is a fragment of text rather than a word or a request, the model makes spending proportional to text volume, not to the number of users or seats. This gives buyers fine-grained control and transparency, but it also makes budgets harder to forecast when prompts grow, agents loop or outputs become longer than expected.
How token-based pricing measures usage
Token-based pricing works by counting the tokens produced by the model’s tokenizer on both sides of every call. A tokenizer splits text into subword units; in English, one token corresponds on average to about four characters or three quarters of a word, while code, numbers and many non-Latin scripts usually need more tokens per word.
Each request is billed as the sum of input tokens (system prompt, conversation history, retrieved context, tool definitions and the user message) and output tokens (the generated response, including any hidden reasoning tokens on reasoning models). Providers typically price output three to five times higher than input, because generation runs token by token and occupies accelerator capacity for longer than reading the prompt.
The table below lists the billable token categories that appear on most provider invoices and what drives each of them.
| Token category | What it contains | Typical price position |
|---|---|---|
| Input tokens | Prompt, history, context, tool schemas | Base rate |
| Output tokens | Generated text and structured output | Several times the input rate |
| Reasoning tokens | Internal thinking on reasoning models | Billed as output |
| Cached input tokens | Repeated prompt prefixes read from cache | Large discount on input rate |
| Cache write tokens | Prefixes stored for later reuse | Small premium on some platforms |
| Batch tokens | Asynchronous jobs with delayed results | Often about half of the standard rate |
Price tiers and modifiers
Token prices are not a single number, because providers apply modifiers by model size, latency and context length. A frontier model can cost one to two orders of magnitude more per token than a small model from the same vendor, which is why model selection is usually the strongest cost lever available to a buyer.
The following table summarizes the common pricing modifiers and the trade-off each one represents.
| Modifier | How it changes the price | Trade-off |
|---|---|---|
| Model tier | Larger models cost more per token | Quality versus cost |
| Long context | Higher rate above a context threshold | More context versus higher spend |
| Prompt caching | Discounted reads of repeated prefixes | Requires stable prompt structure |
| Batch processing | Lower rate for non-urgent jobs | Results arrive within hours |
| Priority or provisioned capacity | Premium or reserved throughput | Commitment versus guaranteed latency |
| Fine-tuned models | Training fee plus higher inference rate | Specialization versus flexibility |
Enterprise contracts often add committed-use discounts, in which a customer prepays or commits to a spending level in exchange for lower effective rates. These agreements shift part of the forecasting risk from the provider to the buyer.
Comparison with other AI pricing models
Token-based pricing is one of several ways to charge for AI capability, and it sits closest to the infrastructure layer of the AI value chain. Applications built on top of models frequently repackage token costs into simpler units that business buyers find easier to approve.
The comparison below shows how token-based pricing differs from the main alternatives used for AI products.
| Pricing model | Unit of charge | Main advantage | Main drawback |
|---|---|---|---|
| Token-based pricing | Input and output tokens | Precise link to compute | Volatile monthly bills |
| Per-seat subscription | Named user per month | Predictable budget | Heavy users subsidized by light users |
| Per-request pricing | API call or query | Simple to explain | Ignores request size |
| Outcome-based pricing | Resolved ticket or completed task | Aligned with business value | Hard to define and audit outcomes |
| Provisioned throughput | Reserved capacity per hour | Stable latency and cost | Paid even when idle |
| Compute-hour pricing | GPU hours for self-hosted models | Full control of the stack | Operational burden on the buyer |
Many AI wrapper products absorb token costs and sell seats, which exposes them to margin compression when their customers become heavy users. This tension explains the growing interest in hybrid plans that combine a seat fee with usage caps or credit allowances.
Estimating and controlling token spend
Token spend is estimated by multiplying average tokens per task by the task volume and the applicable rates, then adding a margin for retries and growth. The formula is simple, but the inputs change quickly: a retrieval step that adds ten document chunks can multiply input tokens several times without any visible change for the user.
The decision table below lists practical levers that AI FinOps teams use to keep inference cost under control.
| Situation | Recommended lever | Reason |
|---|---|---|
| Long, repeated system prompts | Enable prompt caching | Cached reads cost a fraction of fresh input |
| Simple classification or routing | Route to a smaller model | Small models handle easy tasks at low rates |
| Nightly document processing | Use batch endpoints | Delay is acceptable and discounts are large |
| Verbose answers | Limit maximum output tokens | Output is the most expensive category |
| Large retrieved context | Rerank and trim chunks | Fewer, better chunks cut input volume |
| Agent loops | Set step and budget limits | Prevents runaway multi-call workflows |
Effective cost control also depends on per-feature attribution: tagging requests by product, team or customer so that finance can see which use cases justify their spend. Without attribution, token bills tend to appear as one opaque line item that resists optimization.
Limitations and common misconceptions
Token-based pricing is transparent at the level of a single call but opaque at the level of a business process, and several misunderstandings recur in budgeting discussions.
- Tokens are not words. The same text produces different token counts across tokenizers, so per-token prices from different vendors are not directly comparable.
- A cheaper rate is not a cheaper task. A model with a lower price that needs more retries, longer prompts or more reasoning tokens can cost more per completed task.
- Conversation history accumulates. In chat applications, every turn resends prior messages, so input cost grows with conversation length.
- Prices change often. Providers revise rates frequently, usually downward for older models, so long-term business cases need periodic repricing.
- Hidden reasoning is billed. Reasoning models may generate thousands of internal tokens that are charged as output but never shown to the user.
For these reasons, mature buyers evaluate models by cost per successful outcome rather than by list price per million tokens, and they track that metric alongside quality and latency.
Put simply
Token-based pricing works like a taxi meter for text. The AI company does not charge a flat monthly fee. It counts the small pieces of text that go in and come out. You pay for both.
Reading your question is cheap. Writing the answer costs more. Short questions and short answers keep the bill small. Long documents and long replies make it grow. The key point is that cost follows volume, so careful design of prompts saves real money.
In practice
A mid-sized insurance company builds a customer support assistant that answers about 40,000 questions per month. Each request includes a fixed system prompt of about 2,000 tokens, roughly 3,000 tokens of retrieved policy text and an answer of about 400 tokens. The first monthly invoice is far higher than the pilot suggested, because the pilot used short test questions and no retrieved context.
The engineering team enables prompt caching for the fixed system prompt, reduces retrieval from ten chunks to four after reranking, routes simple questions to a smaller model and caps answer length. Quality scores stay level in evaluation. The result is a substantially lower cost per resolved question, and the finance team now receives a monthly report that attributes token spend to each support channel.