Beyond GPT-5: Making LLMs Cheaper and Better via Performance-Efficiency Optimized Routing

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Yiqun, Li, Hao, Chen, Jianhao, Zhang, Hangfan, Ye, Peng, Bai, Lei, Hu, Shuyue
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917031388905472
author Zhang, Yiqun
Li, Hao
Chen, Jianhao
Zhang, Hangfan
Ye, Peng
Bai, Lei
Hu, Shuyue
author_facet Zhang, Yiqun
Li, Hao
Chen, Jianhao
Zhang, Hangfan
Ye, Peng
Bai, Lei
Hu, Shuyue
contents Balancing performance and efficiency is a central challenge in large language model (LLM) advancement. GPT-5 addresses this with test-time routing, dynamically assigning queries to either an efficient or a high-capacity model during inference. In this work, we present Avengers-Pro, a test-time routing framework that ensembles LLMs of varying capacities and efficiencies, providing a unified solution for all performance-efficiency tradeoffs. The Avengers-Pro embeds and clusters incoming queries, then routes each to the most suitable model based on a performance-efficiency score. Across 6 challenging benchmarks and 8 leading models -- including GPT-5-medium, Gemini-2.5-pro, and Claude-opus-4.1 -- Avengers-Pro achieves state-of-the-art results: by varying a performance-efficiency trade-off parameter, it can surpass the strongest single model (GPT-5-medium) by +7% in average accuracy. Moreover, it can match the average accuracy of the strongest single model at 27% lower cost, and reach ~90% of that performance at 63% lower cost. Last but not least, it achieves a Pareto frontier, consistently yielding the highest accuracy for any given cost, and the lowest cost for any given accuracy, among all single models. Code is available at https://github.com/ZhangYiqun018/AvengersPro.
format Preprint
id arxiv_https___arxiv_org_abs_2508_12631
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Beyond GPT-5: Making LLMs Cheaper and Better via Performance-Efficiency Optimized Routing
Zhang, Yiqun
Li, Hao
Chen, Jianhao
Zhang, Hangfan
Ye, Peng
Bai, Lei
Hu, Shuyue
Computation and Language
Balancing performance and efficiency is a central challenge in large language model (LLM) advancement. GPT-5 addresses this with test-time routing, dynamically assigning queries to either an efficient or a high-capacity model during inference. In this work, we present Avengers-Pro, a test-time routing framework that ensembles LLMs of varying capacities and efficiencies, providing a unified solution for all performance-efficiency tradeoffs. The Avengers-Pro embeds and clusters incoming queries, then routes each to the most suitable model based on a performance-efficiency score. Across 6 challenging benchmarks and 8 leading models -- including GPT-5-medium, Gemini-2.5-pro, and Claude-opus-4.1 -- Avengers-Pro achieves state-of-the-art results: by varying a performance-efficiency trade-off parameter, it can surpass the strongest single model (GPT-5-medium) by +7% in average accuracy. Moreover, it can match the average accuracy of the strongest single model at 27% lower cost, and reach ~90% of that performance at 63% lower cost. Last but not least, it achieves a Pareto frontier, consistently yielding the highest accuracy for any given cost, and the lowest cost for any given accuracy, among all single models. Code is available at https://github.com/ZhangYiqun018/AvengersPro.
title Beyond GPT-5: Making LLMs Cheaper and Better via Performance-Efficiency Optimized Routing
topic Computation and Language
url https://arxiv.org/abs/2508.12631