TPI Methodology
Token Price Index (TPI) — methodology, composition, and live values
What question does the TPI answer?
The Token Price Index answers one question: what does it cost to access state-of-the-art AI models over time? It tracks the price of frontier AI capability as the market defines it.
The Token Price Index answers one question: what does it cost to access state-of-the-art AI models over time?
It tracks the price of frontier AI capability as the market defines it — not a fixed historical basket, but the models organisations are actively choosing today. When the TPI rises, it means the frontier has advanced and the market is paying more for greater capability. When it falls, inference has become cheaper. Mix changes as new models enter or leave the index are a feature, not a flaw. They reflect how the market is evolving.
This is a different question to "what is the cheapest model available" or "what is on my invoice." The TPI is a market reference, not a billing forecast.
Calculation method
The TPI reports the geometric mean of blended prices across all index members, expressed in $/M tokens. Blended price = input × 0.7 + output × 0.3. The 70/30 ratio reflects a generalised production workload — most LLM tasks are input-heavy, with prompts, context, and retrieved documents typically exceeding the length of the model's response. The ratio is fixed and does not vary by model, ensuring the index measures price movement rather than workload assumptions.
Cache hit pricing is excluded from the blended price calculation by design. Including it would require assuming a cache hit rate — an assumption that varies widely by workload and would make the index harder to reproduce independently. The TPI is a posted price reference. The Simulator models cache savings separately, where you can apply your own assumptions.
All index members are equally weighted in the geometric mean. New models join at their actual market price — jumps in the index reflect real market events, not methodology changes.
What TPI does not measure
The TPI tracks published API pricing — not what organisations actually pay. Realised costs are typically lower because of:
- Enterprise discounts negotiated with providers
- Prompt engineering and prompt compression that reduce input tokens
- Prompt caching on repeated context
- Model routing that sends simpler requests to cheaper models
- Batch processing for non-urgent workloads
- Infrastructure choices — committed spend, dedicated capacity, or private deployment
Treat the TPI as a posted price reference for the public market, not a forecast of your organisation's bill.
A note on tokenization
Different model families use different tokenizers, which means the same input text produces different token counts across providers. OpenAI's tokenizer is generally most efficient for English text; some other tokenizers can be 10-25% less efficient on equivalent content. This means strict per-million-token comparisons across providers slightly favour models with less efficient tokenizers.
The TPI accepts this limitation deliberately. Adjusting for tokenizer efficiency would require choosing a representative workload, and any choice (English chat, code, Chinese summarisation, long-context retrieval) introduces its own biases. The TPI measures published list prices in the unit providers themselves use. Buyers running production workloads can use the Simulator to model their specific token consumption against their specific workload.
For workload-equivalent comparisons, several third-party tools publish tokenizer efficiency benchmarks that surface these differences directly. The TPI is complementary to those benchmarks, not a replacement.
Index Members & Calculation Method
TPI = exp((1/n) × Σ ln(blended_price_i)), where n = 0
Reproduce this calculation
You can verify the TPI yourself in any spreadsheet:
- Enter the 23 blended prices below into a column: Claude Fable 5.1 ($22), Claude Haiku 4.5 ($2.2), Claude Opus 5 ($11), Claude Sonnet 5 ($4.4), DeepSeek V4.1 Flash ($0.285), GLM-5.3 ($2.3), GLM-5.3-Flash ($0.255), GPT-5.4 Mini ($1.875), GPT-5.4 Nano ($0.515), GPT-5.6 Luna ($0.5), GPT-5.6 Sol ($12.5), GPT-5.6 Terra ($5), GPT-6 Astra ($22), Gemini 3.1 Pro Preview ($5), Gemini 3.8 Flash ($1.65), Grok 4.6 ($3.2), Kimi K3 ($6.6), MiniMax M3 ($0.57), Mistral Large 3 ($0.8), Mistral Medium 3.5 ($3.3), Muse Spark 1.3 ($2.15), Qwen 3.6 Plus ($1.25), Qwen 3.8 Max ($3.2)
- In an adjacent column, apply LN() to each price
- Sum the LN column, divide by 23, and apply EXP() to the result
- The output should match the $2.41 TPI shown above
Formula: exp(Σ ln(p_i) / n) where n = 23
Index inclusion criteria
The TPI is curated. Not every model in the market is in the index. To be included, a model must meet all seven of the following criteria.
01
Commercial API availability
The model must be accessible via a paid, publicly available API from the provider or through a primary distribution channel. Free-preview-only models are excluded until commercial pricing is published.
02
Stable, published pricing
Input and output token prices must be consistently published in USD per million tokens. Models where pricing varies across credible sources by more than 20% are excluded until pricing stabilises.
03
General-purpose text capability
The model must support general-purpose text generation across at least three task types: summarisation, generation, reasoning, coding, and retrieval. Specialist-only models (embeddings, image generation, speech-to-text) are excluded.
04
Significant market presence
The model must demonstrate meaningful adoption through documented usage volume (such as presence in the top 20 by weekly token volume), broad enterprise availability, or recognition as a flagship model from its provider.
05
Active and non-deprecated
The model must not be scheduled for deprecation within 90 days of index review. When a provider releases a successor in the same product line, the index entry moves to the newer model at the next review, whatever it costs. A reprice at succession is what the index exists to capture, not a reason to skip it.
06
Distinct, separately purchasable models
Each index member must be a distinct model with its own published price. A provider may hold several members, including more than one in a capability tier, where the models are separately priced and separately sold. A model leaves the basket when a successor in the same product line takes its slot, or when its provider announces deprecation; one that is more capable and dearer than an existing member is a new entry rather than a successor, and superseded models still on sale remain purchasable and tracked but no longer occupy a slot.
07
Provider diversity
The index aims to include models from at least six distinct providers. No single provider may account for more than 30% of index members. The current index has 23 members across 11 providers.
Data Sources
48 sources · 121 total records| Source | Records |
|---|---|
| pydantic/genai-prices | 16 |
| platform.claude.com/docs/pricing | 14 |
| Seed data (community) | 10 |
| openai.com/api/pricing | 10 |
| OpenAI | 8 |