Fly-Swat or Cannon? Cost-Effective Language Model Choice via Meta-Modeling
Not on the map. Why?
Abstract (arXiv)
Generative language models (LMs) have become omnipresent across data science. For a wide variety of tasks, inputs can be phrased as natural language prompts for an LM, from whose output the solution can then be extracted. LM performance has consistently been increasing with model size - but so has the monetary cost of querying the ever larger models. Importantly, however, not all inputs are equally hard: some require larger LMs for obtaining a satisfactory solution, whereas for others smaller LMs suffice. Based on this fact, we design a framework for cost-effective language model choice, called "Fly-swat or cannon" (FORC). Given a set of inputs and a set of candidate LMs, FORC judiciously assigns each input to an LM predicted to do well on the input according to a so-called meta-model, aiming to achieve high overall performance at low cost. The cost-performance tradeoff can be flexibly tuned by the user. Options include, among others, maximizing total expected performance (or the number of processed inputs) while staying within a given cost budget, or minimizing total cost while processing all inputs. We evaluate FORC on 14 datasets covering five natural language tasks, using four candidate LMs of vastly different size and cost. With FORC, we match the performance of the largest available LM while achieving a cost reduction of 63%. Via our publicly available library, researchers as well as practitioners can thus save large amounts of money without sacrificing performance.
Key facts. Cited by 95 papers in the map (data through 14 Oct 2026). Builds on 17 of its 27 references that are in the map. First posted on arXiv 11 Aug 2023.
Builds on
17 of 27 references.
References · 17
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
- 2020Knowledge Distillation: A Surveycited by 1,603
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
5 more
- 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 527
- 2023How is ChatGPT's behavior changing over time?cited by 270
- 2021Towards Efficient Post-training Quantization of Pre-trained Language Modelscited by 39
- 2022Evaluate & Evaluation on the Hub: Better Best Practices for Data and Model Measurementscited by 22
- 2023Which Model Shall I Choose? Cost/Quality Trade-offs for Text Classification Taskscited by 4
Built on by
Citing papers per year: 2023: 5; 2024: 22; 2025: 36; 2026: 32.
95 papers.
Sort:
By area:
- 2024RouterBench: A Benchmark for Multi-LLM Routing Systemcited by 238
- 2024GraphRouter: A Graph-based Router for LLM Selectionscited by 165
- 2023Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoningcited by 143
- 2023AutoMix: Automatically Mixing Language Modelscited by 125
- 2024Language Model Cascades: Token-level uncertainty and beyondcited by 121
- 2025MasRouter: Learning to Route LLMs for Multi-Agent Systemscited by 88
- 2025Universal Model Routing for Efficient LLM Inferencecited by 86
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemblecited by 86
- 2024A Unified Approach to Routing and Cascading for LLMscited by 80
- 2025Router-R1: Teaching LLMs Multi-Round Routing and Aggregation via Reinforcement Learningcited by 72
- 2025BEST-Route: Adaptive LLM Routing with Test-Time Optimal Computecited by 67
- 2025RouterEval: A Comprehensive Benchmark for Routing LLMs to Explore Model-level Scaling Up in LLMscited by 61
38 more
- 2025MixLLM: Dynamic Routing in Mixed Large Language Modelscited by 59
- 2024MetaLLM: A High-performant and Cost-efficient Dynamic Framework for Wrapping LLMscited by 41
- 2024What is the Role of Small Models in the LLM Era: A Surveycited by 41
- 2025IRT-Router: Effective and Interpretable Multi-LLM Routing via Item Response Theorycited by 40
- 2025CARROT: A Cost Aware Rate Optimal Routercited by 39
- 2024Optimising Calls to Large Language Models with Uncertainty-Based Two-Tier Selectioncited by 33
- 2024Smoothie: Label Free Language Model Routingcited by 31
- 2024Are More LLM Calls All You Need? Towards Scaling Laws of Compound Inference Systemscited by 25
- 2025Adaptive LLM Routing under Budget Constraintscited by 24
- 2026SkillOrchestra: Learning to Route Agents via Skill Transfercited by 23
- 2025Doing More with Less: A Survey on Routing Strategies for Resource Optimisation in Large Language Model-Based Systemscited by 20
- 2023OrchestraLLM: Efficient Orchestration of Language Models for Dialogue State Trackingcited by 19
- 2025xRouter: Training Cost-Aware LLMs Orchestration System via Reinforcement Learningcited by 17
- 2024OptLLM: Optimal Assignment of Queries to Large Language Modelscited by 16
- 2024Agreement-Based Cascading for Efficient Inferencecited by 16
- 2025Cost-Aware Contrastive Routing for LLMscited by 16
- 2024Cascade-Aware Training of Language Modelscited by 15
- 2024Synergy-of-Thoughts: Eliciting Efficient Reasoning in Hybrid Language Modelscited by 13
- 2024PickLLM: Context-Aware RL-Assisted Large Language Model Routingcited by 13
- 2025Efficient Training-Free Online Routing for High-Volume Multi-LLM Servingcited by 13
- 2026MMR-Bench: A Comprehensive Benchmark for Multimodal LLM Routingcited by 13
- 2025Rethinking Predictive Modeling for LLM Routing: When Simple kNN Beats Complex Learned Routerscited by 11
- 2025Cascaded Language Models for Cost-effective Human-AI Decision-Makingcited by 11
- 2026SWE-Router: Routing in Multi-turn Agentic Software Engineering Taskscited by 11
- 2024Query Routing for Homogeneous Tools: An Instantiation in the RAG Scenariocited by 10
- 2025Rational Tuning of LLM Cascades via Probabilistic Modelingcited by 10
- 2026Task-Aware LLM Routing with Multi-Level Task-Profile-Guided Data Synthesis for Cold-Start Scenarioscited by 10
- 2026Agent-as-a-Router: Agentic Model Routing for Coding Taskscited by 10
- 2025Ensemble Learning for Large Language Models in Text and Code Generation: A Surveycited by 9
- 2025TagRouter: Learning Route to LLMs through Tags for Open-Domain Text Generation Taskscited by 9
- 2024Privacy-preserved LLM Cascade via CoT-enhanced Policy Learningcited by 8
- 2025RAGRouter: Learning to Route Queries to Multiple Retrieval-Augmented Language Modelscited by 8
- 2025PredictaBoard: Benchmarking LLM Score Predictabilitycited by 7
- 2025LLM Routing with Dueling Feedbackcited by 7
- 2023Stranger Danger! Cross-Community Interactions with Fringe Users Increase the Growth of Fringe Communities on Redditcited by 5
- 2024Efficiently Deploying LLMs with Controlled Riskcited by 5
- 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
50 most cited of 95 All 95 (JSON)
- 2026When Is Smaller Greener? Right-Sizing Language Models for Agentic AI14 Oct 2026
- 2026You Cannot Pick a Provider From the Price List: Market-Aware Routing for Open-Weight LLM Inference29 Sep 2026
- 2026Routing Should Pay for Itself: Sparse Supervision for Economical LLM Routing29 Sep 2026
- 2026Signed Rescue Routing: Harm-Aware Cascades for Efficient LLM Inference7 Sep 2026
- 2026Online Learning with LLM Experts from Limited Feedback5 Sep 2026
- 2026TRACE-ROUTER: Task-Consistent and Adaptive Online Routing for Agentic AI24 Jul 2026
- 2026Cost-Optimal Foundation Model Deployment Portfolio for Transportation Management14 Jul 2026
- 2026Agentic Routing: The Harness-Native Data Flywheel13 Jul 2026
- 2026Optimal Model Activation Policies for Inference Networks of Large Language Models7 Jul 2026
- 2026SWE-Router: Routing in Multi-turn Agentic Software Engineering Tasks30 Jun 2026
- 2026EntroRouter: Learning Efficient Model Routing via Entropy Regulation28 Jun 2026
- 2026Agent-as-a-Router: Agentic Model Routing for Coding Tasks22 Jun 2026
38 more
- 2026RouteJudge: An Open Platform for Reproducible and Preference-Aware LLM Routing17 Jun 2026
- 2026An Effective Router for Vision-Language Model Selection8 Jun 2026
- 2026DLLG: Dynamic Logit-Level Gating of LLM Experts3 Jun 2026
- 2026The Routing Plateau: Understanding the Accuracy Limits of LLM Routers27 May 2026
- 2026When Efficiency Backfires: Cascading LLMs Trigger Cascade Failure under Adversarial Attack17 May 2026
- 2026Switchcraft: AI Model Router for Agentic Tool Calling8 May 2026
- 2026Policy-Guided Stepwise Model Routing for Cost-Effective Reasoning7 May 2026
- 2026RouteProfile: Graph-Based Profiling for Cold-Start LLM Routing30 Apr 2026
- 2026RouteNLP: Closed-Loop LLM Routing with Conformal Cascading and Distillation Co-Optimization26 Apr 2026
- 2026Micro Language Models Enable Instant Responses21 Apr 2026
- 2026Privacy-Preserving LLMs Routing17 Apr 2026
- 2026Task-Aware LLM Routing with Multi-Level Task-Profile-Guided Data Synthesis for Cold-Start Scenarios10 Apr 2026
- 2026Evaluating Small Language Models for Front-Door Routing: A Harmonized Benchmark and Synthetic-Traffic Experiment26 Mar 2026
- 2026Robust Batch-Level Query Routing for Large Language Models under Cost and Capacity Constraints25 Mar 2026
- 2026Computational Arbitrage in AI Model Markets23 Mar 2026
- 2026SkillOrchestra: Learning to Route Agents via Skill Transfer23 Feb 2026
- 2026Picking the Right Specialist: Attentive Neural Process-based Selection of Task-Specialized Models as Tools for Agentic Healthcare Systems16 Feb 2026
- 2026Federate the Router: Learning Language Model Routers with Sparse and Decentralized Evaluations29 Jan 2026
- 2026MMR-Bench: A Comprehensive Benchmark for Multimodal LLM Routing25 Jan 2026
- 2026Breaking Model Lock-in: Cost-Efficient Zero-Shot LLM Routing via a Universal Latent Space9 Jan 2026
- 2025CONCUR: A Framework for Continual Constrained and Unconstrained Routing10 Dec 2025
- 2025Routesplain: Towards Faithful and Intervenable Routing for Software-related Tasks12 Nov 2025
- 2025GMTRouter: Personalized LLM Router over Multi-turn User Interactions29 Oct 2025
- 2025DiSRouter: Distributed Self-Routing for LLM Selections22 Oct 2025
- 2025xRouter: Training Cost-Aware LLMs Orchestration System via Reinforcement Learning9 Oct 2025
- 2025LLM Routing with Dueling Feedback1 Oct 2025
- 2025A Greedy PDE Router for Blending Neural Operators and Classical Methods29 Sep 2025
- 2025PIE: Performance Interval Estimation for Free-Form Generation Tasks9 Sep 2025
- 2025IPR: Intelligent Prompt Routing with User-Controlled Quality-Cost Trade-offs8 Sep 2025
- 2025Efficient Training-Free Online Routing for High-Volume Multi-LLM Serving2 Sep 2025
- 2025Adaptive LLM Routing under Budget Constraints28 Aug 2025
- 2025Cost-Aware Contrastive Routing for LLMs17 Aug 2025
- 2025CoE-Ops: Collaboration of LLM-based Experts for AIOps Question-Answering25 Jul 2025
- 2025KiC: Keyword-inspired Cascade for Cost-Efficient Text Generation with LLMs18 Jul 2025
- 2025BEST-Route: Adaptive LLM Routing with Test-Time Optimal Compute28 Jun 2025
- 2025TagRouter: Learning Route to LLMs through Tags for Open-Domain Text Generation Tasks14 Jun 2025
- 2025Cascaded Language Models for Cost-effective Human-AI Decision-Making13 Jun 2025
- 2025Router-R1: Teaching LLMs Multi-Round Routing and Aggregation via Reinforcement Learning10 Jun 2025
50 newest of 95 All 95 (JSON)
- 2025MasRouter: Learning to Route LLMs for Multi-Agent Systemscited by 88
- 2024A Unified Approach to Routing and Cascading for LLMscited by 80
- 2026SWE-Router: Routing in Multi-turn Agentic Software Engineering Taskscited by 11
- 2024Query Routing for Homogeneous Tools: An Instantiation in the RAG Scenariocited by 10
- 2026Agent-as-a-Router: Agentic Model Routing for Coding Taskscited by 10
- 2026Agentic Routing: The Harness-Native Data Flywheelcited by 4
- 2026Switchcraft: AI Model Router for Agentic Tool Callingcited by 3
- 2026Picking the Right Specialist: Attentive Neural Process-based Selection of Task-Specialized Models as Tools for Agentic Healthcare Systemscited by 2
- 2024Agentic AI: The Era of Semantic Decodingcited by 1
- 2026TRACE-ROUTER: Task-Consistent and Adaptive Online Routing for Agentic AIcited by 1
- 2026When Is Smaller Greener? Right-Sizing Language Models for Agentic AIcited by 0
- 2026When Is Smaller Greener? Right-Sizing Language Models for Agentic AI14 Oct 2026
- 2026TRACE-ROUTER: Task-Consistent and Adaptive Online Routing for Agentic AI24 Jul 2026
- 2026Agentic Routing: The Harness-Native Data Flywheel13 Jul 2026
- 2026SWE-Router: Routing in Multi-turn Agentic Software Engineering Tasks30 Jun 2026
- 2026Agent-as-a-Router: Agentic Model Routing for Coding Tasks22 Jun 2026
- 2026Switchcraft: AI Model Router for Agentic Tool Calling8 May 2026
- 2026Picking the Right Specialist: Attentive Neural Process-based Selection of Task-Specialized Models as Tools for Agentic Healthcare Systems16 Feb 2026
- 2025MasRouter: Learning to Route LLMs for Multi-Agent Systems16 Feb 2025
- 2024A Unified Approach to Routing and Cascading for LLMs14 Oct 2024
- 2024Query Routing for Homogeneous Tools: An Instantiation in the RAG Scenario18 Jun 2024
- 2024Agentic AI: The Era of Semantic Decoding21 Mar 2024
- 2023Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoningcited by 143
- 2024Synergy-of-Thoughts: Eliciting Efficient Reasoning in Hybrid Language Modelscited by 13
- 2025Rethinking Predictive Modeling for LLM Routing: When Simple kNN Beats Complex Learned Routerscited by 11
- 2026Policy-Guided Stepwise Model Routing for Cost-Effective Reasoningcited by 0
- 2026Policy-Guided Stepwise Model Routing for Cost-Effective Reasoning7 May 2026
- 2025Rethinking Predictive Modeling for LLM Routing: When Simple kNN Beats Complex Learned Routers19 May 2025
- 2024Synergy-of-Thoughts: Eliciting Efficient Reasoning in Hybrid Language Models4 Feb 2024
- 2023Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoning4 Oct 2023
- 2024RouterBench: A Benchmark for Multi-LLM Routing Systemcited by 238
- 2024GraphRouter: A Graph-based Router for LLM Selectionscited by 165
- 2023AutoMix: Automatically Mixing Language Modelscited by 125
- 2024Language Model Cascades: Token-level uncertainty and beyondcited by 121
- 2025Harnessing Multiple Large Language Models: A Survey on LLM Ensemblecited by 86
- 2025Router-R1: Teaching LLMs Multi-Round Routing and Aggregation via Reinforcement Learningcited by 72
- 2025BEST-Route: Adaptive LLM Routing with Test-Time Optimal Computecited by 67
- 2025RouterEval: A Comprehensive Benchmark for Routing LLMs to Explore Model-level Scaling Up in LLMscited by 61
- 2025MixLLM: Dynamic Routing in Mixed Large Language Modelscited by 59
- 2024MetaLLM: A High-performant and Cost-efficient Dynamic Framework for Wrapping LLMscited by 41
- 2024What is the Role of Small Models in the LLM Era: A Surveycited by 41
- 2025IRT-Router: Effective and Interpretable Multi-LLM Routing via Item Response Theorycited by 40
12 most cited of 72 All 72 (JSON)
- 2026You Cannot Pick a Provider From the Price List: Market-Aware Routing for Open-Weight LLM Inference29 Sep 2026
- 2026Routing Should Pay for Itself: Sparse Supervision for Economical LLM Routing29 Sep 2026
- 2026Online Learning with LLM Experts from Limited Feedback5 Sep 2026
- 2026Cost-Optimal Foundation Model Deployment Portfolio for Transportation Management14 Jul 2026
- 2026Optimal Model Activation Policies for Inference Networks of Large Language Models7 Jul 2026
- 2026EntroRouter: Learning Efficient Model Routing via Entropy Regulation28 Jun 2026
- 2026RouteJudge: An Open Platform for Reproducible and Preference-Aware LLM Routing17 Jun 2026
- 2026DLLG: Dynamic Logit-Level Gating of LLM Experts3 Jun 2026
- 2026The Routing Plateau: Understanding the Accuracy Limits of LLM Routers27 May 2026
- 2026When Efficiency Backfires: Cascading LLMs Trigger Cascade Failure under Adversarial Attack17 May 2026
- 2026RouteProfile: Graph-Based Profiling for Cold-Start LLM Routing30 Apr 2026
- 2026RouteNLP: Closed-Loop LLM Routing with Conformal Cascading and Distillation Co-Optimization26 Apr 2026
12 newest of 72 All 72 (JSON)