What is AI Inference?
AI inference is the process of running a trained model to generate predictions or outputs from new input data.
AI inference is the process of running a trained model to generate predictions or outputs from new input data. Unlike training (which is done once), inference happens every time a user interacts with an AI feature — every chatbot response, every code suggestion, every image generation.
Inference cost is the dominant variable cost in AI features. Training GPT-4 cost an estimated $100M, but inference costs across all users dwarf that number. Each inference call consumes GPU compute proportional to model size and input/output length.
Inference optimization is a critical engineering discipline: model quantization (reducing precision from 32-bit to 8-bit or 4-bit), batching (processing multiple requests simultaneously), caching (storing common responses), and distillation (creating smaller student models from larger teacher models).
For product leaders, inference cost is the unit cost that determines whether your AI feature has positive or negative unit economics. Richard Ewing's AUEB tool calculates Cost of Predictivity — the true per-query cost including inference, retrieval, verification, and error handling.
Why It Matters
Inference cost is what determines whether AI features are profitable or margin-destroying. Every AI query costs real money. Understanding and optimizing inference economics is essential for any AI product strategy.
How to Measure
1. **Cost Per Query**: Total inference spend ÷ total queries.
2. **Cost Per Useful Output**: Inference spend ÷ outputs that met quality threshold.
3. **Token Efficiency**: Average tokens consumed per successful interaction.
4. **Latency**: Time from request to response (affects user experience and throughput).
5. **Batch Utilization**: % of GPU capacity utilized during inference.
Frequently Asked Questions
What is AI inference?
AI inference is running a trained model to generate outputs from new inputs. It happens every time a user interacts with an AI feature, and each call costs compute resources.
How much does AI inference cost?
Costs range from $0.0001/query for small models to $0.10+/query for frontier models. The total cost depends on model size, input/output length, and query volume.
Free Tools
Related Terms
Need Expert Help?
Richard Ewing is a Product Economist and AI Capital Auditor. He helps companies translate technical complexity into financial clarity.
Book Advisory Call →