Skip to content

Glossary: AI Security and Guardrails

Token (model text)

Also written: tokens, max_tokens

The chunks of text a model reads and writes, which are billed and capped. `max_tokens` limits the length of each reply, and costs are priced per million tokens.

Where the book teaches it

Related terms

Token bucketDenial of wallet