MetaLLM: A High-performant and Cost-efficient Dynamic Framework for Wrapping LLMs
Not on the map. Why?
Abstract (arXiv)
The rapid progress in machine learning (ML) has brought forth many large language models (LLMs) that excel in various tasks and areas. These LLMs come with different abilities and costs in terms of computation or pricing. Since the demand for each query can vary, e.g., because of the queried domain or its complexity, defaulting to one LLM in an application is not usually the best choice, whether it is the biggest, priciest, or even the one with the best average test performance. Consequently, picking the right LLM that is both accurate and cost-effective for an application is necessary yet remains a challenge. In this paper, we introduce MetaLLM, a framework that dynamically and intelligently routes each query to the optimal LLM (among several available LLMs) for classification and multi-choice question-answering tasks, achieving significantly improved accuracy and cost-effectiveness. By framing the selection problem as a multi-armed bandit, MetaLLM balances prediction accuracy and cost efficiency under uncertainty. Our experiments, conducted on popular LLM platforms such as OpenAI and Together AI, as well as open-source LLM, showcase MetaLLM's efficacy in real-world scenarios, laying the groundwork for future extensions.
Key facts. Cited by 39 papers in the map (data through 7 Oct 2026). Builds on 32 of its 38 references that are in the map. First posted on arXiv 15 Jul 2024.
Builds on
32 of 38 references.
References · 32
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2021Convex optimizationcited by 2,479
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
20 more
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
- 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 911
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 633
- 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 550
- 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 354
- 2013Learning Factored Representations in a Deep Mixture of Expertscited by 275
- 2024RouterBench: A Benchmark for Multi-LLM Routing Systemcited by 222
- 2023Large Language Model Routing with Benchmark Datasetscited by 166
- 2021Efficient Deep Learning: A Survey on Making Deep Learning Models Smaller, Faster, and Bettercited by 153
- 2023Routing to the Expert: Efficient Reward-guided Ensemble of Large Language Modelscited by 141
- 2023Fly-Swat or Cannon? Cost-Effective Language Model Choice via Meta-Modelingcited by 94
- 2023Pre-train, Prompt and Recommendation: A Comprehensive Survey of Language Modelling Paradigm Adaptations in Recommender Systemscited by 45
- 2023Fusing Models with Complementary Expertisecited by 45
- 2023Getting MoRE out of Mixture of Language Model Reasoning Expertscited by 44
- 2020FrugalML: How to Use ML Prediction APIs More Accurately and Cheaplycited by 33
- 2023Tryage: Real-time, intelligent Routing of User Prompts to Large Language Modelscited by 28
- 2021Efficient Online ML API Selection for Multi-Label Classification Taskscited by 11
Built on by
Citing papers per year: 2024: 2; 2025: 21; 2026: 16.
39 papers.
Sort:
By area:
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemblecited by 86
- 2024A Unified Approach to Routing and Cascading for LLMscited by 71
- 2025RouterEval: A Comprehensive Benchmark for Routing LLMs to Explore Model-level Scaling Up in LLMscited by 58
- 2025MixLLM: Dynamic Routing in Mixed Large Language Modelscited by 56
- 2025CARROT: A Cost Aware Rate Optimal Routercited by 34
- 2025Adaptive LLM Routing under Budget Constraintscited by 21
- 2025Doing More with Less: A Survey on Routing Strategies for Resource Optimisation in Large Language Model-Based Systemscited by 18
- 2025Online Multi-LLM Selection via Contextual Bandits under Unstructured Context Evolutioncited by 18
- 2025Cost-Aware Contrastive Routing for LLMscited by 16
- 2026Dynamic Model Routing and Cascading for Efficient LLM Inference: A Surveycited by 16
- 2025LLM DNA: Tracing Model Evolution via Functional Representationscited by 15
- 2026R2-Router: A New Paradigm for LLM Routing with Reasoningcited by 13
27 more
- 2025TagRouter: Learning Route to LLMs through Tags for Open-Domain Text Generation Taskscited by 9
- 2025C3PO: Optimized Large Language Model Cascades with Probabilistic Cost Constraints for Reasoningcited by 8
- 2026Task-Aware LLM Routing with Multi-Level Task-Profile-Guided Data Synthesis for Cold-Start Scenarioscited by 8
- 2024LASeR: Learning to Adaptively Select Reward Models with Multi-Armed Banditscited by 7
- 2025Rethinking Predictive Modeling for LLM Routing: When Simple kNN Beats Complex Learned Routerscited by 7
- 2025Agentic Services Computingcited by 6
- 2025LLM Routing with Dueling Feedbackcited by 6
- 2025Towards Efficient Multi-LLM Inference: Characterization and Analysis of LLM Routing and Hierarchical Techniquescited by 5
- 2025Cost-aware LLM-based Online Dataset Annotationcited by 4
- 2025Near-Optimal Online Deployment and Routing for Streaming LLMscited by 3
- 2026Switchcraft: AI Model Router for Agentic Tool Callingcited by 3
- 2025Resource-efficient Inference with Foundation Model Programscited by 2
- 2026RouteNLP: Closed-Loop LLM Routing with Conformal Cascading and Distillation Co-Optimizationcited by 2
- 2026WISERouter: LLM Routing with Workload Budget Constraintcited by 2
- 2025CONCUR: A Framework for Continual Constrained and Unconstrained Routingcited by 1
- 2026ConsRoute:Consistency-Aware Adaptive Query Routing for Cloud-Edge-Device Large Language Modelscited by 1
- 2026Policy Regret for Embedding Model Routing: Contextual Bandits with Low-Rank Expertscited by 1
- 2026SCATE: Learning to Supervise Coding Agents for Cost-Effective Test Generationcited by 1
- 2025CoE-Ops: Collaboration of LLM-based Experts for AIOps Question-Answeringcited by 0
- 2025Online Budget Allocation with Censored Semi-Bandit Feedbackcited by 0
- 2026Expected Reward Prediction, with Applications to Model Routingcited by 0
- 2026DLLG: Dynamic Logit-Level Gating of LLM Expertscited by 0
- 2026Correlation-Aware Contextual Bandits with Surrogate Rewards for LLM Routingcited by 0
- 2026Agora: Enhancing LLM Agent Reasoning Via Auction-Based Task Allocationcited by 0
- 2026RLCascadeRouter: Quality-Estimator-Free Cascade Routing via Reinforcement Learningcited by 0
- 2026Multinomial Subset Routing with Sum-Max Rewards and Operational Constraintscited by 0
- 2026Online Learning with LLM Experts from Limited Feedbackcited by 0
- 2026Online Learning with LLM Experts from Limited Feedback5 Sep 2026
- 2026Multinomial Subset Routing with Sum-Max Rewards and Operational Constraints17 Aug 2026
- 2026RLCascadeRouter: Quality-Estimator-Free Cascade Routing via Reinforcement Learning16 Aug 2026
- 2026WISERouter: LLM Routing with Workload Budget Constraint26 Jul 2026
- 2026Agora: Enhancing LLM Agent Reasoning Via Auction-Based Task Allocation10 Jul 2026
- 2026Correlation-Aware Contextual Bandits with Surrogate Rewards for LLM Routing10 Jul 2026
- 2026SCATE: Learning to Supervise Coding Agents for Cost-Effective Test Generation9 Jul 2026
- 2026Policy Regret for Embedding Model Routing: Contextual Bandits with Low-Rank Experts12 Jun 2026
- 2026DLLG: Dynamic Logit-Level Gating of LLM Experts3 Jun 2026
- 2026Switchcraft: AI Model Router for Agentic Tool Calling8 May 2026
- 2026RouteNLP: Closed-Loop LLM Routing with Conformal Cascading and Distillation Co-Optimization26 Apr 2026
- 2026Task-Aware LLM Routing with Multi-Level Task-Profile-Guided Data Synthesis for Cold-Start Scenarios10 Apr 2026
27 more
- 2026ConsRoute:Consistency-Aware Adaptive Query Routing for Cloud-Edge-Device Large Language Models22 Mar 2026
- 2026Expected Reward Prediction, with Applications to Model Routing3 Mar 2026
- 2026Dynamic Model Routing and Cascading for Efficient LLM Inference: A Survey23 Feb 2026
- 2026R2-Router: A New Paradigm for LLM Routing with Reasoning2 Feb 2026
- 2025CONCUR: A Framework for Continual Constrained and Unconstrained Routing10 Dec 2025
- 2025C3PO: Optimized Large Language Model Cascades with Probabilistic Cost Constraints for Reasoning10 Nov 2025
- 2025LLM Routing with Dueling Feedback1 Oct 2025
- 2025LLM DNA: Tracing Model Evolution via Functional Representations29 Sep 2025
- 2025Agentic Services Computing29 Sep 2025
- 2025Adaptive LLM Routing under Budget Constraints28 Aug 2025
- 2025Cost-Aware Contrastive Routing for LLMs17 Aug 2025
- 2025Online Budget Allocation with Censored Semi-Bandit Feedback7 Aug 2025
- 2025CoE-Ops: Collaboration of LLM-based Experts for AIOps Question-Answering25 Jul 2025
- 2025Online Multi-LLM Selection via Contextual Bandits under Unstructured Context Evolution21 Jun 2025
- 2025TagRouter: Learning Route to LLMs through Tags for Open-Domain Text Generation Tasks14 Jun 2025
- 2025Near-Optimal Online Deployment and Routing for Streaming LLMs8 Jun 2025
- 2025Towards Efficient Multi-LLM Inference: Characterization and Analysis of LLM Routing and Hierarchical Techniques6 Jun 2025
- 2025Cost-aware LLM-based Online Dataset Annotation21 May 2025
- 2025Rethinking Predictive Modeling for LLM Routing: When Simple kNN Beats Complex Learned Routers19 May 2025
- 2025Resource-efficient Inference with Foundation Model Programs9 Apr 2025
- 2025RouterEval: A Comprehensive Benchmark for Routing LLMs to Explore Model-level Scaling Up in LLMs8 Mar 2025
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemble25 Feb 2025
- 2025MixLLM: Dynamic Routing in Mixed Large Language Models9 Feb 2025
- 2025CARROT: A Cost Aware Rate Optimal Router5 Feb 2025
- 2025Doing More with Less: A Survey on Routing Strategies for Resource Optimisation in Large Language Model-Based Systems1 Feb 2025
- 2024A Unified Approach to Routing and Cascading for LLMs14 Oct 2024
- 2024LASeR: Learning to Adaptively Select Reward Models with Multi-Armed Bandits2 Oct 2024
- 2024A Unified Approach to Routing and Cascading for LLMscited by 71
- 2025Agentic Services Computingcited by 6
- 2026Switchcraft: AI Model Router for Agentic Tool Callingcited by 3
- 2026SCATE: Learning to Supervise Coding Agents for Cost-Effective Test Generationcited by 1
- 2026SCATE: Learning to Supervise Coding Agents for Cost-Effective Test Generation9 Jul 2026
- 2026Switchcraft: AI Model Router for Agentic Tool Calling8 May 2026
- 2025Agentic Services Computing29 Sep 2025
- 2024A Unified Approach to Routing and Cascading for LLMs14 Oct 2024
- 2026R2-Router: A New Paradigm for LLM Routing with Reasoningcited by 13
- 2025C3PO: Optimized Large Language Model Cascades with Probabilistic Cost Constraints for Reasoningcited by 8
- 2025Rethinking Predictive Modeling for LLM Routing: When Simple kNN Beats Complex Learned Routerscited by 7
- 2026Agora: Enhancing LLM Agent Reasoning Via Auction-Based Task Allocationcited by 0
- 2026Agora: Enhancing LLM Agent Reasoning Via Auction-Based Task Allocation10 Jul 2026
- 2026R2-Router: A New Paradigm for LLM Routing with Reasoning2 Feb 2026
- 2025C3PO: Optimized Large Language Model Cascades with Probabilistic Cost Constraints for Reasoning10 Nov 2025
- 2025Rethinking Predictive Modeling for LLM Routing: When Simple kNN Beats Complex Learned Routers19 May 2025
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemblecited by 86
- 2025RouterEval: A Comprehensive Benchmark for Routing LLMs to Explore Model-level Scaling Up in LLMscited by 58
- 2025MixLLM: Dynamic Routing in Mixed Large Language Modelscited by 56
- 2025CARROT: A Cost Aware Rate Optimal Routercited by 34
- 2025Adaptive LLM Routing under Budget Constraintscited by 21
- 2025Doing More with Less: A Survey on Routing Strategies for Resource Optimisation in Large Language Model-Based Systemscited by 18
- 2025Online Multi-LLM Selection via Contextual Bandits under Unstructured Context Evolutioncited by 18
- 2025Cost-Aware Contrastive Routing for LLMscited by 16
- 2025LLM DNA: Tracing Model Evolution via Functional Representationscited by 15
- 2025TagRouter: Learning Route to LLMs through Tags for Open-Domain Text Generation Taskscited by 9
- 2025LLM Routing with Dueling Feedbackcited by 6
- 2025Towards Efficient Multi-LLM Inference: Characterization and Analysis of LLM Routing and Hierarchical Techniquescited by 5
12 most cited of 26 All 26 (JSON)
- 2026Online Learning with LLM Experts from Limited Feedback5 Sep 2026
- 2026Multinomial Subset Routing with Sum-Max Rewards and Operational Constraints17 Aug 2026
- 2026RLCascadeRouter: Quality-Estimator-Free Cascade Routing via Reinforcement Learning16 Aug 2026
- 2026WISERouter: LLM Routing with Workload Budget Constraint26 Jul 2026
- 2026Correlation-Aware Contextual Bandits with Surrogate Rewards for LLM Routing10 Jul 2026
- 2026Policy Regret for Embedding Model Routing: Contextual Bandits with Low-Rank Experts12 Jun 2026
- 2026DLLG: Dynamic Logit-Level Gating of LLM Experts3 Jun 2026
- 2026RouteNLP: Closed-Loop LLM Routing with Conformal Cascading and Distillation Co-Optimization26 Apr 2026
- 2026ConsRoute:Consistency-Aware Adaptive Query Routing for Cloud-Edge-Device Large Language Models22 Mar 2026
- 2025CONCUR: A Framework for Continual Constrained and Unconstrained Routing10 Dec 2025
- 2025LLM Routing with Dueling Feedback1 Oct 2025
- 2025LLM DNA: Tracing Model Evolution via Functional Representations29 Sep 2025
12 newest of 26 All 26 (JSON)