← Latest papers
🤖 AI

Coral: Cost-Efficient Multi-LLM Serving over Heterogeneous Cloud GPUs

Coral is an adaptive, heterogeneity-aware multi-LLM serving system that jointly optimizes resource allocation and serving strategies across diverse cloud GPUs, achieving up to 2.79×\times cost reduction and 2.39×\times higher goodput by using a lossless two-stage decomposition to enable fast, near-optimal decision-making.

Original authors: Yixuan Mei, Zikun Li, Zixuan Chen, Shiqi Pan, Mengdi Wu, Xupeng Miao, Zhihao Jia, K. V. Rashmi

Published 2026-05-07
📖 5 min read🧠 Deep dive

Original authors: Yixuan Mei, Zikun Li, Zixuan Chen, Shiqi Pan, Mengdi Wu, Xupeng Miao, Zhihao Jia, K. V. Rashmi

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are running a massive, high-end restaurant kitchen. In the past, everyone believed you needed the most expensive, state-of-the-art head chef and the largest, fastest stove to prepare every single dish. However, in the world of Large Language Models (LLMs) – the AI brains behind chatbots and code generators – this has changed. No single "AI model" is the best at everything. Some excel at writing code, others at chatting, and some are only suitable for simple tasks.

Furthermore, the "kitchen" (the cloud servers) is a chaotic mix of varying equipment. You have super-fast, expensive "H100" stoves, yet these are often sold out. You also have older, cheaper "L4" or "A100" stoves that are available and surprisingly offer just as much cooking power per dollar.

The problem is: How do you run a kitchen with 46 different recipes (models) using a mix of expensive and cheap stoves without wasting money or making customers wait?

This is exactly the problem Coral solves.

The Old Way: The "One-Size-Fits-All" Mistake

Previous systems tried to solve this by treating every dish as a black box. They said: "For the code-writing dish, we need a whole H100 stove. For the chat dish, we need an A100." They did not look inside the recipe to see if they could mix and adapt parts of the stove.

This led to two major problems:

  1. Wasted Money: They often bought the most expensive equipment, even if a cheaper mix would have worked just as well.
  2. Bottlenecks: When the expensive stoves ran out, the entire kitchen came to a halt, even though they had many cheaper stoves sitting idle.

The Coral Solution: The "Intelligent Mix-and-Match" Head Chef

Coral is like a brilliant head chef who realizes that a single dish does not need to be prepared on just one type of stove. Instead, Coral breaks down the cooking process into phases and assigns the perfect stove to each stage.

Here is how it works, using a simple analogy:

1. The Two-Phase Strategy (Offline vs. Online)

Coral splits its thinking into two parts to avoid being overwhelmed:

  • Phase 1: The Recipe Book (Offline)
    Before the restaurant opens, Coral spends time creating a massive "recipe book." For every possible dish (model) and every possible combination of stoves (GPUs), it calculates the absolute best way to prepare it.

    • Example: It determines that for the "Qwen-3 235B" dish, the best way to cook the first part (Prefill) is to use three cheap L40S stoves and two expensive H100 stoves in a specific sequence.
    • It writes these perfect "recipes" as Serving Templates. This takes a long time but only needs to happen once.
  • Phase 2: The Daily Shift (Online)
    When the restaurant opens and orders come in, Coral does not stop to rethink from scratch how to cook. It simply looks into its Recipe Book.

    • It checks: "We currently have 5 L40s and 2 H100s available. We need to prepare 100 Qwen-3 dishes."
    • It immediately selects the pre-calculated recipe that fits these specific stoves and meets the customer's speed requirements.
    • Since the hard math was done in advance, Coral can make these decisions in seconds, not hours. This allows the kitchen to adapt instantly if a stove fails or a new order floods in.

2. The "Teamwork" Analogy

Imagine you have two teams of workers (two different AI models) and a limited amount of tools (GPUs).

  • The Old Way: Team A grabs all the best tools because they are the "best" team. Team B is left with broken tools and cannot finish its work.
  • Coral's Way: Coral looks at the big picture. It realizes that Team A can actually do its job just as well with a mix of good and decent tools if they reorganize their workflow. This frees up the best tools for Team B. Both teams finish their work on time, and no tools are wasted.

Why This Matters

The study tested Coral with 6 different AI models and 20 different types of computer chips (GPUs). The results were impressive:

  • Cheaper: Coral reduced the cost of operating these AI models by up to 2.79 times compared to the best existing methods. This is like paying $100 for a meal and only $36 for the same quality.
  • Faster (with scarce resources): When the "kitchen" is overcrowded and tools are hard to find, Coral managed to serve 2.39 times more customers than the competition without slowing down.

The Bottom Line

Coral is a system that stops treating AI models as rigid, monolithic machines. Instead, it treats them like flexible recipes that can be prepared on a mix of old and new equipment. By planning the "perfect mix" in advance and then applying it quickly in real-time, it saves enormous amounts of money and keeps AI running smoothly, even when hardware supply is shaky.

In short: Coral is the intelligent manager who knows how to use a mix of expensive and cheap tools to get the job done faster and cheaper than anyone else.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →