Why do tokens matter?
Multi-step agents send the growing conversation history and tool outputs back to the model on every loop iteration. Unchecked tool payloads or verbose prompts multiply token spend quickly across thousands of customer runs.
A token is roughly a short word or part of a word. Everything in the context counts as input tokens, and the reply counts as output tokens, which usually cost more.
Token usage drives both cost and speed, so it’s worth measuring per conversation, not only per month.
Key characteristics of tokens
- Input tokens cover system instructions, tool schemas, conversation history, and tool responses on every step.
- Output tokens cover generated reasoning, tool-call arguments, and user-facing text, and typically cost more per million.
- Multi-step agent loops re-send accumulated input context on each turn, making concise tool outputs high leverage.
- Tracking tokens per run reveals runaway loops and helps forecast per-customer margins.
Example in practice
How Norilu handles tokens
Frequently asked questions
- Roughly how many words is 1,000 tokens?
- In English prose, 1,000 tokens is roughly 750 words. Structured JSON, code, and non-English languages can use more tokens per word.
- Why do agent runs use more input tokens than a single chat prompt?
- Each time an agent calls a tool and loops back to the model, it re-sends the system prompt, prior turns, and new tool results as input tokens.