LLM Selection Guide: Assigning Models and Reasoning Effort by Task

    Choosing the right large language model for each task is an engineering problem, not a default setting. This guide explains how to balance capability, latency, cost, and stability when selecting models; how to establish a sensible baseline configuration; how to tier tasks by difficulty; and why you should tune reasoning effort before switching to a bigger model. It also covers multi-model delegation with subtasks, a sample routing configuration, and how to use evaluation data to drive selection decisions.

    Why Model Selection Needs Deliberate Design

    Large language models vary widely in capability, speed, and cost. Routing every request to the strongest model drives costs up quickly, yet many simple requests never need that level of reasoning. Conversely, using only lightweight models causes complex tasks to fail repeatedly, and total cost may not actually be lower. Model selection should therefore be treated as an engineering discipline and driven by data.

    Four dimensions typically need to be considered together:

    • Capability: Can the model complete the task correctly, especially for multi-step reasoning, long-context understanding, and code editing accuracy?
    • Latency: Is response speed sufficient for interactive scenarios?
    • Cost: Per-request cost based on input and output usage units.
    • Stability: Under long-running operation and batch invocation, can the model consistently produce usable results?

    These dimensions often trade off against each other. Gaining capability usually costs more latency and money, so取舍 must be made per task. (tradeoffs must be made on a per-task basis.)

    Start With a Reasonable Default

    Most teams should begin with a balanced-tier model and set reasoning effort to the default medium level. There are two reasons for this starting point. First, most coding and knowledge work can be completed at this tier with an acceptable failure rate. Second, compared with the top tier, the balanced tier is cheaper, allowing the team to accumulate enough usage data before deciding which parts need adjustment.

    Once the baseline is set, record the results for each task type, including pass rate, retry count, average duration, and per-request cost. Without this data, any later adjustment is just guesswork.

    Tier Tasks by Difficulty

    The key to tiering is judging how difficult a task is, not whether its requirements are clearly described. The table below shows a common tiering scheme you can use as a starting point.

    Task Type Recommended Tier Rationale
    Classification, routing, information extraction Lightweight Clear rules, structured input and output, high call volume
    Well-scoped bug fixes, feature implementation to spec Balanced Small context scope, clear validation method
    Large-scale migrations, performance optimization Balanced with higher reasoning effort Clear requirements, but requires cross-module reasoning and repeated verification
    Complex scientific computing, financial modeling, large engineering refactors Flagship High knowledge density, high cost of errors
    Long-running unattended tasks Flagship, or a validated balanced tier High risk of drifting off target mid-run; needs stronger self-verification

    One common misconception deserves attention: a task with a clear specification is not necessarily easy. Migration or performance-optimization requirements can be written very precisely, yet execution still requires analyzing dependencies, weighing side effects, and verifying results—so the difficulty remains high. Judge difficulty by the length of the task’s reasoning chain and the cost of fixing mistakes.

    The lightweight tier suits high-volume, repetitive, rule-driven work. Tasks like classification, routing, and information extraction have small output spaces, and errors can be caught by validation logic—handling them with lightweight models cuts costs significantly.

    Tune Reasoning Effort Before Switching Models

    Before changing models, adjust the reasoning effort first. Reasoning effort is an adjustable setting that determines how much computation and “thinking” the model invests before answering. Compared with switching to a larger model, this knob offers finer granularity and smoother cost changes.

    A practical sequence:

    1. Keep the current model unchanged and raise reasoning effort from low to medium, then to high.
    2. After each adjustment, measure pass rate and cost on the same set of tasks.
    3. If the pass rate stops improving, the bottleneck lies in model capability or task description—only then consider switching models.

    Beyond the high setting, raising effort another level may cost about as much as a larger model, without proportionate gains. Any setting above high must therefore be validated against your own tasks rather than adopted on intuition.

    Subtask Decomposition and Multi-Model Delegation

    A common multi-model pattern: a stronger model handles planning and decision-making, while lightweight models take on auxiliary work such as retrieval and summarization, format conversion, and classification or tagging. These execution units are often called subtasks or subagents.

    The benefits:

    • The main model handles only critical reasoning, keeping its context cleaner and costs more controllable.
    • Auxiliary work can run in parallel, potentially reducing overall latency.
    • Each subtask has clear input/output boundaries, making it easy to test in isolation.

    The costs are just as clear:

    • Handing off tasks requires passing context. Incomplete handoffs produce wrong results.
    • The coordination layer must handle failure retries, timeouts, and result merging, increasing engineering complexity.
    • Errors propagate down the chain. One misclassification can push every subsequent step off course.
    • Debugging gets harder—you need to log the inputs, outputs, and decision rationale at every layer.

    Subtask decomposition should therefore be built on clear input/output contracts. Only delegate auxiliary work to lightweight models when its results can be validated.

    Below is a sample routing configuration showing how task types map to tiers. Field names are illustrative; in a real system, replace them with the configuration options your platform provides.

    1. routing:
    2. default:
    3. tier: balanced
    4. effort: medium
    5. rules:
    6. - task: classification_routing_extraction
    7. tier: lightweight
    8. effort: low
    9. validate: schema_check
    10. - task: bugfix_spec_feature
    11. tier: balanced
    12. effort: medium
    13. - task: large_migration_performance
    14. tier: balanced
    15. effort: high
    16. - task: complex_research_or_long_unattended
    17. tier: flagship
    18. effort: high
    19. max_retries: 2

    After the configuration is in place, design fallback strategies as well. For example, if a lightweight model’s output fails a structural check, automatically retry once at the balanced tier; if the balanced tier also fails, escalate to a human or the flagship tier. This keeps routine costs in check while preventing quality from quietly degrading on the low-cost path.

    Drive Selection With Evaluation Data

    Selection decisions should come from evaluation rather than intuition.