---
title: "Pathwise-Budgeted LLM Routing: Online Allocation with K-Bit Tail-Cost Learning"
source: "arXiv AI/CL/LG（论文）"
source_tier: "t2"
url: "https://arxiv.org/abs/2611.05835v1"
permalink: "https://feed.astralor.com/items/itm_3ee1eec4863f917c9b5dfb7b"
published: "2026-11-04T02:24:27.000Z"
score: 58
channel: "tech"
tags: ["LLM","RAG","Pathwise-Budgeted LLM Routing","Online Allocation","K-Bit Tail-Cost Learning","Firms","Because","Our"]
---

# Pathwise-Budgeted LLM Routing: Online Allocation with K-Bit Tail-Cost Learning

## 速览

Firms using large language models under fixed budgets must decide which model to call and whether to retry a failed task. Because a call's charge is revealed only after completion, one long response can exhaust the rema…

## 关键点

- Firms using large language models under fixed budgets must decide which model to call and whether to retry a failed task.
- Because a call's charge is revealed only after completion, one long response can exhaust the remaining budget and leave later tasks unserved.
- Our objective is to maximize the number of tasks solved before service stops.

## 全文

Firms using large language models under fixed budgets must decide which model to call and whether to retry a failed task. Because a call's charge is revealed only after completion, one long response can exhaust the remaining budget and leave later tasks unserved. Our objective is to maximize the number of tasks solved before service stops. We develop a contextual bandit policy, ADP-HT, which learns each model's task-specific success probability and constructs conservative cost estimates from coarsened response-length labels on a quantile grid with $2^K$ intervals. The policy weighs predicted success against these costs, adjusting the cost penalty to realized spending and the budget available per remaining task. Under calibration, local regularity, and grid-coverage conditions, we bound the excess allowance in the policy's conservative cost estimates. At a fixed sample size, increasing $K$ reduces the discretization term but increases the estimation allowance. At the tightest tested budgets, ADP-HT solves more than twice as many MATH500 and GPQA tasks as the best implemented baseline. It achieves the highest mean cumulative score at ten of fourteen RouterBench budgets. On LiveCodeBench, it outperforms a deployed commercial router in both default and cost-saving modes at the three lowest test budgets.

---

引用前请核对原文;本文由星际流动整理:https://feed.astralor.com/items/itm_3ee1eec4863f917c9b5dfb7b
