LLM API pricing models explained simply: most providers charge by the token, with separate rates for the text you send in and the text the model generates. LLM API pricing models explained in this guide cover the four main structures you will meet, per-token, per-request, tiered and subscription billing, so you can predict what a feature will cost before you ship it. The central question is which model fits your workload, and the short answer is that per-token billing suits most teams, while batch and tiered options reward predictable, high-volume use.
A token is a chunk of text, roughly three quarters of an English word on average, and every prompt and every reply is measured in tokens. That means your bill depends on three things at once: the model you choose, how much text goes in and out, and which pricing model applies.
Key takeaways
- Most LLM APIs charge per token, with output tokens costing several times more than input tokens.
- Per-request, tiered and subscription pricing each suit different workloads, and the wrong fit wastes money.
- Cached input, batch processing and smaller models are the three biggest levers for cutting token costs.
- Always estimate cost per completed task, not per token, because retries and long outputs dominate real bills.
- Provider prices change often, so treat any quoted rate as an example and check the provider page before budgeting.
What a token is and why it drives the bill
A token is the unit providers count, and it is not the same as a word. Common words often become a single token, while rare words, code and non-English text can split into several. A typical English paragraph of one hundred words is roughly one hundred and thirty tokens, but that is only a rule of thumb, and the exact count depends on the model and its tokenizer.
Both sides of a call are billed. Input tokens cover the system prompt, the conversation history, any retrieved documents and the user’s message. Output tokens cover everything the model writes, including reasoning tokens on models that think before answering.
Because output is usually priced several times higher than input, a chatty model can cost far more than a concise one on the same task. Our guide to what really drives LLM inference cost breaks down the other factors behind the invoice.
Per-token pricing: the default model
Per-token pricing charges a set rate per million tokens, with different rates for input and output. It is the default on the major provider APIs, and it is the easiest model to understand: you pay for exactly what you use, with no monthly commitment. Best for: teams with variable traffic, prototypes and any workload where usage is hard to predict in advance.
The spread between models is enormous. As examples checked in November 2026, OpenAI listed GPT-5 at $1.25 per million input tokens and $10 per million output tokens, GPT-5 mini at $0.25 and $2, and GPT-5 nano at $0.05 and $0.40.
Anthropic listed Claude Sonnet 5.5 at $2 input and $10 output per million tokens, Claude Opus 5.5 at $4 and $20, and Claude Haiku 5.5 at $0.10 and $0.50 for prompts up to 100,000 tokens. Those figures change regularly, so treat them as illustrations of the range, not as a quote.
Per-token pricing rewards efficiency directly. Shorter prompts, smaller models for easy tasks and trimmed outputs all cut the bill in proportion. Its weakness is unpredictability: a traffic spike or a runaway agent loop can push the month’s spend far above the forecast.
Per-request pricing: flat fees for fixed work
Per-request pricing charges a fixed fee for each call, regardless of how many tokens it uses. It appears most often in specialised APIs, such as image generation, transcription, embedding or search, where the provider can predict the work involved. Some providers also offer it for narrow text tasks with capped input and output lengths.
The appeal is a bill you can forecast from request counts alone. If each call costs the same, then the monthly total is simply the number of calls multiplied by the fee, and product managers can model unit economics without touching a tokenizer. Best for: fixed-shape tasks, such as classifying a short message or transcribing a minute of audio, where token counts barely vary.
The risk is paying for work you did not need. A short request costs the same as a long one, so teams with mostly tiny requests can overpay badly. Compare the flat fee against your average per-token cost before committing.
Tiered pricing: volume discounts and usage bands
Tiered pricing changes the rate as usage grows, either by volume band or by a committed tier. Some providers discount automatically once monthly spend passes a threshold, while others sell usage tiers that unlock lower rates in exchange for a minimum commitment. Batch processing is a common tiered variant: OpenAI and Anthropic both discount asynchronous batch jobs by around half, because the provider can schedule that work when capacity is idle.
Volume tiers suit workloads that are large and steady. A team processing millions of documents a month can often cut its effective rate substantially by committing to a tier, while a team with spiky traffic gains little and risks paying for unused commitment. Best for: high-volume, predictable workloads such as bulk classification, nightly summarisation and large-scale data enrichment.
Subscription and seat-based pricing
Subscription pricing charges a flat monthly fee, often per seat, for a fixed allowance of use. It is the model behind most chat products and coding assistants, and it is increasingly offered for API access through platform plans that bundle a token allowance with a monthly price. The attraction is a predictable bill and no surprise at the end of the month.
Subscriptions work when usage per person is fairly even. A team where everyone uses the tool a similar amount gets good value, while a team with one power user and nine occasional users pays for nine seats that sit idle. Best for: internal tools, coding assistants and chat products where per-person usage is steady and the allowance covers normal work.
Comparing the four pricing models
| Pricing model | How you pay | Main strength | Main risk |
|---|---|---|---|
| Per-token | A rate per million input and output tokens | Pay only for what you use | Hard to forecast under spiky traffic |
| Per-request | A flat fee for each API call | Simple unit economics | Short requests subsidise long ones |
| Tiered and batch | Lower rates at higher volume or for deferred work | Big savings at scale | Commitments can waste money in quiet months |
| Subscription | A flat monthly fee per seat or plan | Predictable monthly bill | Idle seats and overage charges |
| Hybrid | A base subscription plus per-token overage | Predictability with headroom | Two billing rules to track at once |

Discounts that change the maths
Prompt caching is the discount most teams should use first. When the same text is sent repeatedly, such as a system prompt or a retrieved document, providers charge a fraction of the standard input rate for the cached portion. A stable system prompt that is cached can cut input costs sharply on repeated calls.
Batch processing is the second big lever. Jobs that can wait, such as overnight classification or bulk summarisation, typically cost around half the standard rate on the major APIs.
The trade-off is latency: results arrive in hours rather than seconds, which rules batch out for anything interactive. Best for: any workload where the answer is not needed immediately and the queue can wait for off-peak capacity.
Model routing is the third lever. Sending easy requests to a small, cheap model and hard ones to a flagship model can cut costs dramatically without hurting quality. Our guide to model routing for cost optimisation explains how to split traffic by difficulty, and a token cost calculator helps you estimate the saving before you change anything.
Hidden extras that inflate the bill
Reasoning tokens are the most common surprise. Models that think before answering bill their internal reasoning as output tokens, so a short final answer can hide a long and expensive thought process. Check whether your provider reports reasoning tokens separately, and set a reasoning budget where the API allows it.
Retries and agent loops are the second surprise. A workflow that retries a failed call three times pays three times, and an agent that loops while searching for an answer can burn thousands of tokens before it stops. Cap retries and loop iterations, and log the cost of failed attempts, not just successful ones.
How to estimate the cost of a feature
Start with a realistic sample, not a guess. Run a hundred representative requests through the model, record the input and output tokens for each, and calculate the average cost per request. Multiply by expected monthly volume, then add a margin for retries and growth.
Then express the result as cost per completed task. A summary that costs a tenth of a cent per document is easy to price into a product, while a cost per token means nothing to a product manager. Track that figure weekly after launch, because prompts drift and usage patterns shift.
LLM pricing checklist
- Token counts are logged for every request, split by input, output and cached input.
- Cost is tracked per feature and per model, not just as one monthly total.
- The pricing model fits the workload: per-token for variable use, batch for deferred work, subscription for steady seats.
- Cached prompts are reused where the provider offers a caching discount.
- Easy requests are routed to a smaller, cheaper model.
- Retries, agent loops and conversation history all have caps.
- Cost per completed task is calculated from a real sample, not a guess.
- Alerts fire before the monthly budget is reached, not after.
- Provider rates are rechecked before each budget cycle, because prices change.
- A cheaper model is tested on the same evaluation set before any switch.
Frequently asked questions
What is the cheapest LLM API pricing model?
There is no single cheapest model, because it depends on your workload. Per-token billing is cheapest for light, variable use, batch pricing is cheapest for deferred bulk work at around half the standard rate, and subscription plans are cheapest when every seat is used heavily.
Why do output tokens cost more than input tokens?
Generating text is more expensive for the provider than reading it, because each output token requires a full forward pass through the model. Providers pass that cost on, which is why output rates are typically several times higher than input rates on the same model.
How much does a typical API call cost?
It varies enormously with the model and the length of the prompt and reply. A short classification on a small model can cost a fraction of a cent, while a long document analysis on a flagship model can cost several cents. Run a sample of your own requests to get a figure that means something for your product.
Does prompt caching really save money?
Yes, when the same text is sent repeatedly. A stable system prompt or a reused document is charged at a fraction of the standard input rate on cached reads, which can cut input costs sharply for chat and retrieval workloads.
Should I choose a subscription or pay per token?
Choose a subscription when usage per person is steady and the allowance covers normal work, because the bill is predictable. Choose per-token billing when usage varies widely, because you only pay for what you use.
How often do LLM API prices change?
Often. Providers cut prices when new models launch, adjust rates for specific models and introduce new discounts, so a rate quoted a few months ago may be out of date. Recheck the provider pricing page before each budget cycle.







