TThe All-In Podcast
← All frameworks
Strategy

Maturity-Based AI Model Routing

Difficulty
Advanced
Time to result
~weeks to results
Steps
6
Confidence
—

A reusable method for controlling enterprise AI costs without sacrificing performance on difficult work. Begin with the use case rather than selecting one model for every task. New, ambiguous, or consequential workflows should use the strongest available frontier model because their requirements and failure modes are not yet understood. Once a workflow becomes repeatable, collect its data, benchmark performance, and post-train or configure a cheaper model for that narrow purpose. Route routine work to the specialized or open model while retaining a frontier model as a fallback for difficult cases. Continue optimizing the surrounding harness, memory, context, and skills because orchestration can materially affect token consumption even when the underlying model remains unchanged.

Origin

Extracted from The All-In Podcast

How to run it

  1. 1

    Classify the use case

    Determine whether the workflow is immature and exploratory or mature, repeatable, and narrowly defined.

    Pro tip Assess both task ambiguity and the economic consequence of a model failure.

    Watch out Do not treat every token or workload as interchangeable.

  2. 2

    Use frontier intelligence for discovery

    Assign new, ambiguous, long-running, or high-consequence tasks to the most capable general model while the workflow is being discovered.

    Pro tip Use this phase to identify recurring inputs, outputs, edge cases, and failure points.

    Watch out A model that is 95% as capable may still create substantial costs when a long-running task fails midway.

  3. 3

    Build a task benchmark

    Create an internal evaluation set from the workflow's real data and compare quality, reliability, latency, and token cost across candidate models.

    Pro tip Include difficult cases that would trigger escalation to a frontier model.

    Watch out A general benchmark may not predict performance on the company's specific workload.

  4. 4

    Specialize mature workflows

    Post-train, customize, or configure a smaller open model once the task and expected result are sufficiently predictable.

    Pro tip Remove unnecessary capabilities; a narrow customer-support model does not need expertise in unrelated fields.

    Watch out Specialization requires data, technical expertise, and a clearly understood task.

  5. 5

    Route with a frontier fallback

    Send routine cases to the cheaper specialized model and escalate uncertain or difficult cases to a frontier model.

    Pro tip Make routing confidence and fallback frequency visible in operating dashboards.

    Watch out Memory, context, and history may not be fully portable when models are swapped.

  6. 6

    Optimize the harness

    Measure how prompts, tools, memory, skills, and orchestration affect token use, then improve the harness independently of the model.

    Pro tip Track token consumption by job, model, and time period.

    Watch out Model routing alone will not eliminate waste created by a poorly designed harness.

In the wild

Decagon routes mature support tasks to open models

Decagon reportedly sends 90% of its usage to open models after post-training and extensive customization based on its customer-support data. Its use case is sufficiently mature and predictable to make a smaller specialized model economical. Frontier models remain more appropriate during discovery, when the desired workflow and output are still unclear.

→ Most established support workloads can use cheaper models while frontier intelligence remains available for discovery and exceptional cases.

DoorDash benchmarks hybrid code review

DoorDash used internal coding benchmarks to introduce open-weight models into AI code review without degrading quality. Hard work was assigned to Anthropic's frontier model, while lower-level work was delegated to a cheaper model. This illustrates task decomposition, internal evaluation, and selective escalation rather than using one model for everything.

→ The company could reduce model costs while preserving quality on its most demanding coding tasks.

Common mistakes

Routing every task to the cheapest model

Long-running or high-consequence tasks can cost more overall when an inferior model fails after consuming time and tokens.

Specializing before the workflow is understood

A smaller model is most useful when the company has a clear task, representative data, and a reliable benchmark.

Ignoring context portability

A model may not be truly interchangeable if memory, history, and context cannot move with the workload.

From the transcript

“But if you don't know exactly what you're going to use them for, you want the most powerful general intelligence that you can get.”

David Sacks · 43:00

“So what he said is that for mature use cases, yeah, you want to go open, but for immature use cases, which are all the…”

David Sacks · 43:30

“Have the frontier model fable from anthropic to do the hardest work, delegate lower level work to Kimmy 2.6 and they are now releasing their…”

Jason Calacanis · 33:30

From the episode

More Trillion Dollar IPOs, Anthropic $3T, Zuck's Price War, China Ends Open Source?, Trump Accounts

→