The Concept
The Four Tiers of LLMs
The model names in each tier change every few months; the four tiers themselves have held for years. Learn the tiers, and check the providers' model pages for today's names and prices:
Frontier models (the flagship tier: OpenAI's GPT-6 series, Anthropic's Claude Opus and Sonnet, Google's Gemini Pro) are the most capable — they handle complex reasoning, multi-step planning, and nuanced understanding. They're also the most expensive (dollars per million input tokens, several times that for output) and slowest (seconds per response). Use them for the hardest 5-10% of queries where quality is paramount and cost is secondary.
Workhorse models (GPT-6 Luna, Claude Haiku, Gemini Flash) are the sweet spot for most production workloads. They're around 20x cheaper per token than frontier models (October 2026 list prices), noticeably faster, and handle the vast majority of tasks — classification, extraction, summarization, simple Q&A — with near-frontier quality. This is where 80-90% of your queries should go.
Open-weight models (Llama, Qwen, DeepSeek, Mistral, OpenAI's gpt-oss) can be self-hosted, giving you data privacy, fixed costs (GPU rental vs per-token pricing), and full control over inference. The tradeoff: you manage infrastructure, security patches, and model updates. At high volume (>1M requests/day), self-hosting is often cheaper than API calls.
Small/edge models (Llama 3.2 3B, Phi, small Gemma models) run on laptops, phones, or edge devices. They're fast, free, and private, but limited in capability — suitable for simple classification, basic extraction, or offline scenarios.
You're building a customer support chatbot that handles 10,000 queries/day. Most are simple FAQs; 5% need complex reasoning. What model strategy minimizes cost while maintaining quality?
95% of queries are simple FAQs that a workhorse model (GPT-6 Luna, Claude Haiku) handles well at ~20x lower cost per token. Route those to the cheap tier and escalate only the 5% that need complex reasoning to the frontier model: 0.95 × 1/20 + 0.05 × 1 ≈ 0.1 of the all-frontier bill, roughly a 10x cut while keeping quality on hard cases.
Selection Framework
Every model choice should answer five questions:
| Dimension | Question | Example |
|---|
| Quality | What accuracy/quality threshold must the task meet? | "Must correctly extract 95% of invoice fields" |
| Latency | What response time does the user experience require? | "First token under 200ms for chat" |
| Cost | What is the per-request and monthly budget? | "$0.002/request, $5k/month max" |
| Privacy | Can data leave the organization? | "PII must stay on-premises" |
| Scale | How many requests per second at peak? | "200 RPS during business hours" |
The Model Selection Matrix
Task Complexity vs. Cost Sensitivity:
Low Cost Sensitivity High Cost Sensitivity
┌─────────────────────┬──────────────────────┐
High Complexity │ Frontier models │ Open-weight large │
(reasoning, │ GPT-6.1, Claude Sonnet│ Llama 70B, DeepSeek │
multi-step) │ │ │
├─────────────────────┼──────────────────────┤
Low Complexity │ Workhorse models │ Small/edge models │
(classification, │ GPT-6 Luna, Haiku │ Phi, Gemma, local │
extraction) │ │ │
└─────────────────────┴──────────────────────┘