# Inference Cost

URL: https://alpsuleyman.com/en/glossary/inference-cost
Author: Alp Suleiman

Category: AI and Growth
Name: Inference Cost

**Definition.** The compute cost of an AI model producing an answer on each call; if you use an API, it is usually billed on the tokens processed. In classic software one more customer costs almost nothing, while here every query incurs a real expense.

**Insight.** There is no single "cost per query" figure: providers price input and output separately, and cached input and batch processing as separate line items. Caching has separate prices for writes and reads; if the hit rate is low, the saving is smaller than expected (our reading). If you set price for the average user, cost can exceed revenue on the heavy user; track cost as a distribution, not an average (our reading). Take the current table from the provider's page and do not bake an old figure into your model.

**Sources**
- [OpenAI: API pricing](https://developers.openai.com/api/docs/pricing)
- [Anthropic: Pricing](https://platform.claude.com/docs/en/about-claude/pricing)
- [Bessemer: The AI pricing and monetization playbook](https://www.bvp.com/atlas/the-ai-pricing-and-monetization-playbook)
