PickLLM: Context-Aware RL-Assisted Large Language Model Routing
Not on the map. Why?
Abstract (arXiv)
Recently, the number of off-the-shelf Large Language Models (LLMs) has exploded with many open-source options. This creates a diverse landscape regarding both serving options (e.g., inference on local hardware vs remote LLM APIs) and model heterogeneous expertise. However, it is hard for the user to efficiently optimize considering operational cost (pricing structures, expensive LLMs-as-a-service for large querying volumes), efficiency, or even per-case specific measures such as response accuracy, bias, or toxicity. Also, existing LLM routing solutions focus mainly on cost reduction, with response accuracy optimizations relying on non-generalizable supervised training, and ensemble approaches necessitating output computation for every considered LLM candidate. In this work, we tackle the challenge of selecting the optimal LLM from a model pool for specific queries with customizable objectives. We propose PickLLM, a lightweight framework that relies on Reinforcement Learning (RL) to route on-the-fly queries to available models. We introduce a weighted reward function that considers per-query cost, inference latency, and model response accuracy by a customizable scoring function. Regarding the learning algorithms, we explore two alternatives: PickLLM router acting as a learning automaton that utilizes gradient ascent to select a specific LLM, or utilizing stateless Q-learning to explore the set of LLMs and perform selection with a ε-greedy approach. The algorithm converges to a single LLM for the remaining session queries. To evaluate, we utilize a pool of four LLMs and benchmark prompt-response datasets with different contexts. A separate scoring function is assessing response accuracy during the experiment. We demonstrate the speed of convergence for different learning rates and improvement in hard metrics such as cost per querying session and overall response latency.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 19 of its 33 references that are in the map. First posted on arXiv 12 Dec 2024.
Builds on
19 of 33 references.
References · 19
- 2023GPT-4 Technical Reportcited by 18,396
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,125
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
- 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 721
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 682
- 2019ELI5: Long Form Question Answeringcited by 575
- 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 564
7 more
- 2023Large Language Model Routing with Benchmark Datasetscited by 172
- 2023Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoningcited by 143
- 2021SimCLS: A Simple Framework for Contrastive Learning of Abstractive Summarizationcited by 132
- 2023AutoMix: Automatically Mixing Language Modelscited by 125
- 2023Fly-Swat or Cannon? Cost-Effective Language Model Choice via Meta-Modelingcited by 95
- 2022SummaReranker: A Multi-Task Mixture-of-Experts Re-ranking Framework for Abstractive Summarizationcited by 61
- 2017Implications of Decentralized Q-learning Resource Allocation in Wireless Networkscited by 6
Built on by
Citing papers per year: 2025: 10; 2026: 3.
13 papers.
Sort:
By area:
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemblecited by 86
- 2025Doing More with Less: A Survey on Routing Strategies for Resource Optimisation in Large Language Model-Based Systemscited by 20
- 2025RadialRouter: Structured Representation for Efficient and Robust Large Language Models Routingcited by 11
- 2025LLMBoost: Make Large Language Models Stronger with Boostingcited by 8
- 2025LLM Routing with Dueling Feedbackcited by 7
- 2025Towards Efficient Multi-LLM Inference: Characterization and Analysis of LLM Routing and Hierarchical Techniquescited by 5
- 2025IPR: Intelligent Prompt Routing with User-Controlled Quality-Cost Trade-offscited by 5
- 2025One Head, Many Models: Cross-Attention Routing for Cost-Aware LLM Selectioncited by 4
- 2025Routesplain: Towards Faithful and Intervenable Routing for Software-related Taskscited by 2
- 2025ECORE: Energy-Conscious Optimized Routing for Deep Learning Models at the Edgecited by 0
- 2026GeoRouter: Dynamic Paradigm Routing for Worldwide Image Geolocalizationcited by 0
- 2026ReCal: Reward Calibration for RL-based LLM Routingcited by 0
1 more
- 2026Atlas: Optimizing Deployment of Compound AI Workflows on Heterogeneous Clusters3 Sep 2026
- 2026ReCal: Reward Calibration for RL-based LLM Routing10 Jun 2026
- 2026GeoRouter: Dynamic Paradigm Routing for Worldwide Image Geolocalization25 Mar 2026
- 2025LLMBoost: Make Large Language Models Stronger with Boosting26 Dec 2025
- 2025Routesplain: Towards Faithful and Intervenable Routing for Software-related Tasks12 Nov 2025
- 2025LLM Routing with Dueling Feedback1 Oct 2025
- 2025One Head, Many Models: Cross-Attention Routing for Cost-Aware LLM Selection11 Sep 2025
- 2025IPR: Intelligent Prompt Routing with User-Controlled Quality-Cost Trade-offs8 Sep 2025
- 2025ECORE: Energy-Conscious Optimized Routing for Deep Learning Models at the Edge8 Jul 2025
- 2025Towards Efficient Multi-LLM Inference: Characterization and Analysis of LLM Routing and Hierarchical Techniques6 Jun 2025
- 2025RadialRouter: Structured Representation for Efficient and Robust Large Language Models Routing4 Jun 2025
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemble25 Feb 2025
- 2026ReCal: Reward Calibration for RL-based LLM Routingcited by 0
- 2026ReCal: Reward Calibration for RL-based LLM Routing10 Jun 2026
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemblecited by 86
- 2025Doing More with Less: A Survey on Routing Strategies for Resource Optimisation in Large Language Model-Based Systemscited by 20
- 2025RadialRouter: Structured Representation for Efficient and Robust Large Language Models Routingcited by 11
- 2025LLMBoost: Make Large Language Models Stronger with Boostingcited by 8
- 2025LLM Routing with Dueling Feedbackcited by 7
- 2025Towards Efficient Multi-LLM Inference: Characterization and Analysis of LLM Routing and Hierarchical Techniquescited by 5
- 2025IPR: Intelligent Prompt Routing with User-Controlled Quality-Cost Trade-offscited by 5
- 2025One Head, Many Models: Cross-Attention Routing for Cost-Aware LLM Selectioncited by 4
- 2025Routesplain: Towards Faithful and Intervenable Routing for Software-related Taskscited by 2
- 2025ECORE: Energy-Conscious Optimized Routing for Deep Learning Models at the Edgecited by 0
- 2026GeoRouter: Dynamic Paradigm Routing for Worldwide Image Geolocalizationcited by 0
- 2026Atlas: Optimizing Deployment of Compound AI Workflows on Heterogeneous Clusterscited by 0
- 2026Atlas: Optimizing Deployment of Compound AI Workflows on Heterogeneous Clusters3 Sep 2026
- 2026GeoRouter: Dynamic Paradigm Routing for Worldwide Image Geolocalization25 Mar 2026
- 2025LLMBoost: Make Large Language Models Stronger with Boosting26 Dec 2025
- 2025Routesplain: Towards Faithful and Intervenable Routing for Software-related Tasks12 Nov 2025
- 2025LLM Routing with Dueling Feedback1 Oct 2025
- 2025One Head, Many Models: Cross-Attention Routing for Cost-Aware LLM Selection11 Sep 2025
- 2025IPR: Intelligent Prompt Routing with User-Controlled Quality-Cost Trade-offs8 Sep 2025
- 2025ECORE: Energy-Conscious Optimized Routing for Deep Learning Models at the Edge8 Jul 2025
- 2025Towards Efficient Multi-LLM Inference: Characterization and Analysis of LLM Routing and Hierarchical Techniques6 Jun 2025
- 2025RadialRouter: Structured Representation for Efficient and Robust Large Language Models Routing4 Jun 2025
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemble25 Feb 2025
- 2025Doing More with Less: A Survey on Routing Strategies for Resource Optimisation in Large Language Model-Based Systems1 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2026Dynamic Model Routing and Cascading for Efficient LLM Inference: A Survey
- 2025LLM Bandit: Cost-Efficient LLM Generation via Preference-Conditioned Dynamic Routing
- 2025Adaptive LLM Routing under Budget Constraints
- 2025Dynamic LLM Routing and Selection based on User Preferences: Balancing Performance, Cost, and Ethics
- 2025Lookahead Routing for Large Language Models
- 2024TensorOpera Router: A Multi-Model Router for Efficient LLM Inference
- 2026Dynamic Mixed-Precision Routing for Efficient Multi-step LLM Interaction
- 2024Efficient Sequential Decision Making with Large Language Models