Route Model Capability by Task Complexity

    Engineering teams often misjudge large language models by treating a release note, a single overall score, or a few chat sessions as proof of capability across every task. A more reliable approach is to route work by complexity: give fixed-format, short-context, automatically checkable everyday tasks to faster, lower-cost models, and reserve stronger models for cross-file changes, long-chain reasoning, and work that must stay consistent. Layering is not a judgment on a model tier; it aligns capability, latency, cost, and the cost of failure.

    Define the task before choosing a model tier

    Before selecting a model, write the work as an observable task card rather than a vague label such as “write code” or “do analysis.” A task card should at least state the input boundary, output form, context the model may consult, acceptance criteria, and the cost of failure.

    Everyday tasks usually share these traits: the prompt template is stable; output length is bounded; correctness can be checked quickly with rules, unit tests, pattern matching, or spot review; and a single error can be retried without spreading. Examples include structuring meeting notes, completing API comments, explaining log fields, scaffolding unit tests, and comparing configuration items. These tasks test instruction following, format stability, and basic language ability. They do not necessarily need the strongest long-horizon planning.

    Complex tasks are different. They require understanding constraints across several modules at once; intermediate steps change later assumptions; and errors can enter a codebase, a data pipeline, or an external reply. Typical cases include cross-module refactoring, analysis of concurrency and transaction boundaries, root-cause summaries, design tradeoffs under ambiguous requirements, and long documents that must stay consistent from start to finish. The bottleneck is usually planning, state tracking, and self-correction, not fluency in a single sentence.

    Putting both kinds of work on one default model creates two kinds of waste. Light tasks consume more inference budget than they need. Heavy tasks get reworked when the model is not strong enough. The calls look cheap, but total engineering time costs more.

    Leaderboard scores are only a screening signal

    Public benchmarks are useful because they compare models on the same questions and show relative standing on a type of capability. When reading a score, also look at the question mix, the scoring method, and the distance from your own tasks.

    A higher score usually means the model is more reliable on the question types that benchmark covers—for example, more coding items pass hidden tests, or more answers hit the reference points. It does not automatically establish three things. First, that your private code style, internal terminology, and defect distribution match the benchmark. Second, that the gain is spread evenly across every sub-skill rather than concentrated in a few question types. Third, that tool use, truncation, and context assembly in interactive use match the evaluation script.

    Scores are therefore best used for an initial screen. When the gap is large, put complex-tier candidates among the higher-scoring models first. When the gap is small, or the evaluation domain does not match the business domain, do not make an architecture decision on a few points. More informative signals are the breakdowns: instruction following, long-context retrieval, multi-file editing, tool-use success rate, and whether refusals are reasonable. An overall score averages those dimensions away and can hide cases where question answering improved while editing got worse, or the reverse.

    Use failure modes to supplement the average

    An average describes expected behavior on a batch of questions. Production incidents often come from the tail. In engineering practice, deliberately build a small set of “compound constraint” probes instead of only looking at demo questions the model handles well.

    Probes can include: requiring a language, framework version, error handling, and output format at the same time; placing conflicting older conclusions in the context and seeing whether the model flags the conflict; giving incomplete logs and checking whether it admits missing information or invents a causal story; and asking it to change only a specified function, then checking whether it also edits neighboring files. The same applies to images or diagrams. If the business depends on a figure to express structural relationships, use a fixed prompt to check whether elements are complete, spatial relationships match the description, and labels agree with the text. One dramatic failure is enough to show that the model should not be auto-published on that question type. It does not, by itself, prove the same failure on text reasoning. Conversely, a high text score does not endorse untested diagram or tool-use paths.

    When recording a failure, write down the input, the expected result, the actual output, and whether it can be reproduced. Reproducible format errors, missing steps, and out-of-scope edits are better reasons to switch tiers than a subjective sense that the model “feels smarter.”

    A practical routing policy

    Roll this out in sequence rather than replacing all traffic at once.

    1. Grade the tasks. Use failure cost and whether the result can be checked automatically to split work into everyday, enhanced, and critical tiers. The critical tier should not auto-merge results; a person must review them.
    2. Send everyday work to a lighter model first. Keep prompts fixed and gate outputs with a checker: whether the structure parses, whether required fields exist, and whether the code passes a subset of existing tests. Escalate only after a check fails, instead of starting every task on the strongest model.
    3. Send complex work directly to a stronger model, and narrow its permissions. Provide only the relevant files and interface descriptions. Ask it to list assumptions, impact, and a verification method before the patch. The patch still goes through code review. A higher model tier does not skip tests.
    4. Set escalation rules. For example, switch automatically or manually to a stronger tier when the same prompt still fails checks after a retry, when cross-module inference is required, or when the context contains conflicting requirements. Downgrade when checks pass repeatedly and spot review finds no substantive issues.
    5. Measure separately. By task type, record first-pass rate, lines changed by humans, end-to-end latency, and rework count. Unit call price alone will mislead. A more expensive model that needs less rework can be cheaper on the critical tier.

    A routing check can stay simple. The point is that the rule is readable and changeable:

    1. if auto-checkable and short context and failure can be retried:
    2. use the everyday-tier model
    3. elif cross-module or multi-step planning or high failure cost:
    4. use the complex-tier model, and require human review
    5. else:
    6. start on the everyday tier, then escalate if checks fail

    There is no single best threshold. Replay dozens to hundreds of real samples from your own repositories, documents, and tickets, and see whether escalation actually reduces rework. Cover recent defects. Do not select only examples the model can finish easily.

    Fix prompts and context before switching models

    After routing is in place, many quality problems still come from the input. Everyday tasks depend especially on clear constraints. Putting output format, prohibitions, version, and the acceptance command into the template is more stable than adding them ad hoc in a chat. For complex tasks, control context noise. Outdated designs, unrelated logs, and contradictory comments spend the reasoning budget on the wrong premises.

    A practical split is facts, constraints, and open questions. Attach a source to facts. Write constraints as conditions that can be checked. State open questions so the model is not allowed to assume them silently. For code changes, require the smallest change and the matching test intent so a reviewer can verify it, rather than accepting a long rewrite that cannot be located.

    If the result will enter a production path, keep a human responsibility boundary. The model may draft, retrieve, and generate candidate patches. Merging, releasing, and external commitments still belong to people, based on tests and standards. That boundary does not depend on which model tier you chose.

    How to judge whether an upgrade is worth using

    For any new model tier, draw a conclusion over four weeks rather than from four demo questions. In week one, connect only low-risk templates on the everyday tier and watch format pass rate and the types of errors found in spot checks. In week two, limit the complex tier to a sandbox branch and compare the amount of human editing and missed defects. In week three, review whether the escalation rules are too loose or too strict. In week four, decide the default route.

    If the lighter tier is already stable on your everyday templates, do not switch all traffic because a leaderboard moved. If the complex tier still frequently edits beyond scope or ignores constraints on cross-file changes, do not open auto-merge just because the average score is higher. The standard stays the same: on your task mix, does the choice reduce unacceptable errors at an acceptable latency and cost?

    Layered routing, broken-out evaluation, and small reproducible samples are closer to engineering practice than chasing the overall score of a single release. Get everyday tasks through checks first, leave complex programming and deep reasoning to a stronger model, and set the boundary with replays of your own tasks.