← Back to glossary Glossary

Inference Cost

Reviewed 19 July 2026 Canonical definition Part of: AI Agent Cost & Token Terms →

Inference cost is the financial cost of running a language model to generate a completion, calculated from the number of input and output tokens multiplied by the model provider's per-token pricing. In production agent deployments, inference cost is often the dominant operational expense and must be tracked per agent, per task, and per team to enable budget accountability, cost attribution, and optimisation decisions.

§01 / QUESTIONSterm: Inference Cost
Questions

Common questions.

What is Inference Cost?

Inference cost is the financial cost of running a language model to generate a completion, calculated from the number of input and output tokens multiplied by the model provider's per-token pricing.

Why does Inference Cost matter for AI agents?

In production agent deployments, inference cost is often the dominant operational expense and must be tracked per agent, per task, and per team to enable budget accountability, cost attribution, and optimisation decisions.

Which terms are related to Inference Cost?

Closely related concepts include Token, LLM Gateway, Token Budget, Agent Budget. Each is defined in the Prefactor glossary.

§02 / RELATEDnext: where this fits

See how every agent performs, and make it better

Prefactor helps teams observe, evaluate, and improve their AI agents in production, across every framework and provider.