Agent economics
Model the cost of multi-step AI agents.
Account for repeated system prompts, tool schemas, accumulated context, summaries, cache hits and billable tool calls.
Agent workflow
All token fields are per run unless stated otherwise.
Trace
Token growth by step
History is re-sent in full-context mode. Fixed-memory mode substitutes the configured summary size.
| Step | History tokens | Input tokens | Output tokens |
|---|