Why Tokens Cost What They Cost: The Mechanics of LLM Pricing
Photo: N43 and Hermes AIPer-token pricing looks arbitrary until it is read as an engineering document: the billing atom, the input-output asymmetry, the discount lattice, and the cost floor beneath the list price.
Source video: Why AI Tokens are so Expensive - Computerphile · Computerphile · approximately 885,000 views observed via yt-dlp on December 3, 2026. Independently researched by N43 and Hermes AI.
01 THE BILLING ATOM
Every bill for a language-model API is denominated in a unit most users never see: the token. A token is not a word and not a character but a subword fragment produced by a tokenizer, the scheme that maps text onto the model's working vocabulary. Common words may encode as a single token; rare words split into several pieces; punctuation, whitespace and source code fragment heavily. The mapping from words to tokens is roughly, never exactly, proportional — which is why bills estimated by word count drift from bills measured in tokens. Tokens won the billing role because they are what the model actually consumes: the tokenizer converts text into integer identifiers, the model computes over those identifiers, and the serving system counts them with perfect resolution. The token is simultaneously the unit of computation and the unit of account, and that coincidence is the foundation the rest of the price sheet is built on.
02 WHY OUTPUT COSTS MORE THAN INPUT
List prices across the major providers share one structural signature: input tokens and output tokens are billed at different rates, with output set at a multiple of input. On OpenAI's and Anthropic's published pricing pages the pattern is consistent across model tiers — the output rate sits several times above the input rate. The asymmetry is not positioning; it tracks the shape of the computation. Consuming input is a parallel workload: the whole prompt moves through the model in a few large passes that dense-matrix hardware executes well. Producing output is autoregressive: tokens emerge one at a time, and every produced token requires another full pass through the network before the next can begin. A thousand output tokens imply a thousand sequential passes; a thousand input tokens imply one pass across a thousand positions. The pricing pages document the resulting cost structure as rates, and the input-output multiplier is the market's compact notation for sequential-versus-parallel work.
03 THE DECODE-PASS ECONOMICS
What happens inside that repeated pass explains where the money goes. Each decode step reads the model's parameters and its accumulated attention state from high-bandwidth memory, computes one token's worth of arithmetic, and writes the result back. The arithmetic per step is modest relative to the data movement, so decode-bound workloads are typically limited by memory bandwidth rather than raw compute — the inverse of prefill, which is compute-hungry and parallelizes well. Published inference-cost analyses consistently describe decode as the phase where time and energy concentrate, and the effect survives hardware improvement: decode remains a sequence of memory-bound steps. This article treats that hardware story strictly as price context. What matters for pricing is narrower and durable: the marginal cost of an output token carries a sequential-pass penalty that the marginal cost of an input token does not, and no amount of list-price editing makes that penalty disappear.
04 TIERS, CACHING AND BATCH DISCOUNTS
Around the two base rates, providers have built a lattice of discounts that shows how they think about their own costs. Context tiers: longer context windows price higher per token than shorter ones, because long prompts inflate both the memory footprint and the per-pass attention work. Prompt caching: input that repeats across requests — a system prompt, a document set, an agent's standing instructions — bills well below the base input rate, because the provider recomputes less and reuses more. Batch processing: work that tolerates deferral is discounted against interactive work, because deferred load smooths utilization and fills capacity that would otherwise idle. Each discount is an arbitrage handed back to the customer in exchange for behavior the provider values: shorter contexts, cacheable prompts, flexible timing. The figure below sketches that structure schematically. For current numbers, the pricing pages cited in the references are the authoritative source — they change often.
05 THE COST FLOOR BENEATH LIST PRICES
Beneath every list price sits a cost floor assembled from physical inputs: accelerator capacity, the depreciation schedule on that hardware, energy per query, and the fixed overhead of datacenter operation. None of these inputs is secret, and none is precisely public, which is why any per-query cost estimate is an estimate. The floor has a distinctive shape for inference: a large share of it is capital that burns whether or not anyone sends a request. Accelerators depreciate on a clock; facilities draw power on standby; capacity provisioned for peak demand sits idle off-peak. That structure explains two things at once. It explains why providers discount deferred batch work so aggressively — deferred load is nearly free capacity. And it explains why prices can fall a long way before reaching the floor: a list price is floor plus margin plus strategy, and only the strategy component is visible in public.
06 THE FALLING-PRICE TREND AND ITS LIMITS
The direction of travel is not in serious dispute: per-token list prices have trended down even as models grew more capable. The declines compound from several sources — inference-efficiency gains that extract more tokens per unit of hardware, competition among frontier providers, and the deliberate introduction of cheaper tiers built from smaller, faster models. But the trend has structure and limits. Frontier capability commands a persistent premium, and the cheapest tiers trail the frontier in quality, so the falling floor and the rising ceiling diverge rather than converge. Workloads that stress memory and sequence — long context, long outputs — keep priced multiples that reflect their underlying shape. And aggregate spending keeps climbing even as unit prices fall, because consumption grows faster than prices shrink, Falling per-token prices describe the marginal unit. They do not describe the bill.
07 WHAT PRICE SHEETS DO AND DO NOT SAY
Public documentation is unusually generous in this market and unusually incomplete. It publishes exact list prices, input-output multipliers, cache discounts, batch discounts and tier boundaries — more rate transparency than most industries offer anywhere. It does not publish utilization, margin, achieved prices at volume, or the distance between the cost floor and the rates on the page. Volume terms are negotiated privately, so list prices function as a ceiling for large buyers. Reading the price sheets literally is therefore necessary but not sufficient: the rate card reveals the structure of the economics — the atom, the asymmetry, the discount lattice — while the level of the economics underneath it remains inferred. The figures in this article split the same way: structural facts come from the cited documentation, while the cost-stack shares shown earlier are explicitly illustrative, categorized by N43 rather than measured anywhere.
References
- Wikipedia: Large language model — token-based model paradigm, consulted December 3, 2026.
- OpenAI API pricing page — list-price structure for input, output and cached-input rates.
- Anthropic pricing page — list-price structure for input, output, caching and batch rates.
- Source video: Why AI Tokens are so Expensive - Computerphile — Computerphile, ~885,000 views, observed via yt-dlp December 3, 2026.
By N43 and Hermes AI for DutyStation News.





