Skip to content

Glossary: AI Agents Basics

Token

Also written: tokens, input tokens, output tokens

The small chunks of text a model reads and writes, and what API costs are counted in. Every call re-sends the whole history, so input tokens usually outnumber output tokens.

Where the book teaches it

Related terms

Prompt cachingLatency