Enterprise LLM Selection: Break Down Tasks Instead of Chasing Aggregate Scores

    A single composite score compresses coding, retrieval, reasoning, tool use, and long context into one number that is easy to rank but hides where a business actually gets stuck. This article explains why aggregate indices mislead enterprise decisions and how to replace them with task families, each backed by reproducible evaluation, a cost model, and fallback handling. You will learn how to define verifiable task families, design evaluations that reproduce, calculate cost per successful result, use routing instead of one primary model, and set regression and exit conditions after launch.

    A single composite score squeezes coding, retrieval, reasoning, tool use, and long context into one number. It is convenient for ranking, but it hides the stage where your business actually gets stuck. The more reliable engineering approach is to define task families first, build a reproducible evaluation, cost model, and failure fallback for each family, and only then choose a primary model and a backup. A close average does not mean the critical subset is close, and winning on one dimension does not mean a model can replace every scenario.

    Why a Composite Index Is Not Enough

    A composite index usually takes a weighted average across several categories of public questions. It is good at answering “roughly which tier is the overall level in,” but not at answering “can this repository’s bug fix be handed to the model.” There are four reasons:

    1. Weights do not match the business. A leaderboard that weights science questions heavily inflates products that never handle research Q&A; a leaderboard that weights coding heavily underestimates the cost constraints of office batch processing.
    2. Averages hide the tail. Failures on long-horizon tasks, multi-tool turns, and extremely hard knowledge questions tend to concentrate in a few samples. They drag down the quality users actually perceive while moving the total score by only a few points.
    3. The question set differs from the production distribution. Public sets may have been seen in training data, or they may lack enterprise private code conventions, permission boundaries, and dirty data.
    4. Scores do not include the cost of failure. A regression caused by one bad patch, or the manual review triggered by one out-of-permission tool call, never shows up in an intelligence index.

    So a selection statement should read “more suitable under a certain task family and certain constraints,” not “overall closest to some reference model.”

    First, Break Capability Into Verifiable Task Families

    Break things into at least the following categories, and produce a separate conclusion for each.

    Coding and repository-level changes. What matters is not single-function completion, but reading existing code, locating defects, making minimal changes, passing tests, and handling builds and dependencies. Evaluation should use this repository or desensitized historical defects: given a problem description and a failing test, require a patch. Metrics include first-pass rate, patch line count, rollback rate, and amount of manual editing. For long-horizon tasks, also record whether constraints are lost midway, such as ignoring code style or mistakenly editing unrelated modules.

    Tool and web agents. The model needs to plan steps, call retrieval or browser-type tools, verify sources, and give a checkable answer after multiple turns. The point is not whether the final sentence sounds right, but whether the trajectory is compliant: does it fabricate links, click outside its permissions, or treat intermediate assumptions as facts. Trajectory scoring can be used: step correctness rate, number of invalid calls, evidence citation rate, and number of out-of-permission actions.

    Science and hard reasoning. These tasks require symbolic consistency, correct dimensions, and traceable premises; one wrong step ruins everything after it. Public hard problems can only serve as stress tests and cannot replace spot checks by domain experts. If the business is PhD-level derivation or experiment design, assume the current general model may still be a tier short, keep human sign-off, and do not extrapolate from good results in coding scenarios.

    Batch and cost-sensitive tasks. Classification, extraction, rewriting, and first-draft customer support have a low per-call quality bar but high call volume. The decision variable is the cost per effective result: the cost of successful samples plus retries, manual rewriting, and timeouts. Latency, concurrency quotas, and output length belong on the bill too.

    Office and quota-based scenarios. Meeting notes, spreadsheet cleanup, and template filling care more about stable formatting, permission isolation, and usable volume within the plan. Here you do not need the strongest reasoning; look at format compliance rate, sensitive-data handling, and whether peak hours get throttled.

    Evaluation Design: Make Conclusions Reproducible

    For each task family, prepare a fixed set and a rolling set. The fixed set is for version regression; the rolling set comes from real tickets of the past few weeks to prevent overfitting to old questions. Samples should be stratified: simple, medium, long-horizon, dirty input, and permission boundaries. Report pass rate for each layer separately; reporting only the overall average is not allowed.

    Control variables include: the same prompt template, the same tool permissions, the same maximum number of turns, and the same temperature and truncation strategy. When comparing, run both “no tools” and “with tools” to avoid counting the retrieval system’s contribution as model capability.

    Scoring should be as automated and auditable as possible. Coding tasks are judged by tests and static checks; extraction tasks use field-level exact matching plus manual spot checks; open Q&A requires citing evidence, with a second annotator reviewing disagreements. Record failure types: hallucination, missed constraints, tool misuse, context truncation, and format errors. The type distribution guides the next step better than the total score: switch models, tighten tools, shorten the task, or change the prompt.

    An illustrative evaluation record need not be tied to any platform, as long as the fields are stable:

    1. task_family: repo_patch
    2. sample_id: bug-1042
    3. constraints: {max_rounds: 8, tools: [test_runner]}
    4. outcome: fail
    5. fail_type: unrelated_edit
    6. human_minutes: 25
    7. tokens_in: 42000
    8. tokens_out: 6100

    When aggregating, output the median and the tail per task family, not just the mean. The cost and failure rate of long-context samples are usually far higher than short questions, and the mean gets diluted by the short ones.

    Cost Must Be Calculated per Effective Result

    A quote cannot look only at the per-million-token price. The real cost of a task is roughly:

    effective cost = (input + output + tool-side cost) × (1 + number of retries) + manual remediation time × labor rate + failure spillover

    If a coding agent has a higher first-pass rate, the total bill may still be lower even at a higher unit price. Batch extraction is the opposite: once the pass rate has saturated, price cuts and shorter outputs matter more. Also account for cache hits, prefix reuse, and fast abandonment on failure. Set a turn limit and a rule like “stop if two consecutive steps produce no new evidence” to avoid the agent spinning.

    Quotas and concurrency are another kind of cost. Rejections at peak cause queues to pile up, and a low headline price cannot be realized. The selection table should list side by side: unit price, timeout rate, completion time after throttling, and cost per successful sample. Without these four columns, do not draw a “this option is cheaper” conclusion.

    Use Routing Instead of a Single Primary Model

    In production, rarely does one model win every task family. The more common structure is a router plus policies:

    • First do lightweight classification: does it require code changes, external evidence, hard reasoning, batch processing, or does it contain sensitive data.
    • Route coding and multi-step web operations to the more stable candidate; route batch and formatting to the lower-cost candidate.
    • Science reasoning, compliance conclusions, and fund or permission changes default to human confirmation, with the model producing only drafts and supporting evidence.
    • When the primary model times out, gets throttled, or fails on format repeatedly, fall back to the backup and mark the result’s confidence.
    • Write every routing decision to a log: task family, model version, tool list, cost, and whether a human rewrote it. These logs become the rolling set for the next evaluation round.

    The router itself should be simple and explainable. Rules beat an unauditable “let another model secretly decide.” The cost of a classification error should be acceptable: misrouting to a stronger model only costs more, while misrouting to a weaker one must be caught by spot checks. For high-risk tasks, default to the strong-constraint path.

    Post-Launch Regression and Exit Conditions

    Model versions change, and so do prompts and tools. On every change, at least rerun the key layers of the fixed set and compare whether failure types have drifted. Set exit conditions, for example: repository patch first-pass rate drops by more than an agreed margin, out-of-permission tool calls are non-zero, or cost per successful sample exceeds budget. Once triggered, automatically switch back to the last stable version instead of arguing about gut feeling in a chat group.

    Data and permission boundaries come before scores. When the evaluation set contains private code, confirm retention period, whether it is used for retraining, and log desensitization. Tool accounts use least privilege, and write operations on browsers or internal systems are off by default. When these controls fail, no score is high enough to go to production.

    Decision Order

    1. List the real task families and non-negotiable constraints: correctness, latency, budget, and permissions.
    2. Build small, dirty, real samples for each family instead of only looking at the public overall leaderboard.
    3. Record quality, trajectory compliance, and cost per successful sample at the same time.
    4. Replace a model only on task families with clear evidence; keep human gates for science and high-risk conclusions.
    5. Use routing, fallback, and regression to turn “won this test” into “still holds next week.”

    A composite score is good for initial screening; task-family evidence is what suits a launch decision. Coding and tool agents, batch cost, and hard reasoning should be procured and accepted separately. This way the selection conclusion is reviewable and rollback-able, and you never have to write one vendor’s leaderboard rank into your architecture.