Glossary

Inference cost

Inference cost is the cost of running a trained AI model to produce an output [S08]. It can take two forms. A buyer pays it as a provider's usage price, usually quoted per million input and output tokens. An operator incurs it directly as compute, energy and serving infrastructure on its own hardware.


Why it matters

  • AI features carry a variable cost. Every query consumes paid compute. Gross margin therefore depends on usage patterns and model choice.
  • The price of a fixed capability falls fast and unevenly. Stanford's AI Index reports that the inference cost of GPT-3.5-level performance fell more than 280-fold between November 2022 and October 2024 [S11]. Epoch AI finds the price of reaching fixed benchmark thresholds falling between 9x and 900x per year (median 50x), and warns that the fastest recent rates may not persist [S13]. Business cases built on today's price for a given capability date quickly.
  • Frontier capability costs more. Within a single provider's price list, tiers differ by orders of magnitude [S09]. Routing each task to the cheapest model that meets its quality bar is a commercial decision.

Example. Cost per request = (input tokens × input price + output tokens × output price) ÷ 1,000,000. Monthly cost = cost per request × volume. Model selection, token volume and input/output mix are major determinants of per-request cost. Output tokens are typically priced higher than input [S09, S10], so output-heavy tasks cost more. Cached input and batch tiers, where offered, lower the effective price for repeated context and deferrable work [S09].

Illustration (OpenAI API Standard tier, short-context list prices as displayed 2026-11-20). These are buyer-facing API usage prices, not the provider's undisclosed operating costs. A support request uses 2,000 input tokens and 500 output tokens. gpt-6-astra is listed at $10.00 per 1M input tokens and $50.00 per 1M output tokens, so its cost per request is $0.020 + $0.025 = $0.045. gpt-6-luna is listed at $0.10 per 1M input tokens and $0.50 per 1M output tokens, so its cost per request is $0.00045. At one million requests a month, that is about $45,000 versus $450. The Batch tier halves the astra price [S09]. Negotiated rates, caching and retries change the result.

Mechanisms

  • Per-request cost — (input tokens × input price + output tokens × output price) ÷ 1,000,000.
  • Volume scaling — Monthly cost = cost per request × volume.
  • Model and mix choice — Model tier, token volume and input/output mix drive per-request cost.

Boundaries

  • Training cost is incurred to create or update a model. Inference cost recurs with every use and scales with demand.
  • Price versus cost. An API price is the buyer's inference cost and the provider's revenue. The provider's own serving cost is usually not disclosed.
  • Per-token price versus cost per task. The economically relevant figure is cost per completed task. It depends on tokens per request, context length, retries, cached input and the share of output tokens, which are typically priced higher than input [S09, S10].
  • Unit economics. Inference cost is one variable-cost input to unit economics, not a substitute for them.

Sources

  1. [S08] IBM, "What is AI inference?" https://www.ibm.com/think/topics/ai-inference (accessed 2026-11-17)
  2. [S09] OpenAI API pricing. https://developers.openai.com/api/docs/pricing (Standard tier, short-context list prices as displayed 2026-11-20)
  3. [S10] Anthropic Claude API pricing. https://platform.claude.com/docs/en/about-claude/pricing (prices as displayed 2026-11-17)
  4. [S11] Stanford HAI, AI Index Report 2025. https://hai.stanford.edu/ai-index/2025-ai-index-report
  5. [S13] Cottier et al., Epoch AI (2025-03-12). https://epoch.ai/data-insights/llm-inference-price-trends
  6. Further reading: Appenzeller, "Welcome to LLMflation", a16z (2024-11-12) https://a16z.com/llmflation-llm-inference-cost/


Further research


Continue exploring

A short path from this concept into related research and practical resources.

  1. Related conceptUnit economics
  2. Deeper researchTraining Vs Inference Economics
Inference Cost: What AI Models Cost to Run, and Why It Matters | The Strategy Stack