potentialpaper

MixLLM: Selecting Large Language Models with High-Quality Results and Minimum Inference Cost for Multi-Stage Complex Tasks

Mengsu Ding, Rong Zhu, Bolin Ding, Jingren Zhou

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. We study the problem of selecting LLMs for multi-stage complex tasks to jointly optimize final result quality and minimize LLM inference cost. Existing approaches primarily target simple tasks or optimize for improving result quality or reducing cost only, overlooking the trade-off between them. We address this gap by systematically investigating LLM performance in multi-stage workflows. Inspired by our findings from real-world applications, we formalize the LLM selection problem as a constraint-based optimization task with good properties: guarantee lower bounds on accuracy, minimize LLM inference cost and tolerate performance fluctuations caused by LLM stochasticity, making it more practical for users. We further introduce MixLLM, a search framework that leverages the exploration–exploitation principle to adaptively balance result quality and LLM inference cost. MixLLM is carefully designed to efficiently identify a (near-)optimal solution with minimal exploration and to terminate automatically and early via search-space pruning. Experimental results demonstrate that, compared to using a single powerful commercial or open-source LLM, or selecting LLMs via existing state-of-the-art methods, our approach not only improves result quality (by 1% – 16%) but also significantly reduces inference cost (by 18% – 92%). In addition, our approach efficiently adapts to different tasks, methods, and datasets, demonstrating its practicality and robustness for multi-stage complex tasks.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…