mlsanityData to 7 Oct 2026

FrugalML: How to Use ML Prediction APIs More Accurately and Cheaply

arXiv 2006.07512 ↗First posted 12 Jun 2020cs.LG cs.GT stat.MLcited by 33

Not on the map. Why?

Abstract (arXiv)

Prediction APIs offered for a fee are a fast-growing industry and an important part of machine learning as a service. While many such services are available, the heterogeneity in their price and performance makes it challenging for users to decide which API or combination of APIs to use for their own data and budget. We take a first step towards addressing this challenge by proposing FrugalML, a principled framework that jointly learns the strength and weakness of each API on different data, and performs an efficient optimization to automatically identify the best sequential strategy to adaptively use the available APIs within a budget constraint. Our theoretical analysis shows that natural sparsity in the formulation can be leveraged to make FrugalML efficient. We conduct systematic experiments using ML APIs from Google, Microsoft, Amazon, IBM, Baidu and other providers for tasks including facial emotion recognition, sentiment analysis and speech recognition. Across various tasks, FrugalML can achieve up to 90% cost reduction while matching the accuracy of the best single API, or up to 5% better accuracy while matching the best API's cost.

Key facts. Cited by 33 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Jun 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 8; 2022: 1; 2023: 5; 2024: 8; 2025: 4; 2026: 7.

33 papers.

Sort:

  1. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  2. 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 633
  3. 2023Large Language Model Routing with Benchmark Datasetscited by 166
  4. 2021Towards Unbiased and Accurate Deferral to Multiple Expertscited by 71
  5. 2023Fusing Models with Complementary Expertisecited by 45
  6. 2024What is the Role of Small Models in the LLM Era: A Surveycited by 41
  7. 2024MetaLLM: A High-performant and Cost-efficient Dynamic Framework for Wrapping LLMscited by 39
  8. 2025CARROT: A Cost Aware Rate Optimal Routercited by 34
  9. 2025Optimizing Model Selection for Compound AI Systemscited by 34
  10. 2024Towards Optimizing the Costs of LLM Usagecited by 33
  11. 2021Data Pricing in Machine Learning Pipelinescited by 17
  12. 2024Agreement-Based Cascading for Efficient Inferencecited by 16
21 more
  1. 2021MLDemon: Deployment Monitoring for Machine Learning Systemscited by 14
  2. 2021Creating Training Sets via Weak Indirect Supervisioncited by 14
  3. 2021Did the Model Change? Efficiently Assessing Machine Learning API Shiftscited by 13
  4. 2025Intelligence per Watt: Measuring Intelligence Efficiency of Local AIcited by 13
  5. 2021Efficient Online ML API Selection for Multi-Label Classification Taskscited by 11
  6. 2022HAPI: A Large-scale Longitudinal Dataset of Commercial ML API Predictionscited by 6
  7. 2021Active Assessment of Prediction Services as Accuracy Surface Over Attribute Combinationscited by 5
  8. 2023Mondrian: Prompt Abstraction Attack Against Large Language Models for Cheaper API Pricingcited by 4
  9. 2024CascadeServe: Unlocking Model Cascades for Inference Servingcited by 4
  10. 2024OCCAM: Towards Cost-Efficient and Accuracy-Aware Classification Inferencecited by 3
  11. 2025Optimizing Large Language Models: Metrics, Energy Efficiency, and Case Study Insightscited by 3
  12. 2026RouteNLP: Closed-Loop LLM Routing with Conformal Cascading and Distillation Co-Optimizationcited by 2
  13. 2021Cocktail: Leveraging Ensemble Learning for Optimized Model Serving in Public Cloudcited by 1
  14. 2024Real-time Adapting Routing (RAR): Improving Efficiency Through Continuous Learning in Software Powered by Layered Foundation Modelscited by 1
  15. 2026Uncertainty-Aware Sequential Decision Rules for Event-Triggered LLM Invocation in Streaming Systemscited by 1
  16. 2023Automatic and Efficient Customization of Neural Networks for ML Applicationscited by 0
  17. 2026How Often Should a Recommender Call an LLM? Value-Weighted Routing, Monitoring, and Seasonal Robustnesscited by 0
  18. 2026Multinomial Subset Routing with Sum-Max Rewards and Operational Constraintscited by 0
  19. 2026Discovering Translation-Worthy Languages with E-Valuescited by 0
  20. 2026Optimal Model Activation Policies for Inference Networks of Large Language Modelscited by 0
  21. 2026Certified Predictive Value-of-Advice Gating for Cost-Aware Language-Model Guidance in Reinforcement Learningcited by 0