Efficient Execution-Tier Models and Multi-Model Orchestration: Engineering Practices
This article explains how to design a two-tier LLM architecture that pairs a reasoning tier with an execution tier, and how to route requests between them. It covers why running every request through a flagship model wastes resources, how to profile execution-tier models across success rate, latency, cost, and reliability, how to treat reasoning budgets as a tunable parameter, and three practical routing patterns: prefetch routing, cascade escalation, and parallel Planner–Worker–Verifier agents. It also details hallucination mitigation, a metrics system that turns cost savings into observable signals, and a checklist of common pitfalls. Apply the ideas and you can make sustained, measurable trade-offs among accuracy, latency, and token cost.}
1. Why separate the “reasoning tier” from the “execution tier”
Over the past year, model service capability curves have stretched in three directions at once: longer chains of thought, larger context windows, and lower per-token prices. But engineering practice soon exposed one fact — running every request through a flagship model is a structural waste.
Three reasons:
- Task distributions are long-tailed. In real workloads, the vast majority of requests are “short-chain tasks”: intent classification, field extraction, format conversion, small single-file edits, SQL generation, and single-turn Q&A. The value of these tasks concentrates in “determinism” rather than “deep reasoning.”
- The cost model is non-linear. Most providers price input and output tokens separately, and output is usually priced significantly higher than input; meanwhile, reasoning models tend to produce output packed with intermediate thinking content. A long chain of thought is an investment on hard tasks and pure loss on easy ones.
- Latency directly determines the interaction pattern. Time to first token and end-to-end latency decide whether a feature is “interactive” or “can only run as an async batch.” The value of an execution-tier model is not being “smarter” but compressing latency into a range that can be embedded in a synchronous request path.
So the model selection question should not be framed as “which model is the strongest,” but as “which model tier matches the risk level and latency budget of the current task.”
2. The execution-tier model profile: four dimensions, not one score
Judging by a single composite intelligence index is easy to get wrong. To evaluate an execution-tier model, it helps to break the assessment into at least four groups of metrics:
| Dimension | Key metrics | Engineering meaning |
|---|---|---|
| Task success rate | Pass rate on end-to-end verifiable tasks, pass@1 | Decides whether it can run unattended |
| Latency | Time to first token, p50/p95 end-to-end latency | Decides whether it can enter a synchronous path |
| Cost | Tokens per task, cost per thousand successful tasks | Decides how much traffic it can carry |
| Reliability | Fabrication rate, instruction-following rate, structured-output validity rate | Decides whether human review is needed |
Fabrication rate deserves separate emphasis. Its engineering definition should be: the proportion of assertions in the model output that cannot be located in retrieved evidence, tool return values, or the codebase. Note that this differs from “factual error” — factual errors may stem from stale knowledge, whereas fabrication means the model produces content that looks credible without any grounding (invented function names, non-existent config keys, documentation links pulled out of thin air).
A mature execution-tier model usually improves over the previous same-tier generation in three ways: a significantly higher pass rate on multi-step tasks under an equal thinking budget; a fabrication rate that drops by several times; and higher task throughput under the same settings. These three are the real meaning of an “efficient execution tier.”
3. Reasoning budget tiering: treat “thinking mode” as a tunable parameter
Mainstream model services now commonly offer thinking-budget levels (low / medium / high / very high). Engineering practice should treat this as an orchestratable parameter, not a fixed configuration:
- Low budget: intent classification, structured extraction, templated generation, and the routing decision itself;
- Medium budget: routine coding, writing unit tests, log attribution;
- High budget: cross-module refactoring, concurrency bug localization, complex data pipeline design;
- Very high budget: enabled only on tasks explicitly marked “high-risk, high-value,” with a hard token cap.
A key engineering detail: the default should lean toward low budget. A common pattern in production incidents is “cranking up the thinking level across the board to protect accuracy,” which makes the cost curve spike while accuracy gains show diminishing returns. The right approach is to let the budget adapt to task risk and to keep a cascade path that escalates from low to high.
4. Multi-model orchestration: three deployable routing patterns
When a team has both reasoning-tier and execution-tier models, the orchestration patterns fall into roughly three categories.
Pattern 1: Prefetch Routing
Before a request enters, a very lightweight classifier (even the execution-tier model itself) judges task complexity and decides which tier to dispatch to. The advantage is extremely low cost and simple implementation; the downside is that classifier misjudgments directly cost quality.
Pattern 2: Cascade escalation/de-escalation
Try the low-cost tier first, and only escalate to the flagship tier when confidence is insufficient, validation fails, or a boundary condition is triggered. This offers the best cost-performance ratio and is the mainstream choice in current engineering practice:
def solve(task, policy):# Tier 1: low-cost execution tier, low thinking budgetdraft = call_model(tier="execution", # efficient execution tierprompt=task,thinking_budget=policy.fast_budget, # defaults to lowmax_output_tokens=policy.fast_max_out,)ok = validate_schema(draft) # structured output validityok &= verify_grounding(draft, task) # whether assertions are traceableif ok and confidence(draft) >= policy.threshold:return draft, "execution"# Tier 2: flagship reasoning tier, with the previous draft as contextrefined = call_model(tier="reasoning",prompt=render(task, previous_draft=draft),thinking_budget="high",)return refined, "reasoning"
The corresponding policy config can be externalized as a declarative file to ease canary rollout and rollback:
routing_policy:default_tier: executionescalation_triggers:- schema_validation_failed- grounding_check_failed- confidence_below_threshold- tool_call_retries_exceeded: 2budgets:execution: {thinking: low, max_output: 1024}reasoning: {thinking: high, max_output: 8192}guards:max_escalations_per_task: 1max_tokens_per_task: 12000
Pattern 3: Parallel agent division of labor (Planner–Worker–Verifier)
In complex delivery scenarios (such as cross-repo changes), the flagship model acts as the coordinator responsible for task decomposition and merge decisions, while execution-tier models drive multiple “worker agents” and “verifier agents” that build and test code changes in parallel within isolated workspaces. Two hard requirements here:
- Isolation: each worker agent has its own workspace and branch view to avoid overwriting one another; merging is handled serially by the coordinator.
- Verification first: verifier agents produce no new content; they only give an executable verdict on the changes (compiles / tests pass / static checks pass). Failed verification means rollback; “continuing to the next step with a failed verification” is not allowed.
5. Hallucination governance: don’t count on the model alone
Reducing the fabrication rate is a combination play; ranked by return on investment:
- Retrieval constraints and mandatory citations: require the model output to carry evidence citations, and perform citation re-checking — each citation must match verbatim in a retrieved snippet or tool return value, otherwise that assertion is judged as fabrication.
- Structured-output constraints: use a schema to constrain the return format, converging “free text” into checkable fields:
{"type": "object","required": ["answer", "evidence", "confidence"],"properties": {"answer": {"type": "string"},"evidence": {"type": "array", "items": {"type": "string", "minLength": 8}},"confidence":{"type": "number", "minimum": 0, "maximum": 1}}}
- Tool calls instead of generation: for any verifiable fact (config values, interface signatures, row counts), always obtain it via a tool call rather than letting the model “recall” it.
- Allow abstention: explicitly allow “insufficient information” in the prompt and decoding strategy, and set a fallback exit for low confidence (return candidates plus an uncertainty label).
- Secondary verifier: use a smaller but stable model or a deterministic rule set for a final check, focusing on high-fabrication-risk fields such as numbers, identifiers, and paths.
6. Metrics system: turn “saving money” into observable signals
Don’t watch accuracy alone. It helps to build a dashboard and drill down by business dimension (scenario / tenant / model tier):
- Cost per successful task = total token cost ÷ number of successful tasks (this reflects real efficiency better than “cost per task”)
- Escalation rate: the share of tasks that trigger a cascade escalation — a core signal of whether the routing policy is healthy
- Average thinking consumption: the tokens spent on intermediate reasoning per task, used to catch “budget inflation”
- Latency percentiles: p50 and p95 must be viewed together; p95 sets the lower bound of user perception
- Fabrication rate: dual measurement combining sampled manual annotation and automated citation re-checking
Three supporting techniques: prefix caching (put stable system prompts, tool definitions, and code context at the front and keep them fixed; cache hits significantly lower input-side billing), batching (send async paths through batch endpoints for lower unit prices), and context compression (retrieval-based trimming for long repo context instead of stuffing the whole thing in — input tokens are usually billed uniformly in long contexts, so the gain from trimming is linear).
7. A general implementation path on Baidu AI Cloud
Mapping the above onto a general-purpose cloud capability stack yields a clear implementation path:
- Model access layer: manage multiple model tiers uniformly through a model service platform, forming a two-tier “execution / reasoning” supply; manage routing policy as a config center that supports canary rollout and one-click rollback.
- Traffic governance: on the gateway side, implement task-label-based splitting, quota throttling, and fallback, ensuring the flagship tier prioritizes high-value requests during peak periods.
- Async and decoupling: decouple long-running agent tasks via a message queue, land results in object storage, and have the frontend poll or subscribe to callbacks, so the synchronous path isn’t blocked by long tasks.
- Containerized execution environment: run worker-agent code builds and tests in isolated sandboxes on a container platform, with least-privilege config, network egress allowlists, and resource limits, while retaining complete audit logs.
- Observability: use a log service plus monitoring and alerting to connect the full “request — token consumption — tool calls — verification results” chain, with threshold alerts on escalation rate and p95 latency.
- Security boundary: when the execution-tier model has tool-calling ability, write operations must go through a confirmation step, and production defaults to read-only; secrets are delivered via a credential manager and never enter the prompt context.
8. Common pitfalls checklist
- Choosing by leaderboard: public benchmark task distributions often differ greatly from your own business distribution, so you must recalibrate with an offline eval set built from your own business.
- Unbounded cascades: without guardrails like “at most one escalation per task” and “hard token cap per task,” cascades degrade into cost amplifiers.
- A toothless verifier: doing only schema-validity checks without evidence re-checking means the escalation path is almost never triggered, which is equivalent to paying for flagship-tier cost for nothing.
- Ignoring output-side cost: output is usually priced higher than input, so controlling
max_output_tokensis often more immediately effective than optimizing the prompt. - One-shot full cutover: model-tier changes should always go through a canary, and keep the previous version’s eval baseline for regression comparison.
- Hardcoding orchestration logic: routing thresholds, budget levels, and escalation triggers should be externalized as config; otherwise tuning requires a release.
Conclusion
The “flagship tier + execution tier” two-tier architecture essentially turns model selection from a product decision into an engineering parameter. The real gains come not from some model scoring higher, but from three things: matching tasks to the right model tier, the cost loop formed by cascades and guardrails, and the reliability floor formed by citation re-checking and verification-first. Once this orchestration is observable and rollback-capable, teams can make sustained, measurable trade-offs among success rate, latency, and token cost, rather than relying on one-off prompt tuning.
