Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

Input token

Also: input tokens, prompt tokens

In plain words

A piece of text you send to the model, including documents and instructions.

The fuller definition

An input token is a token supplied to a model as part of the material it processes, such as instructions, conversation, or source text.

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 uploaded passage can add many input tokens even when the question is short.

The distinction that matters

The application's file size and the exact model input are not necessarily the same thing.

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