Token Pricing: Why LLM Providers Charge per Million Tokens
Pricing per million tokens is a practical convention shaped by number-grouping habits, readable price points, and industry-wide comparability—not a technical requirement. This article explains why the unit became common, how it could change as prices fall, and how developers can keep cost calculations consistent while adapting their pricing displays.
1. A Seemingly Arbitrary Pricing Unit
Visit a language model provider’s pricing page, and you will usually see the same unit: a price per million tokens, often written as “per 1M tokens.” Input and output tokens are priced separately, but the unit is broadly consistent.
A million tokens is neither a mathematically natural billing unit nor a requirement imposed by an API protocol. It is a de facto standard shaped by language conventions, cognitive load, and industry competition.
Understanding that choice has practical value for developers estimating costs, managing budgets, or preparing customer-facing quotes.
2. Number-Grouping Habits Shape the Options
Pricing units are influenced by how people write and read numbers.
English-language numbering groups digits in threes, separated by commas. For example, 1,030,024 is read as “one million thirty thousand twenty-four.” The familiar magnitude labels are thousand, million, and billion.
Chinese numbering, by contrast, commonly groups quantities around ten thousand and one hundred million. Had token pricing developed primarily in that linguistic context, prices per 10,000 or per 100 million tokens might have felt more natural.
Advertising offers a useful precedent: CPM, or cost per thousand impressions. The “M” comes from the Latin mille, meaning thousand—not million. The terminology also illustrates how existing abbreviation usage, including time-based pricing terminology, can influence the labels an industry adopts.
The broader point is that billing units are not purely technical decisions. Language, available abbreviations, and industry conventions all play a role.
3. Price Anchors Favor Readable Numbers
Even within a system that groups digits in threes, why choose a million rather than a thousand or a billion?
The main advantage is that it brings many quoted prices into a comfortable range: a few dollars to a few dozen dollars, rather than tiny decimals or large totals.
Consider the same illustrative rate expressed three ways:
- Per thousand tokens: $0.0014, requiring four decimal places.
- Per million tokens: $1.40, a cleaner number to read and compare.
- Per billion tokens: $1,400, outside the intuitive range of a small everyday expense.
Very small decimals are harder to compare mentally. Each additional decimal place adds friction, and a price that simply “looks cheaper” can distort a decision.
For example, when comparing $0.0014 with $0.0021, readers may not immediately recognize that the second price is 50% higher. The same comparison is easier to make between $1.40 and $2.10.
Keeping quoted prices roughly between 1 and 1,000 is a compromise between readability and preserving a useful sense of scale. For many token prices, the million-token unit achieves that balance.
4. Standardization Creates a Network Effect
Early model pricing did use rates per thousand tokens. The subsequent shift toward million-token pricing was not just about readability; it also improved comparability.
A shared pricing unit is a coordination problem. When providers use the same unit, users can compare headline rates directly. If one provider quotes prices per 10 million or per 100 million tokens, users first have to normalize the numbers.
An unusual unit can also raise questions:
- Are input and output tokens being combined differently?
- Does the quoted rate include a cache-hit discount?
- Is there another difference in the billing basis?
Instead of making the offer appear cheaper, an unfamiliar unit may make it appear less transparent.
That trust and comparison cost can outweigh any marketing benefit from changing the unit. Once a common convention is established, providers have little incentive to depart from it.
5. The Unit Could Change as Prices Fall
The million-token convention is not permanent.
If prices were to fall to around $0.001 per million tokens, quoting a rate per billion tokens would bring the displayed price back to approximately $1. That could make the larger unit more attractive.
The general principle is straightforward:
Choose a pricing unit that keeps the displayed rate within a magnitude people can readily understand.
As prices fall, a larger token unit may become more useful. As prices rise, a smaller unit may become more useful.
This is a likely direction rather than a guaranteed industry transition. Still, choosing an appropriate unit is a low-cost way to improve pricing communication.
6. Engineering Practices for Consistent Cost Calculations
Customer-facing displays can follow changing industry conventions. Internal calculations should not change every time the preferred display unit does.
A practical approach is to use one internal reference unit—price per million tokens—and perform all display conversions in a dedicated layer.
BASE_UNIT = 1_000_000 # Internal reference unit: one million tokensdef to_unit_price(price_per_million: float) -> dict:"""Convert the reference price into display units without scattered multipliers."""per_token = price_per_million / BASE_UNITreturn {"per_k": per_token * 1_000,"per_m": price_per_million,"per_b": per_token * 1_000_000_000,}def human_readable(price_per_token: float) -> tuple[str, float]:"""Choose a unit that puts the displayed value in [1, 1000) when possible."""for suffix, scale in (("K", 1e3), ("M", 1e6), ("B", 1e9)):value = price_per_token * scaleif 1 <= value < 1000:return suffix, valuereturn "M", price_per_token * 1e6
The display helper selects K, M, or B when one of those units produces a value in the target range. Otherwise, it falls back to the million-token unit.
Cost estimates should likewise start with token volume, not request count alone:
def estimate_cost(price_per_million: float, requests: int,in_tokens: int, out_tokens: int) -> float:total_tokens = requests * (in_tokens + out_tokens)return total_tokens / BASE_UNIT * price_per_million
This simplified function applies one rate to the combined input and output token count. Because input and output prices usually differ, production estimates should model them separately rather than use a single combined rate.
Three practices help keep the implementation consistent:
Store reference prices separately from display strings. Keep the original per-million-token values in configuration and billing records, and generate formatted strings separately. Avoid mixing units or introducing unnecessary numeric conversions that can compound floating-point errors.
Model input and output independently. Their rates are usually different. Combining them under one rate can systematically underestimate costs for workloads with long outputs.
Translate token costs into business metrics before budget review. Express costs in terms such as cost per thousand requests or cost per monthly active user. Keep the conversion between technical units and financial metrics in one place.
7. Conclusion
Pricing per million tokens is not a mathematical optimum. It is a practical equilibrium among language conventions, readable price points, and industry coordination.
Grouping numbers in threes makes thousands, millions, and billions familiar candidates. Price readability favors the million-token unit at many current price levels. Comparability then reinforces the shared convention.
For developers, the lesson is to separate communication from calculation: follow familiar industry units externally, keep a fixed reference unit internally, and be prepared for display units to move upward if token prices continue to fall.
