Token
Token
What problem it solves
The smallest unit a model processes text in. Both billing and length limits are measured in it.
What it is
The pieces a model splits text into. One token is roughly a quarter of an English word, or one to two Chinese characters.
Context length and API pricing are both denominated in tokens.
Why it matters
The most easily overlooked word that most affects your bill. "Is my context enough" and "why is this so expensive" are both answered here.
Chinese aliases
Related guides
What you can do now
Sources
- Anthropic: token counting docs ↗
Use this term in a task
Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.