IntSen

Learn · AI spend

How to measure the cost of an AI agent turn

IntSen team · Updated 12 November 2026 · 6 min read

Short answer

The cost of an AI agent turn is the sum of the cost of every model call the agent makes to answer one user message. To measure it, tag every call in the turn with the same identifier, record the tokens and price of each call, and add them up. The same records roll up to cost per conversation, per agent and per use case.

Common questions

Why is my agent's cost higher than the token count of its answers?

Because every call in a turn resends the conversation and the tool results so far. Input tokens grow with each step, and they usually make up most of an agent's cost.

How do I attribute AI cost to teams?

Tag every model call with the agent and use case it belongs to, and keep a record of which team owns each. Cost per call then rolls up to agents, use cases and teams.

Can I cap the cost of a single agent turn?

Yes, if your model calls pass through a point that tracks the turn's running cost, such as an AI gateway. It can refuse further calls in the turn once a cost or time limit is reached.

Should evaluation and guardrail costs count toward the agent?

Track them separately. They are real costs of running the agent safely, but mixing them in hides how much the agent's own work costs and makes budgets harder to set.

Ready to make your enterprise AI accountable?

See how IntSen can help your teams govern access, safety, quality and spending across the AI applications and agents you already run.