What are tokens?

Tokens are the sub-word chunks of text that large language models read as input and generate as output, averaging roughly three-quarters of an English word per token. Because model providers meter both context window limits and API pricing in tokens—with output tokens usually costing more—tracking token usage per run is essential for controlling latency and unit economics.

By Sacha Arbonel, Founder and CTOLast updated
  • Also called
  • Input tokens
  • Output tokens

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.

Go deeper