MeterRouter: Budget-Aware Dynamic Routing for Multi-Agent Systems
Organizations: Department of Applied Economics, University of Minnesota · Department of Computer Science and Engineering, University of Minnesota · School of Statistics, University of Minnesota · Databricks ·
Abstract
Multi-agent systems (MAS) built on large language models (LLMs) outperform single-agent systems, but inter-agent communication incurs substantial token overhead. While assigning a large LLM to every agent is common, it results in inefficient resource utilization, leaving the system far from the Pareto frontier. The cost of answering a query is set jointly by how many agents are recruited, the role and LLM assigned to each, and communication topology among them. Most existing routers treat cost only implicitly rather than as an explicit optimization constraint. A fixed accuracy-cost preference also cannot express how much a caller is willing to pay for a particular query. We introduce MeterRouter, a budget-aware dynamic router that incrementally synthesizes a collaboration graph by selecting each agent's role, LLM, incoming connections, and termination conditioned on the query and a per-query monetary budget. We initialize the router by imitating successful execution graphs, then jointly refine its decisions with a variant of Group Relative Policy Optimization (GRPO) whose reward favors correct answers and penalizes spending and budget overruns. Across five benchmarks and a three-tier LLM pool, MeterRouter is (1) accurate, achieving performance comparable to the strongest MAS; (2) economical, reaching that accuracy at 82% lower cost than the strongest MAS router and extending the accuracy-cost frontier beyond the ceiling of single-agent systems; and (3) controllable, adapting its spending to the specified budget while rarely exceeding it.
Figures & tables
| Method | Multi. | Router | LLM | Omni-Math-2 | MMLU-Pro | MuSR | BBEH | MBPP+ | Acc. | Cost (\times 10^{-3}$ ) |
| MiniMax-M3 | 43.1 | 80.6 | 63.2 | 27.8 | 79.7 | 53.39 | 4.14 | |||
| gpt-oss-120b | 60.3 | 79.1 | 68.7 | 42.7 | 76.5 | 62.50 | 1.91 | |||
| Vanilla | ✗ | ✗ | gpt-oss-20b | 43.6 | 64.4 | 58.5 | 16.0 | 79.0 | 45.18 | 0.14 |
| MiniMax-M3 | 39.5 | 80.4 | 70.0 | 29.9 | 76.8 | 53.78 | 2.61 | |||
| gpt-oss-120b | 61.8 | 78.3 | 71.5 | 42.4 | 78.0 | 62.98 | 1.84 | |||
| CoT | ✗ | ✗ | gpt-oss-20b | 44.2 | 68.1 | 61.8 | 18.1 | 76.8 | 47.32 | 0.17 |
| Method | OmniMath-2 | MMLU-Pro | MuSR | BBEH | MBPP+ | Acc. | Cost |
|---|---|---|---|---|---|---|---|
| MeterRouter | 64.2 | 83.6 | 72.2 | 46.8 | 86.6 | 66.72 | 2.56 |
| w/o RL | 53.7 | 75.9 | 67.2 | 34.2 | 79.2 | 57.34 | 2.55 |
| B=\5\times 10^{-3}$ | 60.4 | 81.4 | 69.4 | 35.0 | 85.5 | 61.42 | 1.96 |
| B\in\{\1,$4}\times 10^{-3}$ | 56.2 | 73.8 | 62.4 | 31.3 | 82.2 | 56.06 | 1.53 |
| Max agents = 4 | 65.5 | 82.2 | 71.6 | 45.2 | 84.8 | 66.08 | 2.47 |
| w/o RL | 52.1 | 74.5 | 64.0 | 33.5 | 81.2 | 55.92 | 2.84 |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Description |
|---|---|
| Input and trajectory | |
| User query. | |
| Cost budget. | |
| Distribution of query–budget pairs. | |
| Multi-agent execution trajectory. | |
| Number of agents. | |
| Symbol | Role | Value | Config key |
| Estimator | |||
| UTF-8 bytes per estimated input token | input_bytes_per_token | ||
| prompt reserve added to every mask estimate (tokens) | prompt_reserve_tokens | ||
| chat-format overhead added to every request estimate | chat_overhead_tokens | ||
| per-predecessor margin in the mask estimate (tokens) | — | ||
| input tokens a downstream reader pays per output token | derived | ||
| Dataset | Training | Validation | Test |
|---|---|---|---|
| OmniMath-2 | 200 | 40 | 1,000 |
| MMLU-Pro | 200 | 40 | 1,000 |
| MuSR | 200 | 40 | 516 |
| BBEH | 200 | 40 | 1,000 |
| MBPP+ | 200 | 40 | 138 |
| Total | 1,000 | 200 | 3,654 |
| LLM | Tier | Context | Price ($/1M tokens) | |
|---|---|---|---|---|
| Input | Output | |||
| gpt-oss-20b | Low-cost | 128K | 0.06 | 0.19 |
| gpt-oss-120b | Mid-cost | 128K | 0.15 | 0.595 |
| MiniMax-M3 ( 428B) | High-cost | 1M | 0.30 | 1.20 |
| Method / Metric | Omni-MATH-2 | MMLU-Pro | MuSR | BBEH | MBPP+ |
|---|---|---|---|---|---|
| MasRouter | |||||
| Cost | |||||
| MeterRouter | |||||
| Cost |
| Budget | Learned stop | Agent-cap stop | Budget stop | Truncation | Overrun |
|---|---|---|---|---|---|
| 86.77 0.57 | 0.53 0.20 | 12.70 0.43 | 16.93 0.34 | 0.02 0.02 | |
| 91.06 0.24 | 3.20 0.12 | 5.74 0.12 | 7.71 0.24 | 0.01 0.02 | |
| 88.25 0.48 | 11.72 0.46 | 0.03 0.03 | 0.08 0.12 | 0.00 0.00 |
| Price multiplier | MMLU-Pro | First-choice rate (%) |
|---|---|---|
| 75.0 / 0.09 | 92.1 | |
| 68.2 / 0.21 | 23.2 | |
| 67.1 / 0.15 | 0.0 |
| Pool | Omni-MATH-2 | BBEH |
|---|---|---|
| 3 LLMs | 64.2 / 3.95 | 46.8 / 3.20 |
| 4 LLMs | 66.3 / 4.28 | 49.3 / 3.26 |
| Template | Agents | Edges | Parents per node |
|---|---|---|---|
| single_1 | 1 | 0 | [] |
| chain_2 | 2 | 1 | [], [0] |
| chain_3 | 3 | 2 | [], [0], [1] |
| fan-in_3 | 3 | 2 | [], [], [0, 1] |
| dense_3 | 3 | 3 | [], [0], [0, 1] |
| chain_4 | 4 | 3 | [], [0], [1], [2] |
| Method | Training | Structure | Calls/Query | Hyper-params. |
| Vanilla | None | Single LLM, zero-shot | 1 | – |
| CoT | None | Single LLM, 3-shot CoT | 1 | – |
| Chain | None | 5 agents, chain | 5 | No pruning |
| Tree | None | 5 agents, binary tree + sink aggregation | 6 | No pruning |
| Complete Graph | None | 5 agents, complete DAG | 5 | No pruning |
| LLM-Debate | None | 3 agents, 2 rounds, majority vote | 6 | No pruning |
LLM Agent Routing
LLM agent routing selects models, tools, skills, or collaboration workflows for each task or step to balance capability, cost, latency, and reliability.
See all 111 papers