Token
A token is a unit of text an LLM counts: roughly a syllable or a short word. The token count sets the price of a request and how much fits into context. The token count of a Claude message can be checked before sending: a separate counting request covers the system prompt, tool definitions, images and PDFs, it is free, but the number is an estimate. Claude models from Opus 4.7 on use a different tokenizer: the same text gives about 30 percent more tokens, so count against the model you plan to use.
Frequently asked questions
Source: Anthropic: Token counting
Where it appears · 15
- Claude Code not available in your country · Harness
- Claude Code · Harness
- AI agent maturity levels · Specs and context
- What are quality gates for AI agents · Harness
- Where to check an AI agent’s work · Specs and context
More 10
- How many rules does a game need · Research
- Jira and an AI agent · Harness
- Claude in Chrome · Harness
- The agent’s data plane and control plane · Harness
- Incident investigation with an AI agent · Harness
- MCP for an AI agent · Harness
- Codex vs Claude Code, which to pick, and when Cursor or Hermes Agent fits · Harness
- How to run and analyze interviews about AI use · Research
- ChatGPT Enterprise usage report from admin console exports · Research
- Prompts for work tasks · Prompts and review