BETA FEATURE

๐Ÿง  Extended Thinking

Enable extended thinking mode to see the model's reasoning process for complex problems. Better transparency, better results.

How It Works

Extended thinking allows the model to "think out loud" before generating a response. This intermediate reasoning is visible to you and often leads to more accurate answers.

๐Ÿ’ฌ
User Prompt
โ†’
๐Ÿค”
Thinking
โ†’
โœ…
Response

Key Benefits

๐ŸŽฏ
Better Accuracy
Reasoning through problems leads to more correct answers
๐Ÿ”
Transparency
See how the model arrived at its conclusion
๐Ÿ”ง
Debuggability
Identify where reasoning went wrong if needed

Example Conversation

Extended Thinking Demo
User
If a train leaves Station A at 9:00 AM traveling 60 mph, and another train leaves Station B (120 miles away) at 9:30 AM traveling 80 mph toward Station A, at what time do they meet?
๐Ÿง  Thinking
Let me work through this step by step...

Train A starts at 9:00 AM, speed = 60 mph
Train B starts at 9:30 AM, speed = 80 mph
Distance between stations = 120 miles

First, I'll calculate how far Train A travels in the first 30 minutes before Train B starts:
Distance = 60 mph ร— 0.5 hours = 30 miles

At 9:30 AM, remaining distance = 120 - 30 = 90 miles

Combined speed when both are moving = 60 + 80 = 140 mph
Time to meet = 90 miles รท 140 mph = 0.643 hours โ‰ˆ 38.6 minutes

Meeting time = 9:30 AM + 38.6 minutes โ‰ˆ 10:08 AM
Assistant
The two trains will meet at approximately 10:08 AM. Train A will have traveled about 68 miles from Station A, while Train B will have traveled about 52 miles from Station B.

Code Example

Python - Enable Extended Thinking
from mythicdot import MythicDot client = MythicDot() # Enable extended thinking response = client.messages.create( model="mythic-4", max_tokens=16000, thinking={ "type": "enabled", "budget_tokens": 10000 # Max tokens for thinking }, messages=[ { "role": "user", "content": "Solve this complex math problem..." } ] ) # Access thinking and response separately for block in response.content: if block.type == "thinking": print("Thinking:", block.thinking) elif block.type == "text": print("Response:", block.text)

Best Use Cases

๐Ÿ”ข Math & Logic

Complex calculations, word problems, and logical reasoning benefit from step-by-step thinking.

๐Ÿ’ป Code Debugging

Working through code logic to identify bugs and understand program flow.

๐Ÿงฉ Problem Solving

Multi-step problems that require breaking down into smaller parts.

๐Ÿ“Š Analysis

Data analysis and decision-making where showing work is important.

โš ๏ธ Important Notes

Extended thinking uses additional tokens for the reasoning process. Set a budget_tokens limit to control costs. Thinking tokens are charged at the same rate as output tokens. This feature works best with our most capable models (Mythic-4 and above).

Ready to Think?

Enable extended thinking for your complex reasoning tasks.

API Reference โ†’ Model Details