• bitcoinBitcoin(BTC)$79,956.000.37%
  • ethereumEthereum(ETH)$2,502.141.92%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$756.760.49%
  • rippleXRP(XRP)$1.421.04%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$106.493.88%
  • tronTRON(TRX)$0.3343000.47%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.061.58%
  • zcashZcash(ZEC)$1,187.7817.75%
  • HyperliquidHyperliquid(HYPE)$87.803.59%
  • dogecoinDogecoin(DOGE)$0.0901654.80%
  • RainRain(RAIN)$0.0170313.70%
  • moneroMonero(XMR)$536.60-0.62%
  • USDSUSDS(USDS)$1.000.00%
  • chainlinkChainlink(LINK)$12.284.52%
  • whitebitWhiteBIT Coin(WBT)$73.670.67%
  • leo-tokenLEO Token(LEO)$9.340.91%
  • cardanoCardano(ADA)$0.2196593.06%
  • stellarStellar(XLM)$0.1870891.82%
  • bitcoin-cashBitcoin Cash(BCH)$261.133.63%
  • daiDai(DAI)$1.000.00%
  • uniswapUniswap(UNI)$7.0011.87%
  • CantonCanton(CC)$0.1102451.60%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • USD1USD1(USD1)$1.000.00%
  • litecoinLitecoin(LTC)$54.312.57%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.42-0.35%
  • hedera-hashgraphHedera(HBAR)$0.0815111.47%
  • avalanche-2Avalanche(AVAX)$7.692.43%
  • suiSui(SUI)$0.801.89%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • shiba-inuShiba Inu(SHIB)$0.0000050.94%
  • nearNEAR Protocol(NEAR)$2.395.31%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.0574362.56%
  • tether-goldTether Gold(XAUT)$4,425.14-0.02%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • MemeCoreMemeCore(M)$1.141.90%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • okbOKB(OKB)$113.942.07%
  • BittensorBittensor(TAO)$236.23-1.02%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.02%
  • AsterAster(ASTER)$0.780.95%
  • aaveAave(AAVE)$135.163.73%
  • mantleMantle(MNT)$0.616.01%
  • pax-goldPAX Gold(PAXG)$4,429.26-0.10%
  • OndoOndo(ONDO)$0.3785412.59%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.0567970.48%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Stanford Researchers Introduce FrugalGPT: A New AI Framework For LLM APIs To Handle Natural Language Queries

May 18, 2023
in AI & Technology
Reading Time: 4 mins read
A A
Stanford Researchers Introduce FrugalGPT: A New AI Framework For LLM APIs To Handle Natural Language Queries
ShareShareShareShareShare

Many businesses (OpenAI, AI21, CoHere, etc.) are providing LLMs as a service, given their attractive potential in commercial, scientific, and financial contexts. While GPT-4 and other LLMs have demonstrated record-breaking performance on tasks like question answering, their use in high-throughput applications can be prohibitively expensive. FOR INSTANCE, using GPT-4 to assist with customer service can cost a small business over $21,000 monthly, and ChatGPT is predicted to cost over $700,000 daily. The use of the largest LLMs has a high monetary price tag and has serious negative effects on the environment and society.

Studies show that many LLMs are accessible via APIs at a wide range of pricing. There are normally three parts to the cost of using an LLM API:

  1. The prompt cost (which scales with the duration of the prompt)
  2. The generation cost (which scales with the length of the generation)
  3. A fixed cost per question.

Given the wide range in price and quality, it can be difficult for practitioners to decide how to use all available LLM tools best. Furthermore, relying on a single API provider is not dependable if service is interrupted, as could happen in the event of unexpectedly high demand.

🚀 JOIN the fastest ML Subreddit Community

The limitations of LLM are not considered by current model ensemble paradigms like model cascade and FrugalML, which were developed for prediction tasks with a fixed set of labels. 

Recent research by Stanford University proposes a concept for a budget-friendly framework called FrugalGPT, that takes advantage of LLM APIs to handle natural language queries.

Prompt adaptation, LLM approximation, and LLM cascade are the three primary approaches to cost reduction. To save expenses, the prompt adaptation investigates methods of determining which prompts are most efficient. By approximating a complex and high-priced LLM, simpler and more cost-effective alternatives that perform as well as the original can be developed. The key idea of the LLM cascade is to select the appropriate LLM APIs for various queries dynamically. 

A basic version of FrugalGPT built on the LLM cascade is implemented and evaluated to show the potential of these ideas. FrugalGPT learns, for each dataset and task, how to adaptively triage questions from the dataset to various combinations of LLMs, such as ChatGPT, GPT-3, and GPT-4. Compared to the best individual LLM API, FrugalGPT saves up to 98% of the inference cost while maintaining the same performance on the downstream task. FrugalGPT, on the other hand, can yield a performance boost of up to 4% for the same price. 

FrugalGPT’s LLM cascade technique requires labeled examples to be trained. In addition, the training and test examples should have the same or a similar distribution for the cascade to be effective. In addition, time and energy are needed to master the LLM cascade.

FrugalGPT seeks a balance between performance and cost, but other factors, including latency, fairness, privacy, and environmental impact, are more important in practice. The team believes that future studies should focus on including these features in optimization approaches without sacrificing performance or cost-effectiveness. The uncertainty of LLM-generated results also needs to be carefully quantified for use in risk-critical applications. 


Check out the Paper. Don’t forget to join our 21k+ ML SubReddit, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more. If you have any questions regarding the above article or if we missed anything, feel free to email us at [email protected]

🚀 Check Out 100’s AI Tools in AI Tools Club


YOU MAY ALSO LIKE

UC Berkeley Researchers Release CUA-Lite, an Open Platform Unifying Sandboxes, Data, Evaluation and RL for Computer-Use Agents

Perplexity Details Its GPU Embedding Stack: How Ivy, Tulip and ROSE Serve pplx-embed

Tanushree Shenwai is a consulting intern at MarktechPost. She is currently pursuing her B.Tech from the Indian Institute of Technology(IIT), Bhubaneswar. She is a Data Science enthusiast and has a keen interest in the scope of application of artificial intelligence in various fields. She is passionate about exploring the new advancements in technologies and their real-life application.


➡️ Meet Bright Data: The World’s #1 Web Data Platform

Credit: Source link

ShareTweetSendSharePin

Related Posts

UC Berkeley Researchers Release CUA-Lite, an Open Platform Unifying Sandboxes, Data, Evaluation and RL for Computer-Use Agents
AI & Technology

UC Berkeley Researchers Release CUA-Lite, an Open Platform Unifying Sandboxes, Data, Evaluation and RL for Computer-Use Agents

September 6, 2026
Perplexity Details Its GPU Embedding Stack: How Ivy, Tulip and ROSE Serve pplx-embed
AI & Technology

Perplexity Details Its GPU Embedding Stack: How Ivy, Tulip and ROSE Serve pplx-embed

September 6, 2026
Is It Safe To Leave Your Phone’s Bluetooth Running All The Time?
AI & Technology

Is It Safe To Leave Your Phone’s Bluetooth Running All The Time?

September 5, 2026
Apple iTunes Still Exists, But Not The Way It Used To
AI & Technology

Apple iTunes Still Exists, But Not The Way It Used To

September 5, 2026
Next Post
Pelosi Trip Causes China Battery Giant to Halt Plant

Pelosi Trip Causes China Battery Giant to Halt Plant

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Officer who shot Sonya Massey denied medical release from prison

Officer who shot Sonya Massey denied medical release from prison

August 31, 2026
Savannah Guthrie makes emotional new plea to mother’s kidnapper

Savannah Guthrie makes emotional new plea to mother’s kidnapper

September 4, 2026
Fast food restaurants are eating up the high cost of beef

Fast food restaurants are eating up the high cost of beef

September 1, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!