Choose Frontier Models by Cost per Successful Run

    When several frontier models ship close together, longer context, more modalities, and stronger reasoning are weak buying signals on their own. This article treats model selection as a controlled experiment: freeze the task set, pass criteria, and billing units, then compare what one strictly successful delivery costs in money, latency, and rework—and how to route when defaults go stale.

    When several frontier models change generations at nearly the same time, the easiest mistake is to treat “longer context, more modalities, stronger reasoning” as the purchasing decision. A more reliable engineering approach is to treat selection as a controlled experiment: fix the task set, the success criteria, and the billing basis, then compare how much money, latency, and rework it takes to complete one acceptable delivery. The sections below cover the evaluation window, capability dimensions, measurement design, and routing method so you can rebuild model routing when the default configuration is clearly out of date.

    Fix the comparison window, not the launch date

    Model updates often land within a few weeks of each other. If production traffic is still pinned to a default model, temperature, and reasoning tier from months ago, the routing table is already out of step with what you can actually buy. You do not need to wait for an industry-wide “best” model. Set a clear window instead: for example, take frontier tiers that have been stably callable over the last quarter as the candidate set, and compare only the tiers your account can purchase, rate-limit, and audit.

    Record four facts inside that window: input and output unit prices or equivalent billing units, context limits, available modalities, and whether reasoning strength is tiered. Price shape often decides the architecture earlier than capability claims. Some tiers price input and output separately, and a fast tier may cost several times more. Some raise prices after a promotion or commitment period ends. Some bill longer context or a higher reasoning tier on their own. The selection document must state the price list on the comparison date and how to rerun the comparison after those prices expire, so a short-term discount is not written into annual capacity planning.

    Split “capability” into dimensions you can accept

    For development and knowledge work, frontier models usually need to be judged on several kinds of capability, not one overall score.

    Coding and agent tasks depend on multi-stage consistency: read the requirements, change the code, run checks, and revise from failure output until acceptance is met. A high single-turn completion score does not mean a long chain will need less rework. Knowledge work depends on citation constraints, summarizing tables and long documents, and refusing conservatively when instructions conflict. The context window decides how much specification, log, and diff you can send at once, but effective use is often below the advertised limit, and very long inputs raise both latency and cost. On modalities, text only, text plus images, or further coverage of audio, video, and layout-heavy documents map to different business entry points. Do not pay a multimodal premium if you do not have the corresponding data.

    Each of these dimensions should map to your own failure types: compile failure, tests not passing, format noncompliance, hallucinated citations, unauthorized tool calls, and timeouts. A leaderboard without a failure taxonomy cannot guide routing.

    Use a strict pass rate, not “it looks like it can do it”

    Build a small set of multi-stage tasks. The set does not need to be large, but it must be scored automatically. Each task includes an initial repository or source materials, several checkpoints, and a final strict-pass condition. A strict pass means every checkpoint is met with no manual patching. “Partially done” is diagnostic only and does not enter the primary metric.

    For every trial, record the reasoning tier, input and output tokens, tool-call count, wall-clock time, and whether a retry was triggered. Define the primary metric as cost per successful run:

    cost per successful run ≈ (total spend under that configuration) / (number of strict passes)

    If a configuration never passes, mark its cost as unavailable rather than dividing by a number near zero. Secondary metrics include median latency, timeout rate, and minutes of manual remediation. Repeat at least a small sample and report variance so seed noise is not treated as a model gap.

    A common counterintuitive result: raising reasoning strength from medium to maximum clearly increases spend, but the number of strict passes does not necessarily rise. It can fall because the model over-expands, drifts, or times out. Treat “stronger reasoning” as an optional budget, not a default switch. Raise the tier only when the error type is genuinely insufficient search depth. If the error is specification understanding or tool-use discipline, extra reasoning often only adds to the bill.

    A sketch of the summary logic can stay simple:

    1. for each model, effort in candidates:
    2. runs = execute(tasks, model, effort, seed_set)
    3. passed = count(r for r in runs if r.strict_pass)
    4. cost = sum(r.input_tokens * pin + r.output_tokens * pout for r in runs)
    5. score = cost / passed if passed else None
    6. pick routing by task_type using lowest score within latency SLO

    Use only the billing units in your contract for those unit prices. Do not copy figures from someone else’s write-up into the decision.

    When the gap is small, the cost gap is more informative

    On a mature multi-stage coding set, strict pass rates for frontier tiers often sit in a narrow band. Checkpoint differences may be only a few items and may not be statistically meaningful. Chasing the top of the board then usually returns less than splitting traffic onto a cheaper tier that still meets the latency bar. Set a significance threshold in practice: if the difference in pass counts is inside the noise band, treat capability as a tie and move on to cost and stability.

    Also check the cost multiple. If pass rates are similar but cost per successful run differs by several times, the default should send primary traffic to the lower-cost configuration and reserve the higher-cost one for failed retries, high-risk changes, or the subset that needs a longer context. Watch the price shape as well: when output is far more expensive than input, constrain long explanations; enable a fast tier only when queue delay breaks the experience.

    A selection process you can actually run

    First, freeze the task set and the scoring script. Split work by business into buckets such as coding agents, long-document Q&A, and multimodal understanding. Score each bucket on its own. Do not let one total score cover every route.

    Second, set latency and cost caps for each bucket and drop combinations that are clearly over budget. Open context only to the length the task percentile needs. Do not pour an entire repository into the prompt.

    Third, scan reasoning tiers on the remaining combinations. Plot a “passes versus spend” curve and pick the point with the lowest cost per successful run that still meets the latency target. If raising the tier reduces the pass count, record it as negative return and step down by default.

    Fourth, route instead of replacing one model with another. The main path uses the model with the lower cost per successful run. Upgrade reasoning or switch models for a retry only when the failure matches the error type, and cap the number of retries. Prompt caching, diff-style inputs, and truncated logs can cut input volume. Whitelist tool calls and validate their results so a strong model does not hide the cost of an agent that is out of control.

    Fifth, put the price-list expiry date into monitoring. Recompute cost per successful run when unit prices change, rate limits change, or the task mix drifts. Alerts should watch week-over-week successful-run cost and the strict pass rate, not vendor marketing language.

    How this connects to cloud engineering

    Model routing is only one link in the delivery path. Object storage holds evaluation corpora and traces. A message queue absorbs bursts and isolates retries. A container platform runs the scoring sandbox. Logs and monitoring break cost and pass rate down by model, tier, and task bucket. These are general capabilities. The selection result should be checkable from logs, not left in a spreadsheet. If you run evaluation jobs on cloud resources such as Baidu AI Cloud, the focus is still permission isolation, the sandbox, and cost attribution—not writing one model in as the only standard.

    Conclusion

    Re-evaluate when the default configuration has crossed a dense release period, not on the day a model calls itself the strongest. Narrow candidates to frontier tiers you can actually call, measure capability with a multi-stage strict pass rate, set the default route by cost per successful run, and treat reasoning strength as a budget you can turn off. When capability gaps are small and bill shapes differ a lot, what you save is ongoing operating cost. When maxed-out reasoning lowers the pass count, what you save is a bad assumption that stronger is always better. Maintaining the routing table this way is closer to an auditable engineering decision than chasing a single leaderboard.