Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

Output token

Also: output tokens, completion tokens

In plain words

A piece of text the model writes. Output is usually priced higher than input.

The fuller definition

An output token is a unit generated by a model as part of its response. Providers may separately account for visible output and other model-specific processing.

One illustrative context budget
Instructions
2,000
Sources and history
8,000
Output reserve
4,000
Unused
2,000

A hypothetical 16,000-token budget. Real limits and token accounting depend on the model. Saving a file outside this budget does not mean it is present in the current context, and a passage inside it is not guaranteed equal attention.

A concrete example

A long answer requires more generated tokens than a short label.

The distinction that matters

Output limits, context limits, and billable-token accounting are related but not identical.

Related terms

Where it is taught

Give AI a brief it can actually follow

Source and further reading

Anthropic · Context engineering

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC