The Multi-Model Era: Model Selection and Compute Cost Governance

    Multi-model platforms have put in-house and third-party models on a single price list, turning model selection from a preference question into an engineering problem. This article explains how to reason about billing as a multiplication chain of base usage, model multiplier, and time-of-day factor; how to build a self-built benchmark with task tiers, multi-dimensional scoring, and a routing baseline; and what to expect once capabilities converge but costs diverge. It then lays out six practical cost-control levers—tiered routing, validation-driven escalation, output constraints, caching and reuse, off-peak scheduling, and retry budgets with fallback chains—along with the observability metrics and governance boundaries needed to keep every unit of compute spent on the call that passes acceptance.

    1. Background: From “One Model, One Choice” to a “Shared Quota Pool”

    A while ago, a typical AI assistant platform offered users only two options: a lightweight in-house tier and a flagship in-house tier. After a major platform update opened third-party models to all users, the number of selectable models quickly grew to nearly ten, and a unified billing scheme shipped alongside them: models from different sources and specifications now share a single quota pool. Each model carries a multiplier, and the lower the multiplier, the fewer quota units a single conversation consumes; specific windows on workdays and holidays get additional discounts, while small, lightweight tasks fall within a free quota.

    The technical meaning of this goes far beyond “a few more options.” It exposes, for the first time and in the form of explicit price tags, the cost and scheduling problems that used to hide behind the single dimension of “model capability.” Since in-house and external models now sit on the same price list, the question worth studying becomes: how can we keep per-task resource consumption as low as possible while capability stays acceptable?

    2. Getting the Math Right: A Generic Abstraction of Multipliers, Time Windows, and Free Quota

    Any multi-model platform’s billing can essentially be abstracted into a single multiplication chain:

    1. cost per call = base usage × model multiplier × time-of-day factor
    2. where: base usage ≈ f(input length, output length, whether retrieval/tool calls are triggered, number of retries)

    Implementation details differ across platforms, but three levers are universal, corresponding to three optimization targets:

    Lever Meaning Optimization approach
    Model multiplier Relative per-unit price of different models at the same base usage Assign model tiers by task complexity
    Time-of-day factor Price difference between peak and discounted windows Schedule offline tasks off-peak
    Base usage Determined jointly by token count, retrieval count, retries, and multi-turn follow-ups Prompt compression, cache reuse, retry budget caps

    An easily overlooked conclusion: the multiplier is just a factor—the real bulk of cost is often base usage. The accumulated consumption of a long, repeated multi-turn back-and-forth can easily exceed that of a single well-chosen, high-quality output. Focusing all optimization effort on “switching to a cheaper model” usually yields a cheap but unusable result—and rework cost is multiplied by the multiplier and then by the number of attempts.

    3. Designing the Evaluation: Task Tiers + Multi-Dimensional Scoring + A Routing Baseline

    To turn selection from “going by feel” into “computable,” you need a self-built benchmark. We split tasks into three tiers by real work scenarios, with rising difficulty and verifiability:

    Tier 1: Long-document structured extraction and summarization. Provide a simulated 20-plus-page annual operating report and ask the model to output two parts: a summary of no more than 800 words covering overall performance and material events after the reporting period that could affect future performance; and a structured table with metrics including operating revenue, net profit attributable to shareholders, net profit attributable to parent company shareholders after non-recurring items, net cash flow from operating activities, R&D investment amount and its ratio to operating revenue, accounts receivable, and so on—each with a current-period value, prior-period value, year-over-year change, and the page number where the data appears in the original text. This tier tests long-context understanding, numerical accuracy, and source traceability—whether page numbers match is the key handle for catching answers that “look right but are actually fabricated.”

    Tier 2: Code generation and runnability. Ask for a reimbursement tool that finance can use directly, including form entry, amount and invoice-number validation, over-limit alerts, and export. Scoring does not look at whether the code is elegant; it looks only at three hard metrics: does it run on the first try, are boundary and exception cases covered, and is the logic consistent with the business rules.

    Tier 3: Retrieval and drafting. Ask the model to search public sources and produce an industry briefing for management. The core metrics for this tier are citation traceability and timeliness labeling, not prose quality.

    There are also three easy-to-get-wrong points in evaluation design:

    • A routing baseline is mandatory. Beyond manually assigning a model per question, also run the platform’s “auto mode” as a control, to judge whether the gain from intelligent routing is real or just marketing talk.
    • Repetition is mandatory. Run each question on each model at least 2–3 times, and report both the mean and the variance. Conclusions from a single run carry no statistical significance, especially for high-variance tasks like code generation.
    • Cost must be recorded. Every run must log the model identifier, multiplier, time-of-day factor, input/output usage, latency, and whether it passed acceptance into a database; otherwise “which is more cost-effective” can never be answered except by feel.

    4. Observations: Capability Converging, Cost Diverging

    On our self-built benchmark, two stable phenomena can be observed.

    First, on tasks like structured extraction, capability differences among mainstream models are converging. In Tier 1 tasks, multiple models from different sources fully met the requirements for format, metric coverage, and page-number labeling, and the difference showed up mainly on the bill: for the same question, quota consumption across models could differ by several times, with the gap between the most expensive path and the optimal path reaching roughly 6x; and if you layer on format constraints and prompt compression, the optimal combination can cut cost by more than 80% relative to “just running the strongest default model.” It must be emphasized that this is an observation under a specific evaluation set and does not constitute a universal conclusion—its value is in explaining where the gap comes from, not in giving a reproducible discount rate.

    Second, the higher the difficulty, the more pronounced the capability tiers, and the narrower the room for cost savings. In Tier 2 and Tier 3 tasks, models start to separate on dimensions such as “first-try pass rate,” “no hallucination in key fields,” and “citations matching the source.” At this point, choosing a low-multiplier model may actually raise total expected cost: a cheap but wrong result requires a full cycle of “detect the error → locate the problem → regenerate → re-verify,” and the actual consumption is the single-call cost multiplied by the expected number of retries.

    So, to judge whether a model is cost-effective, the correct metric is not single-call quota consumption but:

    1. cost per accepted task = Σ(base usage × model multiplier × time-of-day factor) / number of tasks that passed acceptance

    The “passed acceptance” term in the denominator is the key item that folds quality into the cost model.

    5. Cost Control Engineering: Six Actionable Levers

    1. Tiered routing. First do a coarse classification and complexity scoring of tasks, then dispatch by tier: format conversion, rewriting and polishing, and simple Q&A go to the lightweight tier; long-document cross-section reasoning and code generation involving business rules go to the flagship tier or a strong-reasoning tier. In practice, the lightweight tier can handle a fairly large share of real traffic.

    2. Validation-driven escalation. First try a low-cost model once, use deterministic validation (field completeness, numeric comparison against the source, syntax and unit tests, citation reachability) to give a pass/fail verdict, and escalate to a higher-capability tier only if it fails. This is cheaper than “using the most expensive one from the start” and more reliable than “only using the cheap one.”

    3. Output constraints. Explicitly cap length, forbid restating the source, and require the model to output the result directly. The usage of verbose output is often several times that of the effective content and can pollute downstream parsing.

    4. Caching and reuse. System prompts, knowledge fragments, retrieval results, and intermediate structured data extracted upstream should all be cached. When the same long document is fed repeatedly to different models, the extraction result should be reused rather than making each model re-read 20 pages of material on its own.

    5. Off-peak and batching. Tasks with no real-time requirement, such as daily-report generation, batch data cleaning, and offline archival summaries, should be scheduled to the platform’s discounted windows; interactive requests stay in peak windows and are prioritized for latency.

    6. Retry budget and fallback chain. Set a maximum retry count and cost cap for each task type, and predefine fallback paths (switch models, shorten context, degrade to templated output, escalate to a human) to prevent cost from spiraling out of control due to abnormal input.

    Stringing the first two points together, the routing logic can be written as the following pseudocode for a unified adapter layer—another value of which is that it converges models from different sources onto the same interface, avoiding lock-in to a single vendor:

    1. def handle(task):
    2. profile = classify(task) # task type + complexity score
    3. chain = rank_by(profile, quota_left()) # sort by (pass probability / multiplier), low to high
    4. budget = profile.max_cost_units
    5. for model in chain: # try tier by tier, cheap first then expensive
    6. out = invoke(model,
    7. prompt = compress(task),
    8. max_output = profile.length_cap,
    9. tools = profile.need_retrieval)
    10. verdict = verify(out, task) # structural check / numeric traceback / unit tests / citation reachability
    11. if verdict.passed and spend(model) <= budget:
    12. record(task, model, verdict.cost_units)
    13. return out
    14. return fallback(task) # degraded output or escalate to a human

    6. Observability and Cost Attribution

    No measurement, no governance. The minimum viable set of collected fields should include: request ID, task type, model identifier and version, multiplier, time-of-day factor, input/output usage, whether retrieval was used, retry index, validation verdict, and end-to-end latency. On top of this, the dashboard needs at least four metrics:

    • Cost distribution: the share of quota consumption by model and by task type, used to spot “high-cost, low-value” combinations;
    • First-pass rate: grouped by model, the direct basis for deciding whether a model can be moved down to a lower-multiplier tier;
    • Cost per accepted task: the core ranking metric for selection decisions;
    • Escalation rate: the proportion that gets bounced back by validation and escalated to a higher tier; a persistently high escalation rate means the upstream model selection was too aggressive.

    When building this kind of pipeline in-house, you can reuse general cloud capabilities directly: a model inference service handles the calls, object storage holds the evaluation sets and run-result snapshots, a message queue handles peak-shaving and asynchronous scheduling for offline tasks, and logging plus monitoring and alerting services handle metric collection and anomaly notification. On Baidu AI Cloud, the general product categories above cover the main needs of hosting this evaluation and routing system, and the business side only needs to focus on iterating on task classification, validation rules, and the routing strategy itself.

    7. Risk and Governance Boundaries

    Three things must be written into the norms:

    • Data compliance. Define which data is allowed to leave the boundary to external models; sensitive fields should be masked or rewritten before being sent; and the usable data scope of models from different sources should be a configuration item, not a matter of manual reminders.
    • Reproducibility. Every call must pin the model version, parameters, prompt hash, and randomness settings. Silent model version updates invalidate historical evaluation conclusions—this is the most common and most hidden pitfall in a multi-model system.
    • Vendor neutrality. Use an adapter layer to shield differences and preserve the ability to switch and fall back; for critical business, set up a “primary model + backup model” dual track to avoid business interruption caused by single-point rate limiting or a model going offline.

    8. Implementation Roadmap

    1. One week: build a minimal evaluation set covering 5–10 examples each for extraction, generation, and retrieval; run through the multi-model + auto-mode comparison and establish a baseline.
    2. Two weeks: integrate the unified adapter layer and usage logs, launch a “cost per accepted task” dashboard, and complete a first version of tiered routing.
    3. One month: introduce validation-driven escalation and cache reuse, migrate offline tasks to the discounted windows, and quantify the cost and quality change at each step.
    4. Ongoing: run regression evaluations quarterly, track capability drift and price changes from model version updates, and recalibrate the routing thresholds.

    Conclusion: When a platform puts multiple models on the same price list, selection changes from a preference question into an engineering problem. The viable path is not to find “the cheapest model” but to build a measurable, reproducible, and evolvable evaluation and routing mechanism—using quality thresholds to hold the floor, and tiered routing and scheduling optimization to lower the ceiling, so that every unit of compute budget is spent on the call that passes acceptance.