Claude Code in Practice (5): Model Mix Strategy
Tests with Haiku, refactoring with Sonnet, architecture with Opus. Learn how to optimize both cost and quality by selecting the right model for each task.

Claude Code in Practice (5): Model Mix Strategy
Tests with Haiku, refactoring with Sonnet, architecture with Opus. Learn how to optimize both cost and quality by selecting the right model for each task.
TL;DR
- Haiku: Fast and cheap → Tests, simple fixes, code search
- Sonnet: Balanced → General development, refactoring, debugging
Related Posts

AI Tools & Agents
Build Your Own LLM Knowledge Base — A Karpathy-Style Knowledge System
Complete guide to building a permanent personal knowledge system with Obsidian + Claude Code. Wiki + Memory dual-axis architecture.

AI Tools & Agents
Why Karpathy's CLAUDE.md Got 48K Stars — And How to Write Your Own
One markdown file raised AI coding accuracy from 65% to 94%. Analyzing Karpathy's 4 rules and practical writing guide.

AI Tools & Agents
Why AI Forgets Everything — 3 Open-Source Solutions to the Memory Crisis
karpathy-skills, claude-mem, Cognee — comparing 3 approaches to solving the AI memory problem.