Token Pricing Explained: Where the Cost Actually Goes
Token pricing is often misunderstood because the cost is not tied to word count. This article breaks the price of a token into three layers: rigid physical costs such as hardware depreciation and electricity, ongoing training and R&D amortization, and a risk margin for idle capacity and profit. It explains why utilization drives unit economics, includes a reusable Python cost model, and lists practical ways to cut spend through context control, prefix caching, batching, model routing, output limits, and observability.
1. The Short Answer: Token Price Is Three Layers of Cost Stacked Together
Most people have only a vague sense that tokens are expensive, without being able to say where the money goes. Break it apart and the price is actually three layers stacked on top of each other: money already spent (hardware depreciation and electricity), money that must keep being spent (model iteration and R&D), and money paid for uncertainty (idle capacity and profit margin). The first two layers set the cost floor; the third determines the floating range of the market quote.
It is worth stressing that a token is not a commodity priced by “word count.” It is priced by the compute time consumed in a single forward pass. The billing unit is a token rather than a second because the compute required for a single request varies enormously across models and context lengths, and tokens are the most convenient way to normalize that.
2. Layer One: Physical Costs Are Rigid, Whether or Not You Are Called
2.1 Power and Depreciation Make Up Most of the Holding Cost
Take a single high-end accelerator card as an example. At full load, power draw works out to roughly 2 to 4 kWh per hour. Assuming 3 kWh at 0.8 yuan per kWh, running around the clock for a year is about 20,000 kWh, or roughly 16,000 yuan in electricity. If a single card costs about 250,000 yuan to buy and is depreciated linearly over 3 years, that is about 83,000 yuan per year. Add the two together and the annual holding cost per card is about 100,000 yuan.
A thousand-card inference cluster therefore carries an annual holding cost on the order of 100 million yuan, and that still excludes data center space, network bandwidth, storage, operations staff, and the storage overhead of the model weights themselves.
The key property is this: the bill comes due regardless. The moment the cards are purchased, depreciation and baseline power costs accrue with the passage of time, whether request volume is at capacity or at zero. This makes unit token cost extremely sensitive to utilization: double the utilization and unit cost roughly halves.
2.2 Throughput Sets the Denominator
A single card produces roughly 100 to 300 tokens per second, depending on model size and batching strategy. Take the midpoint of 200, and a thousand-card cluster produces about 200,000 tokens per second, or a theoretical ceiling of roughly 170 billion tokens per day.
That ceiling is almost impossible to saturate in practice. Real workloads have three characteristics: diurnal peaks and troughs, context bloat from long sessions, and agent-style applications where a single task consumes hundreds of thousands to millions of tokens. When the input context is long, the complexity of attention computation grows non-linearly with sequence length, and the output of the same card drops noticeably. So the real denominator is usually only a fraction of the theoretical value.
2.3 A Reusable Cost Model
def token_unit_cost(gpu_count, price_per_gpu, years,kwh_per_hour, price_per_kwh,tokens_per_gpu_per_sec, utilization):annual_depreciation = gpu_count * price_per_gpu / yearsannual_power = gpu_count * kwh_per_hour * 24 * 365 * price_per_kwhannual_tokens = (gpu_count * tokens_per_gpu_per_sec* 86400 * 365 * utilization)return (annual_depreciation + annual_power) / annual_tokens
Making utilization an explicit parameter makes the source of the “expense” clear: it is not a high unit price, it is the denominator being diluted by idle time.
3. Layer Two: Training and R&D Are Ongoing Overhead, Not a One-Time Investment
A single full training run for a frontier model costs, conservatively, tens of millions of dollars in compute. Add the salaries of top researchers, repeated failed training runs, data acquisition and cleaning, and opportunity cost, and the all-in cost of one training run can reach hundreds of millions of dollars.
The real pressure is the cadence: models typically iterate every 3 to 6 months, and each iteration is a full training run. R&D spending is therefore not a sunk cost that ends, but a continuous cash flow amortized month by month. A highly valued model company invests billions of dollars a year in training and inference just to keep its capabilities from falling behind.
This creates a clear chain of funding: the token fees collected today are, in essence, financing the training of the next model version. It also explains why the unit price of output tokens is significantly higher than input: the output stage requires token-by-token autoregressive generation, which consumes far more compute than the one-time prefill of the input.
4. Balancing the Books: Between the Cost Line and the Market Quote
Suppose a model vendor spends 4 billion USD a year and produces 1 trillion output tokens annually (with input weighted at 8x), which means it needs to recover about 0.04 USD per token on average, roughly 0.3 yuan.
Market quotes for high-end models are generally tens of dollars per million output tokens, far above this cost line. The gap is not pure profit; it has to cover three kinds of spending: capital expenditure for the next training round, redundancy for idle capacity, and the sunk cost of failed experiments. Tokens are expensive because you pay for continuous research, not for the electricity of this one second.
5. Cost Reduction Practices for Consumers
Once you understand the cost structure, the optimization direction becomes clear: raise effective utilization and cut wasted computation.
- Context hygiene: Inject only the necessary fragments and avoid stuffing an entire knowledge base into the prompt; run retrieval and summarization on long documents before they enter the model.
- Prefix cache reuse: Put stable system prompts and tool definitions at the very front of the request so the unchanged prefix hits the cache and repeated computation is skipped.
- Batching and asynchrony: Merge offline tasks into batches and use trough capacity, which is equivalent to spreading depreciation.
- Tiered model routing: Send simple intents to small models and escalate only for complex reasoning, avoiding high-end models for classification.
- Output length limits: Explicitly cap the maximum generation length to suppress meaningless long outputs.
- Observability: Use logging services and monitoring alerts to attribute token consumption by business dimension and locate abnormal callers.
Architecturally, you can combine container platforms for elastic scaling, object storage to accumulate reusable intermediate results, and message queues to smooth peaks and fill troughs, keeping the cluster utilization curve as flat as possible.
6. Conclusion
Token pricing is not an arbitrary numbers game, but the combined result of rigid physical cost, continuous R&D amortization, and risk margin. For developers and enterprises, understanding these three layers shifts optimization from “cutting the unit price” to “raising utilization and reducing wasted computation” — the latter being the truly sustainable cost lever.
