Zenaique

Why CrewAI's manager_llm parameter is usually set to a cheaper model than the workers'

Flashcard·Medium·4.0 · 0·~30s·Asked atCanvaCapgeminiKrutrim
Attempt it
TL;DR

Routing is classification-shaped and runs every turn; spending frontier-tier dollars on it wastes capability. Default to a mini-tier manager and capable workers, and only invert when routing itself is the hard part.

Memory aid
Sign in to see the mnemonic that makes this stick.
Easy to grasp

Think of a restaurant. The host who walks people to tables does not need to be the chef. The host needs to know which table is free and which server handles that section. The chefs in the kitchen are the ones who actually need talent. If you put the chef at the door and a beginner at the stove, dinner is bad and you paid a lot for someone to greet you. CrewAI works the same way: the manager points tasks at the right specialist (easy, fast job), and the specialists do the cooking (the hard job that needs the smart model). The cheap-host, expensive-cooks layout is the default for the same reason every restaurant uses it.

Concept explanation~2 min read

Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.

Hierarchical crews are CrewAI's answer to multi-agent orchestration: one manager agent picks which worker handles each task, and the workers do the substantive work. The manager_llm parameter is a separate handle on the manager's underlying model, distinct from the llm each worker is configured with. Most teams default to setting them all to the same frontier model. Most teams should not.

The model-tiering decision across roles in a hierarchical crew is the highest-leverage cost lever in the architecture. Getting it right cuts per-workflow cost by 50-80 percent without measurable quality loss. Getting it wrong (either way: frontier everywhere, or the inverted split with cheap workers) leaves money on the table and often degrades the output the user sees.

This section walks through the cognitive-shape argument for why routing and generation tier differently, the empirical pattern in 2026 production deployments, the conditions under which the default flips, and the operational discipline of measuring before escalating.

Routing is classification; generation is generation

The manager's job decomposes into three operations every hop: read the conversation state, scan the agent roster with each worker's role and capability description, output a structured choice (worker_name plus task_description).

This is classification-shaped. The input space is finite (one of N workers). The output is a discrete choice plus a short description. The required reasoning is shallow: 'this task mentions a paper, the researcher handles papers, route to researcher.' Smaller models with strong instruction-following nail this kind of work. Claude Haiku 4, gpt-4.1-mini, Gemini Flash all hit 90+ percent routing accuracy on typical crews at a fraction of the frontier-tier cost.

The worker's job is generation. The researcher reads sources and writes an analysis. The coder reads a spec and writes implementation. The analyst reads data and produces insights. These are open-ended generation tasks where output quality scales with model capability all the way to the frontier. The user reads the worker's output; the user is directly exposed to the difference between a Haiku-tier writer and a Sonnet-tier writer.

The decisive asymmetry: the user never reads the manager's routing reasoning. They consume the worker's output. So the manager's contribution to output quality is bounded by routing accuracy, which saturates below frontier capability for most crews. The worker's contribution to output quality is essentially unbounded by model capability for the substantive reasoning tasks workers handle.

Matching model tier to role shape produces a 5-10 percent vs 90-95 percent spend split that mirrors the actual quality contribution of each role.

Why the upside-down split fails
Measuring before escalating
Cross-framework parallels and the broader pattern
Sign in to unlock the full deep dive.

Situations where this technique stops working.

Sign in to see when this approach fails.

2–4 min · Everything important, quickly.

Sign in to see the quick scan of the deep dive.

Real products, models, and research that use this idea.

  • CrewAI production deployments in 2026 commonly pair Claude Haiku 4 manager_llm with Sonnet 4.5 workers, achieving 5-10 percent of spend on routing.
  • LangGraph supervisor patterns follow the same tiering: gpt-4.1-mini supervisor routing to gpt-5 worker nodes.
Sign in to see more production examples.

What an interviewer would ask next. Try answering before peeking at the approach.

QHow would you measure routing accuracy on a hierarchical crew to decide if the manager needs a bump?
A

Hand-label 100 representative tasks with the correct worker target. Run the crew with the mini-tier manager and count first-hop accuracy. Below 85 percent indicates the manager is the bottleneck; above 95 percent confirms mini is sufficient. Between is judgement-call territory and depends on the cost of a routing miss.

2 more follow-ups an interviewer would ask next. Sign in to reveal them.

Red flags & common mistakes

The phrases that signal junior thinking. Click to expand.

Most common mistake

Putting the frontier model on routing because the manager 'sounds important.' Routing is per-turn overhead; capability spent there is invisible to the user, and the workers underperform on the actual work.

Sign in to see all red flags and common mistakes.

60 second bullets to scan on the way to the call.

  • Why routing and generation have different cognitive shapes

  • How per-hop manager cost compounds over a long crew run

Sign in to unlock the revision sheet.

Primary sources. Browse if you want the original framing.

Similar questions

Same topic, related formats. Practice these next.

4 curated
Next question
Why AutoGen 0.4 makes TerminationCondition a first class primitive instead of leaving it to convention
Flashcard·Medium