Inference
The tokens a reasoning model generates while working through a problem before it writes its final answer.
The tokens a reasoning model generates while working through a problem before it writes its final answer. OpenAI calls them reasoning tokens and Anthropic calls them thinking tokens, and both bill them as output tokens even when the raw reasoning is hidden or only shown as a summary. They also take up space in the context window. This is why the same prompt can cost several times more at a higher effort level with no change in the visible answer length.
Primary source: platform.claude.com
Example
In practice, developers reach for Thinking Tokens when they need the capability described above as part of an AI feature or workflow.
Hands-on guides, comparisons, and tutorials that cover Inference.
FAQ
The tokens a reasoning model generates while working through a problem before it writes its final answer.
Thinking Tokens sits in the Inference part of the AI stack. Understanding it helps you make better decisions when building, debugging, and shipping AI features.
Developers Digest publishes tutorials and videos that cover Inference topics including Thinking Tokens. Check the blog and YouTube channel for hands-on walkthroughs.
Related
The split pricing model where LLM APIs charge one rate per million tokens you send (input) and a higher rate per million tokens the model generates (output).
An API setting that tells a reasoning model how much work to put into a response, trading answer quality against latency and token cost.
The computation a model spends while answering a prompt, as opposed to the compute spent training it.

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.