← Course | Module 01 - Foundations Lesson 2 of 3
FREE LESSON - MODULE 01

The Model Lineup: Haiku, Sonnet, Opus

🕑 12 min read 🎯 Beginner 💰 Includes pricing

Three Models, Three Purposes

Claude isn't one model - it's a family of three, each designed for different jobs. Choosing the right one is the difference between a $5 API bill and a $500 one.

⚡ Haiku (Speed)

The fastest, cheapest model. Instant responses for simple tasks. Think of it as your "quick assistant" - great for classification, extraction, and simple Q&A.

🎶 Sonnet (Balance)

The sweet spot. Smart enough for complex tasks, fast enough for real-time use. This is what most production systems should use. Best price-to-performance ratio.

🎧 Opus (Power)

The most capable model. Deep reasoning, complex analysis, nuanced writing. Use when quality matters more than speed or cost. The "senior engineer" of the family.

Pricing Breakdown (Per Million Tokens)

ModelInputOutputSpeedIntelligence
Haiku 4.5$1.00$5.00⚡⚡⚡⚡⚡⭐⭐⭐
Sonnet 4.6$3.00$15.00⚡⚡⚡⚡⭐⭐⭐⭐
Opus 4.6$5.00$25.00⚡⚡⭐⭐⭐⭐⭐
Cost reality check

Haiku is 5x cheaper than Opus and 3x cheaper than Sonnet. Sonnet handles 90% of use cases. Opus 4.6 is surprisingly affordable now - only 1.67x the cost of Sonnet for input.

The "Brain + Muscles" Pattern

The smartest teams don't pick one model - they use multiple models together. This is the most important architecture pattern in production AI:

🧠 Brain (Opus/Sonnet)

Makes decisions, plans strategy, handles complex reasoning. Called rarely - maybe once per workflow. Expensive but worth it for the hard stuff.

💪 Muscles (Haiku)

Executes the plan. Runs classification, extraction, formatting on hundreds of items. Called frequently - speed and cost matter here.

Real example

Email triage system: Haiku classifies 1,000 incoming emails (fast, cheap). Only the 50 flagged as "complex" get sent to Sonnet for detailed analysis. Result: 95% cost reduction vs sending everything to Sonnet.

Decision Framework: Which Model When

TaskModelWhy
Classify text (spam/not spam)HaikuSimple binary task, speed matters
Extract data from invoicesHaikuStructured extraction, high volume
Write marketing copySonnetNeeds creativity + brand voice
Code reviewSonnetNeeds understanding, not just pattern matching
Build a full feature from specOpusComplex multi-file reasoning
Legal document analysisOpusNuance matters, mistakes are expensive
Real-time chatbotSonnetBalance of quality and response time
Monitoring/alertsHaikuRunning 24/7, cost adds up fast

Common Mistakes

Mistake #1: Using Opus for everything

"It's the best model, so I should always use it." Wrong. You're burning 60x more money than Haiku for tasks that don't need it. Match the model to the task complexity.

Mistake #2: Using Haiku for complex reasoning

Haiku is fast but it cuts corners on nuanced analysis. If your task requires understanding context across a long document or making judgment calls, step up to Sonnet.

Mistake #3: Not testing across models

Always test your prompt on all three models. You might be surprised - Sonnet often matches Opus on tasks you assumed needed the bigger model. Test with real data, not toy examples.

Key Takeaways

🖨 Download PDF 🐦 Share on X ✈ Share on Telegram
← Previous: What is Claude