Reproduce “Mélange: Cost Efficient Large Language Model Serving by Exploiting GPU Heterogeneity” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Tyler Griggs, Xiaoxuan Liu, Jiaxiang Yu, Doyoung Kim, Wei-Lin Chiang, Alvin Cheung, Ion Stoica

Mélange is a GPU allocation framework that minimizes the cost of serving Large Language Models by strategically selecting and combining diverse GPU types based on workload characteristics and latency requirements. The framework achieves cost reductions of up to 77% compared to single-GPU baselines while reliably adhering to service-level objectives.

Key insights

  • No single GPU type is universally the most cost-efficient; optimal GPU selection is highly dependent on LLM request size, request rate, and latency Service-Level Objectives (SLOs).
  • Lower-end GPUs (e.g., A10G, L4) are more cost-efficient for small request sizes and looser SLOs, while high-end GPUs (e.g., A100, H100) are more efficient for large requests and tighter SLOs.
  • Provisioning a mix of heterogeneous GPU types consistently yields the lowest deployment cost by enabling finer-grained resource scaling and matching allocated capacity to dynamic workload characteristics.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.