Token
APIDefinition
The fundamental unit of text processing for Claude. Roughly 3-4 characters or about 0.75 words in English. Used for measuring input, output, and context window size. Costs are calculated per input and output token.
Example Usage
A 1000-word document is approximately 1300 tokens. Track token usage to manage costs.