- Updated: January 24, 2026
- 6 min read
UltraThink Deprecation: Automatic Extended Thinking Becomes Default
Answer: The “UltraThink” keyword that once unlocked Claude’s maximum reasoning power has been officially deprecated; today, extended thinking is automatically enabled for supported Claude models with a default token budget of 31,999, and developers can double this budget to 63,999 tokens on 64K‑output models by setting the MAX_THINKING_TOKENS environment variable.

Why the UltraThink Decommission Matters for AI Developers
Since its introduction, the UltraThink keyword was the secret sauce that let Claude models allocate up to 31,999 “thinking” tokens before producing output. Its removal on January 16 2026 signals a shift from manual “magic words” to a more transparent, default‑enabled reasoning mode. For developers building AI‑enhanced products—whether on the UBOS platform overview or custom integrations—understanding the new token‑budget mechanics is essential to avoid unexpected costs, latency spikes, or sub‑optimal model performance.
What Exactly Was Deprecated?
Anthropic’s announcement declared that the ultrathink keyword, along with its siblings (megathink, think), would no longer trigger any special behavior. The underlying code that previously inspected the prompt for these tokens has been stripped out, and the “thinking mode” is now turned on by default for all supported Claude models.
“Closing as ultrathink is now deprecated and thinking mode is enabled by default.” – Sarah Deaton, Anthropic (Jan 2026)
In practical terms, any API call that previously required you to embed ultrathink now receives the same maximum reasoning budget automatically, provided the model supports extended thinking.
The New Automatic Extended Thinking Feature
All supported Claude models—Opus 4.5, Sonnet 4.5, Sonnet 4, Haiku 4.5, and Opus 4—receive a default thinking budget of 31,999 tokens. This mirrors the old UltraThink limit, ensuring backward compatibility while simplifying the developer experience.
Default Token Budgets by Model
| Model | Max Output Tokens | Default Thinking Budget |
|---|---|---|
| Opus 4.5 | 64,000 | 31,999 |
| Sonnet 4.5 | 64,000 | 31,999 |
| Sonnet 4 | 64,000 | 31,999 |
| Haiku 4.5 | 64,000 | 31,999 |
| Opus 4 | 32,000 | 31,999 |
For models that support a 64K output window, the thinking budget can be increased up to 63,999 tokens—just one token shy of the total limit, leaving room for the final answer.
How to Unlock the 63,999‑Token Budget
The hidden lever is the MAX_THINKING_TOKENS environment variable. When set, the SDK overrides the default 31,999‑token budget with the value you provide.
// Example in a Node.js environment
process.env.MAX_THINKING_TOKENS = "63999";
await client.messages.create({
model: "claude-opus-4-5",
max_tokens: 64000,
thinking: {
type: "enabled",
budget_tokens: parseInt(process.env.MAX_THINKING_TOKENS)
}
});
To make the change permanent for a development machine, add the export to your shell profile:
# Bash or Zsh
export MAX_THINKING_TOKENS=63999
Once set, every request to a 64K‑output model will automatically receive the larger budget, effectively doubling the model’s reasoning depth without any code changes.
When to Use a Higher Budget—and When to Turn It Off
More thinking tokens improve performance on complex, multi‑step problems, but they also increase latency and cost. Below is a practical decision matrix for developers:
Ideal Scenarios for the Default 31,999 Tokens
- Standard code generation or refactoring tasks.
- Typical debugging sessions where the problem space is limited.
- Generating marketing copy, such as using the Before-After-Bridge copywriting template.
- Simple data extraction or transformation pipelines.
When to Switch to 63,999 Tokens
- Designing large‑scale system architectures that require deep dependency analysis.
- Multi‑file codebase refactors where the model must keep track of many moving parts.
- Complex mathematical proofs or algorithmic optimizations.
- Advanced AI‑driven research tasks, such as building a Chroma DB integration that demands extensive reasoning over vector data.
Disabling Extended Thinking (If You Prefer the Old Behavior)
Two straightforward options exist:
- Set
MAX_THINKING_TOKENS=0for a single session. - Configure the SDK settings file:
{ "alwaysThinkingEnabled": false }
Disabling thinking can be useful for ultra‑low‑latency micro‑services where every millisecond counts.
Implications for Developers Building on Claude
The deprecation simplifies prompt engineering—no more hunting for “magic words.” However, it also places responsibility on developers to manage token budgets explicitly, especially when scaling to production workloads.
Cost Management
Thinking tokens are billed the same way as output tokens. Doubling the budget roughly doubles the cost per request for 64K models. Use the UBOS pricing plans calculator to forecast expenses based on expected token consumption.
Latency Considerations
Each additional thinking token adds a small amount of compute time. For latency‑sensitive applications—like real‑time chatbots built with the GPT-Powered Telegram Bot—you may want to cap the budget or disable thinking altogether.
Integration Opportunities
UBOS’s low‑code environment makes it trivial to expose the MAX_THINKING_TOKENS flag as a configurable parameter in your UI. For example, a SaaS product could let power users toggle “Deep Reasoning Mode” on the fly, leveraging the Workflow automation studio to route high‑complexity tasks to the larger budget.
Other UBOS integrations that can benefit from the new default reasoning include:
- Telegram integration on UBOS for richer conversational agents.
- ChatGPT and Telegram integration where multi‑turn reasoning is essential.
- OpenAI ChatGPT integration for hybrid model pipelines.
- ElevenLabs AI voice integration to generate spoken explanations after deep reasoning.
Best‑Practice Checklist
- Audit existing prompts for legacy
ultrathinkstrings and remove them. - Set
MAX_THINKING_TOKENSonly for models that support 64K output. - Monitor token usage via UBOS analytics dashboards.
- Implement fallback logic: if latency exceeds a threshold, automatically reduce the budget.
- Document the reasoning mode in your API contracts for downstream consumers.
Conclusion
The retirement of UltraThink marks a maturation of Claude’s API: reasoning is now a first‑class, default feature, and developers gain fine‑grained control through the MAX_THINKING_TOKENS variable. By aligning token budgets with the complexity of your tasks, you can balance cost, speed, and accuracy—whether you’re building a startup prototype with the UBOS for startups or an enterprise‑grade solution on the Enterprise AI platform by UBOS.
For the full technical announcement, see Anthropic’s original blog post: UltraThink deprecation – Anthropic Blog.
Ready to experiment with the new reasoning defaults? Explore our UBOS templates for quick start, try the AI SEO Analyzer to see extended thinking in action, or dive into the UBOS AI updates page for the latest feature rollouts.
Stay ahead of the curve—leverage the power of automatic extended thinking, fine‑tune your token budgets, and deliver smarter AI experiences today.
Andrii Bidochko
CTO UBOS
Andrii Bidochko is an AI entrepreneur and researcher focused on AI agents, reinforcement learning, and autonomous systems. He writes about the technologies shaping the future of machine intelligence, from frontier models and agent architectures to real-world AI applications.