SkyLLM: Cross-LLM-APIs Federation for Cost-effective Query Processing

Large language models (LLMs) have demonstrated exceptional capabilities across a wide range of tasks, from text generation to complex problem-solving.LLM APIs provide easy access to these models by streamlining deployment and usage.Combining LLMs with complementary strengths has been shown to yield substantial performance gains over a monolithic LLM.However, invoking a fixed set of LLM APIs for each query incurs higher API costs and increased inference latency.To address these limitations, we propose SkyLLM, a system composed of a set of estimators and an API selector, which federates multiple LLM APIs and dynamically assigns a non-empty subset of these APIs to each query prior to inference under cost and latency budgets.The selected subset consists of either a single LLM or multiple LLMs.A single LLM efficiently handles simple queries at low cost, whereas multiple LLMs are employed for more complex queries to overcome performance limitations.We evaluate SkyLLM against individual LLMs and representative ensemble LLM methods from the literature.SkyLLM achieves the highest accuracy under a high budget.It can also be cost-effective, matching the most accurate individual LLM while cutting costs by 67.8%.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.1073
Citations
1
Primary Topic
Advanced Database Systems and Queries
Type
article
Field-Weighted Citation Impact
1.49
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SkyLLM: Cross-LLM-APIs Federation for Cost-effective Query Processing

Yifei Zhu, Heng Zhao
1 citations
Advanced Database Systems and Queries
1.49
article

SkyLLM: Cross-LLM-APIs Federation for Cost-effective Query Processing

Yifei Zhu, Heng Zhao
article en
1 citations

Abstract

Large language models (LLMs) have demonstrated exceptional capabilities across a wide range of tasks, from text generation to complex problem-solving.LLM APIs provide easy access to these models by streamlining deployment and usage.Combining LLMs with complementary strengths has been shown to yield substantial performance gains over a monolithic LLM.However, invoking a fixed set of LLM APIs for each query incurs higher API costs and increased inference latency.To address these limitations, we propose SkyLLM, a system composed of a set of estimators and an API selector, which federates multiple LLM APIs and dynamically assigns a non-empty subset of these APIs to each query prior to inference under cost and latency budgets.The selected subset consists of either a single LLM or multiple LLMs.A single LLM efficiently handles simple queries at low cost, whereas multiple LLMs are employed for more complex queries to overcome performance limitations.We evaluate SkyLLM against individual LLMs and representative ensemble LLM methods from the literature.SkyLLM achieves the highest accuracy under a high budget.It can also be cost-effective, matching the most accurate individual LLM while cutting costs by 67.8%.

Openalex Percentile: Top 14%
Advanced Database Systems and Queries
1.49
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.