Smart model routing for LLM inference budgets

Dynamic model routing balances request throughput against budget depletion by clearing incoming backlogs quickly while capping per-request processing expenses to preserve resources. Boosting routing efficiency clears pending traffic faster, but expensive model tiers rapidly exhaust the operational compute allowance before clearing demand. In a representative Play, Unserved Requests falls from 20 to 8 as illustrative values demonstrating how throughput accelerates when routing efficiency increases.

Machinations diagram of Smart Model Routing for LLM Inference Budgets: Query Source, Unserved Requests, Inference Budget, Platform Dispatcher, Resolved Queries, Routing Efficiency, Model Cost TierMachinations diagram of Smart Model Routing for LLM Inference Budgets: Query Source, Unserved Requests, Inference Budget, Platform Dispatcher, Resolved Queries, Routing Efficiency, Model Cost Tier
Open this diagram in the Community

Key takeaways

  • Doubling Routing Efficiency from 4 to 8 leaves Unserved Requests at 8 at step 15 instead of the baseline 20.
  • Doubling Model Cost Tier from 4 to 8 causes Unserved Requests to end higher at 52 by exhausting the Inference Budget early.
  • A dispatch system in this model halts query processing once the Inference Budget is exhausted, so checking the budget outflow rate is the first priority.
  • Backlog reductions reverse late in the Play if a high Model Cost Tier drains operational compute before demand stops arriving.

Does model routing solve compute budget exhaustion?

Operating an artificial intelligence service forces teams to balance processing user traffic rapidly against exhausting an operational compute allocation before the billing period concludes. In this model, doubling Routing Efficiency brings the illustrative count of Unserved Requests down to 8 at step 15, whereas doubling Model Cost Tier causes that same backlog to rise to 52 instead of reaching the baseline value of 20. All values generated during each Play are illustrative figures designed to examine system mechanics rather than real financial measurements.

Choosing which model handles an incoming prompt directly sets how quickly operational resources drain. If a platform dispatches every query to the most capable tier, platform capacity halts as soon as the compute reserve dries up. The trade-off requires balancing operational throughput against the rate at which balance reserves decline over time.

How do the routing and cost levers change the backlog?

The Routing Efficiency lever determines how many pending requests the dispatcher clears during each operational interval. Starting at a baseline value of 4, the system finishes step 15 with 20 Unserved Requests remaining in the queue. Moving this lever up to a setting of 8 accelerates work dramatically, leaving only 8 Unserved Requests at step 15.

Tracking the sampled steps reveals how quickly this boost takes effect. The backlog falls to 44 at step 1, down to 20 by step 5, and reaches 2 at step 8. This path shows early clearing of demand before low budget reserves moderate later throughput.

The Model Cost Tier lever governs how many units of compute each dispatched batch consumes from the platform reserve. When kept at its baseline value of 4, the queue steadily drops across the timeline to finish at 20 queries at step 15. Raising this lever to 8 drives Unserved Requests up to 52 by step 15.

Early on, both settings follow identical numbers, recording 48 queries at step 1 and 40 queries at step 5. The trajectories diverge near step 8 where the higher tier reads 38, showing that rapid budget consumption eventually halts dispatch operations and causes the queue to balloon late in the Play.

How does the dispatching system push on its parts?

The model connects two accumulating pools to an operational dispatcher that mediates work and consumption. Query Source supplies steady incoming user prompts to the Unserved Requests pool every minute of Play. As requests accumulate, Platform Dispatcher routes them forward into Resolved Queries, drawing down the backlog according to the Routing Efficiency setting.

At the same time, this clearing process pulls compute units directly out of Inference Budget. That outflow depends directly on the volume of processed queries multiplied by the Model Cost Tier setting. If the budget pool completely empties, query processing stalls, causing newly arriving demand from Query Source to pile up without resolution.

What do these results mean for compute planning?

In this model, higher dispatch throughput produces genuine performance improvements only when the cost per request remains controlled. Faster routing burns down a backlog rapidly, but paired with expensive model tiers, it depletes the budget before steady incoming demand ceases. Operators must evaluate unit cost settings before attempting to scale processing speed.

What holds in this model is that budget depletion acts as an operational cliff. When funds exist, throughput levers control the experience, but once the reserve is gone, processing freezes entirely. Anyone steering an inference budget must monitor the depletion rate of their balance pool first, because throughput capacity becomes irrelevant without available units.

What does the model leave out?

This playable model strips away peripheral dynamics to isolate core feedback loops between throughput, cost, and backlog size. The structure assumes a fixed time step where each step equals one minute of platform activity. Query Source provides a constant volume of new work rather than shifting patterns.

The model also employs constant lever rates throughout each Play. Real systems are more complicated than any model, but this abstraction omits variable request sizing, tiered failover architectures, or multi-pool budget refills to keep feedback relationships transparent.

Where does the topic come from?

This playable model was inspired by the publication titled Smart Model Routing for Order-of-Magnitude LLM Cost Reduction, published on arXiv on 13 November 2026. The research examines how dynamic architecture selection influences efficiency. All essays, structures, and figures presented here represent the model's own illustrative scenario.

Can you test different routing policies yourself?

You can explore these trade-offs directly by launching a Play and adjusting the controls. Try setting Routing Efficiency to 6 while shifting Model Cost Tier to 2 to see if lower expenses preserve the budget long enough to clear incoming work. Observing the curves reveals how delicate balance allocation can be.

The parts of the model

The question it asks: How does dynamic model routing balance request throughput against the depletion of an operational compute budget?

Query Source · Source
Generates steady incoming platform demand in user queries per minute of Play.
Unserved Requests · Pool
Accumulates pending user queries waiting to be dispatched, measured in queries.
Inference Budget · Pool
Stores remaining operational compute budget allocated for model inference, measured in budget units.
Platform Dispatcher · Converter
Dispatches incoming queries across model tiers while consuming compute budget units each minute of Play.
Resolved Queries · Sink
Receives and finalizes completed user requests once served by the platform, measured in queries.
Routing Efficiency · Lever
Sets query dispatch throughput capacity per minute of Play; adjust to test throughput what-ifs.
Model Cost Tier · Lever
Sets compute cost incurred per dispatch batch; higher tiers drain inference budget faster.

Assumptions and limits

  • Each step of Play represents one minute of inference platform operations.
  • Processed Queries outflow is determined by multiplying Unserved Requests by the Routing Efficiency lever (illustrative baseline).
  • Budget Expenditure outflow draws from Inference Budget proportionally to the volume of Processed Queries scaled by the Model Cost Tier lever.
  • Incoming Queries flow adds illustrative constant demand each step.
  • Numeric parameters are illustrative and do not reflect specific proprietary vendor pricing.

A teaching model with illustrative values; each Play is a scenario, not a forecast.

Sources

Thank you to arXiv for use of its open access interoperability.

About this model

Machinations makes these models with AI from a public source, and each one is a teaching scenario: its numbers are illustrative values chosen for the model, not measurements or forecasts. You can open this diagram in the Community to remix it and change it.

Share this model
Browse Economic Zeitgeist