Back to skills
SKILL.md
356 Extended Thinking C8f877f8
ASecurity> Better reasoning at lower cost per insight
- 9 stars
- 0 votes
- 0 copies
- 0 views
- Added October 11, 2026
Works with
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 356-extended-thinking_c8f877f8 --agent claude-codeAre you the author of 356 Extended Thinking C8f877f8?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-356-extended-thinking-c8f877f8)# Extended Thinking Quick Reference
> Better reasoning at lower cost per insight
## When to Use
β
**Good for:**
- Complex code architecture
- Strategic planning
- Mathematical reasoning
- Debugging difficult issues
- Multi-step analysis
β **Not for:**
- Simple Q&A
- Translations
- Data extraction
- Quick lookups
## Pricing
| Type | Price |
|------|-------|
| Input tokens | $3/MTok |
| Thinking tokens | ~$3/MTok (cheaper than output!) |
| Output tokens | $15/MTok |
**Key insight:** Thinking tokens are priced like input, not output. Complex reasoning in the thinking phase costs 5x less than in the output!
## Basic Usage
```python
response = client.messages.create(
model="claude-sonnet-4-5",
max_tokens=16000,
thinking={
"type": "enabled",
"budget_tokens": 10000 # Thinking budget
},
messages=[{
"role": "user",
"content": "Design an optimal architecture for..."
}]
)
# Access thinking and response
for block in response.content:
if block.type == "thinking":
print("π§ Thinking:", block.thinking)
elif block.type == "text":
print("π Answer:", block.text)
```
## Budget Tokens
| Budget | Best For |
|--------|----------|
| 5,000 | Moderate complexity |
| 10,000 | Complex analysis |
| 20,000 | Very difficult problems |
| 50,000+ | Research-level reasoning |
## Cost Comparison Example
**Task:** Design a microservices architecture
| Approach | Tokens | Cost |
|----------|--------|------|
| Normal (all output) | 5,000 output | $0.075 |
| Extended thinking | 4,000 thinking + 1,000 output | $0.027 |
| **Savings** | | **64%** |
## Tips
1. **Set appropriate budget** - Don't over-allocate
2. **Use for reasoning** - Not simple tasks
3. **Combine with caching** - Cache the system prompt
4. **Review thinking** - Learn from Claude's reasoning process
---
*Source: [Anthropic Extended Thinking Docs](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking)*
Attribution
Comments
Loading commentsβ¦
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.