此頁面有繁體中文版本。

This page is also available in English.

LLM 推理预算的智能模型路由

Dynamic model routing balances request throughput against budget depletion by trading faster processing against accelerated resource consumption. Raising dispatch efficiency resolves incoming demand more rapidly, but this heightened activity burns through the compute reserve much sooner. In illustrative testing, Unserved Requests falls on average from 71.5 to 51.7 by day 14 across 20 Plays when routing efficiency increases, demonstrating how throughput gains hasten budget exhaustion.

Machinations diagram of Smart Model Routing for LLM Inference Budgets: Query Arrival, Unserved Requests, Inference Budget, Processed Requests, Spent Compute, Routing Efficiency, Model Cost Tier, Budget Level RatioMachinations diagram of Smart Model Routing for LLM Inference Budgets: Query Arrival, Unserved Requests, Inference Budget, Processed Requests, Spent Compute, Routing Efficiency, Model Cost Tier, Budget Level Ratio

主要收获

  • Setting Routing Efficiency to 4 instead of 2 lowers Unserved Requests to an average of 51.7 at day 14 compared to 71.5 in the baseline.
  • Reducing the starting Inference Budget from 500 to 250 causes Unserved Requests to climb to an average of 85.5 by day 14.
  • A planner should verify available Inference Budget before increasing Routing Efficiency, because faster query processing accelerates credit burn and induces earlier throttling.
  • Throttling driven by the Budget Level Ratio causes backlog divergence to accelerate in later days as operational credits empty into Spent Compute.

How do routing rules balance backlog against operational compute?

Anyone who oversees an operational compute budget must balance the need to process incoming user queries quickly against the risk of depleting compute credits before the cycle ends. In this playable model, the values are illustrative and show that on average over twenty Plays, baseline settings leave Unserved Requests at 71.5 by day 14. Adjusting the dispatch capacity alters that backlog considerably, dropping it to 51.7 or letting it climb to 85.5 depending on available resources.

The model demonstrates how clearing backlog rapidly accelerates credit consumption. When credits drop, dynamic throttling forces the system to slow down, allowing unserved queries to accumulate.

当您调整模型杠杆 (Lever) 时会发生什么?

The first lever is Routing Efficiency, which sets the base query dispatch capacity per step. The baseline value is 2, producing an average of 71.5 Unserved Requests at day 14. Setting Routing Efficiency to 4 cuts the final day 14 backlog down to 51.7.

Early in the timeline, the paths diverge immediately. At day 1, Unserved Requests sits at 33.9 under the baseline compared to 31.9 with higher efficiency. By day 8, the gap widens from 53.9 under baseline to 40.1 under the higher setting, showing sustained clearance power across time.

The second lever controls the starting amount of Inference Budget. Its baseline starting amount is 500, which results in 71.5 Unserved Requests at day 14. When the starting amount is set to 250 instead of 500, day 14 backlog reaches 85.5.

This budget restriction bites harder as time passes. At day 1, Unserved Requests starts near baseline at 34.9 instead of 33.9. By day 8, the depleted budget forces throttling, pushing Unserved Requests up to 61.9 compared to 53.9 under baseline.

Both levers demonstrate how tightly bound throughput is to available credits. Enhancing efficiency helps only as long as operational credits remain available to sustain the burn.

How does the model direct traffic and spend credits?

Incoming traffic originates at Query Arrival, which generates fluctuating queries and enqueues them into Unserved Requests. The Unserved Requests pool holds pending queries awaiting execution. From there, queries exit through dispatch into Processed Requests, while credits exit Inference Budget into Spent Compute.

The rate of query dispatch depends on Effective Dispatch Rate, which is governed by Routing Efficiency and Budget Level Ratio. When Inference Budget diminishes, Budget Level Ratio decreases, causing Effective Dispatch Rate to throttle traffic. At the same time, Compute Burn Rate determines how fast operational credits drain into Spent Compute based on throughput and Model Cost Tier.

What does this dynamic mean for operational planning?

In this model, higher efficiency is only as durable as the credit pool behind it. Pushing dispatch speed reduces backlog quickly in the initial steps, but it burns through compute credits faster. When the starting pool is small, throttling takes over early, leaving queries stranded by day 14.

A planner should look at the credit replenishment schedule before maximizing dispatch speed. If budget headroom is limited, running at peak efficiency simply triggers premature throttling. Balancing dispatch rate against remaining credits keeps the backlog from spiking late in the cycle.

该模型遗漏了什么?

The model relies on specific structural bounds. Each step of Play represents exactly one day, running for a fixed span of 14 days without variable duration. Query Arrival relies on a simplified stochastic roll rather than varying external demand patterns.

The model also treats Model Cost Tier and credit burn as fixed functional relationships. It excludes additional pools, sinks, or secondary feedback loops beyond those shown. Real systems are more complicated than any model, but these boundaries keep the causal dynamics transparent.

这个话题从何而来?

This playable model was inspired by the publication titled Smart Model Routing for Order-of-Magnitude LLM Cost Reduction, published by arXiv on 13 November 2026. The scenario, parameters, and numerical outputs presented here represent the model's own illustrative scenario.

Can you test different routing strategies yourself?

You can explore these trade-offs directly in the playable model by adjusting Routing Efficiency and Inference Budget. Observe how changing dispatch capacity alters throughput and how quickly depleted credits throttle system performance over the 14 days.

模型的组成部分

它提出的问题: 动态模型路由如何在请求吞吐量与运营计算预算的消耗之间取得平衡?

Query Arrival · 来源
Generates incoming user query traffic with real-world fluctuation.
未处理请求 · 资源池
Holds pending user queries awaiting model routing.
推理预算 · 资源池
Operational credits available for executing model inference.
Processed Requests · 消耗点
Collects queries that have been successfully answered.
Spent Compute · 消耗点
Collects consumed operational budget credits.
路由效率 · 杠杆
Lever adjusting base query dispatch capacity per step.
模型成本层级 · 杠杆
Lever setting credit cost multiplier per dispatched query.
Budget Level Ratio · 寄存器
Calculates fraction of remaining inference budget.
Effective Dispatch Rate · 寄存器
Dynamic query processing rate throttled when budget drops low.
计算消耗率 · 寄存器
Total operational credits spent per step based on throughput and cost tier.

假设与限制

  • 游玩 (Play) 的每一步 (Step) 是一天。
  • Enqueue adds queries to Unserved Requests via a stochastic roll.
  • Dispatch drains Unserved Requests based on Effective Dispatch Rate adjusted by Routing Efficiency and Budget Level Ratio.
  • Burn empties Inference Budget into Spent Compute via Compute Burn Rate.
  • 数字参数仅供说明,不反映特定专有供应商的定价。

带有说明性数值的教学模型;每次游玩都是一个情境,而不是预测 (Forecast)。

来源

感谢 arXiv 允许使用其开放获取的互操作性。

关于此模型

Machinations 使用 AI 从公开来源 (Source) 制作这些模型,每一个都是一个教学情境 (Scenario):其数字是为模型选择的说明性值,而不是测量或预测 (Forecast)。

分享此模型
浏览 Economic Zeitgeist