ThriftLLM: On Cost-Effective Selection of Large Language Models for Classification Queries
Not on the map. Why?
Abstract (arXiv)
In recent years, large language models (LLMs) have demonstrated remarkable capabilities in comprehending and generating natural language content, attracting widespread attention in both industry and academia. An increasing number of services offer LLMs for various tasks via APIs. Different LLMs demonstrate expertise in different domains of queries (e.g., text classification queries). Meanwhile, LLMs of different scales, complexities, and performance are priced diversely. Driven by this, several researchers are investigating strategies for selecting an ensemble of LLMs, aiming to decrease overall usage costs while enhancing performance. However, to the best of our knowledge, none of the existing works addresses the problem, how to find an LLM ensemble subject to a cost budget, which maximizes the ensemble performance with guarantees. In this paper, we formalize the performance of an ensemble of models (LLMs) using the notion of correctness probability, which we formally define. We develop an approach for aggregating responses from multiple LLMs to enhance ensemble performance. Building on this, we formulate the Optimal Ensemble Selection problem of selecting a set of LLMs subject to a cost budget that maximizes the overall correctness probability. We show that the correctness probability function is non-decreasing and non-submodular and provide evidence that the Optimal Ensemble Selection problem is likely to be NP-hard. By leveraging a submodular function that upper bounds correctness probability, we develop an algorithm called ThriftLLM and prove that it achieves an instance-dependent approximation guarantee with high probability. Our framework functions as a data processing system that selects appropriate LLM operators to deliver high-quality results under budget constraints.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). First posted on arXiv 9 Jan 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 5; 2026: 9.
14 papers.
Sort:
By area:
- 2025Optimizing Model Selection for Compound AI Systemscited by 34
- 2025Causal LLM Routing: End-to-End Regret Minimization from Observational Datacited by 27
- 2025Failure Modes in LLM Systems: A System-Level Taxonomy for Reliable AI Applicationscited by 9
- 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guaranteescited by 8
- 2025Theoretical Foundations of Scaling Law in Familial Modelscited by 3
- 2026WISERouter: LLM Routing with Workload Budget Constraintcited by 2
- 2026Policy-Governed LLM Routing with Intent Matching for Instrument Laboratoriescited by 0
- 2026More Is Not Always Better: Cross-Component Interference in LLM Agent Scaffoldingcited by 0
- 2026Adaptive Graph Refinement and Label Propagation with LLMs for Cost-Effective Entity Resolutioncited by 0
- 2026Online LLM Selection via Constrained Bandits with Time-Varying Demandcited by 0
- 2026Can Agentic Trading Systems Pay for Their Own Intelligence?cited by 0
- 2026Cost-Optimal Foundation Model Deployment Portfolio for Transportation Managementcited by 0
2 more
- 2026Online Learning with LLM Experts from Limited Feedback5 Sep 2026
- 2026WISERouter: LLM Routing with Workload Budget Constraint26 Jul 2026
- 2026Cost-Optimal Foundation Model Deployment Portfolio for Transportation Management14 Jul 2026
- 2026Can Agentic Trading Systems Pay for Their Own Intelligence?11 Jul 2026
- 2026Opti-Q: A Constraint-Based Optimization Framework for Multi-LLM Question Planning17 Jun 2026
- 2026Online LLM Selection via Constrained Bandits with Time-Varying Demand16 Jun 2026
- 2026Adaptive Graph Refinement and Label Propagation with LLMs for Cost-Effective Entity Resolution25 May 2026
- 2026More Is Not Always Better: Cross-Component Interference in LLM Agent Scaffolding7 May 2026
- 2026Policy-Governed LLM Routing with Intent Matching for Instrument Laboratories3 Apr 2026
- 2025Theoretical Foundations of Scaling Law in Familial Models29 Dec 2025
- 2025Failure Modes in LLM Systems: A System-Level Taxonomy for Reliable AI Applications25 Nov 2025
- 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guarantees2 Sep 2025
2 more
- 2025Optimizing Model Selection for Compound AI Systemscited by 34
- 2025Causal LLM Routing: End-to-End Regret Minimization from Observational Datacited by 27
- 2025Failure Modes in LLM Systems: A System-Level Taxonomy for Reliable AI Applicationscited by 9
- 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guaranteescited by 8
- 2025Theoretical Foundations of Scaling Law in Familial Modelscited by 3
- 2026WISERouter: LLM Routing with Workload Budget Constraintcited by 2
- 2026Policy-Governed LLM Routing with Intent Matching for Instrument Laboratoriescited by 0
- 2026Adaptive Graph Refinement and Label Propagation with LLMs for Cost-Effective Entity Resolutioncited by 0
- 2026Online LLM Selection via Constrained Bandits with Time-Varying Demandcited by 0
- 2026Cost-Optimal Foundation Model Deployment Portfolio for Transportation Managementcited by 0
- 2026Opti-Q: A Constraint-Based Optimization Framework for Multi-LLM Question Planningcited by 0
- 2026Online Learning with LLM Experts from Limited Feedbackcited by 0
- 2026Online Learning with LLM Experts from Limited Feedback5 Sep 2026
- 2026WISERouter: LLM Routing with Workload Budget Constraint26 Jul 2026
- 2026Cost-Optimal Foundation Model Deployment Portfolio for Transportation Management14 Jul 2026
- 2026Opti-Q: A Constraint-Based Optimization Framework for Multi-LLM Question Planning17 Jun 2026
- 2026Online LLM Selection via Constrained Bandits with Time-Varying Demand16 Jun 2026
- 2026Adaptive Graph Refinement and Label Propagation with LLMs for Cost-Effective Entity Resolution25 May 2026
- 2026Policy-Governed LLM Routing with Intent Matching for Instrument Laboratories3 Apr 2026
- 2025Theoretical Foundations of Scaling Law in Familial Models29 Dec 2025
- 2025Failure Modes in LLM Systems: A System-Level Taxonomy for Reliable AI Applications25 Nov 2025
- 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guarantees2 Sep 2025
- 2025Causal LLM Routing: End-to-End Regret Minimization from Observational Data21 May 2025
- 2025Optimizing Model Selection for Compound AI Systems20 Feb 2025