← Latest papers
🤖 AI

More GPUs or a Smaller Cache? Tensor Parallelism versus KV Compression for Memory-Bound LLM Serving

This paper demonstrates that for memory-bound LLM serving, KV compression consistently offers a superior cost-to-capacity ratio compared to tensor parallelism, which is only necessary for models exceeding device memory limits but fails to improve latency or cost-efficiency for smaller models.

Original authors: Srikanta Datta Tumkur, Mehar Simhadri, Anshu Bansal, Jay Iyer, Sai Pavan Kumar, Sai Kapil Kumar, Ramesh Nampelly, Raj Dandekar

Published 2026-08-26
📖 4 min read☕ Coffee break read

Original authors: Srikanta Datta Tumkur, Mehar Simhadri, Anshu Bansal, Jay Iyer, Sai Pavan Kumar, Sai Kapil Kumar, Ramesh Nampelly, Raj Dandekar

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

When a large language model is asked to hold a long conversation or process a massive document, it faces a simple but stubborn physical limit: memory. The model must keep a running record of everything it has said and heard in a special area of its computer memory, known as a cache, to ensure its answers remain coherent. If the conversation gets too long or too many people ask questions at once, this cache overflows, and the system crashes. To keep the service running, engineers have traditionally relied on two distinct strategies. One approach is to buy more computer chips, spreading the memory load across several powerful processors working in unison. The other is to shrink the memory footprint of the conversation itself, using clever mathematical tricks to compress the data so it fits on a single chip, even if it means sacrificing a tiny bit of precision. For years, these two groups of experts have operated in separate worlds, rarely comparing the actual price tag of their solutions.

A new study brings these two approaches into the same room to see which one is truly cheaper for the people who run these systems. The researchers, working with simulations calibrated against real-world hardware, set out to find a tipping point where adding more chips becomes a better deal than compressing the data. They tested various configurations using popular open-source models and different types of high-end computer chips, measuring the cost per million words generated against the speed of the response. The result was a surprise: there is no tipping point. In every scenario they tested, compressing the data was significantly cheaper than adding more hardware. The gap in cost grew wider the more memory relief was needed, with compression offering up to nearly double the savings compared to simply buying more chips.

The study reveals that the question itself was based on a misunderstanding of how these systems fail. The researchers found that for smaller models, the memory limit is rarely reached by the conversation length alone. A model with seven billion parameters running on a standard high-end chip can handle its maximum possible conversation length without ever running out of space. The real barrier is not how long the chat is, but how big the model itself is. When the model's core instructions, or weights, are too large to fit on a single chip, no amount of compression can help, because compression only shrinks the conversation history, not the model's brain. In these cases, adding more chips is not a choice; it is the only way to make the system work at all. This creates a clear dividing line: if the model is small enough to fit on one chip, compression is the superior, low-cost option. If the model is too big, adding chips is mandatory, and compression becomes a secondary tool to handle more users once the hardware is in place.

The researchers also discovered that these two strategies buy different things. Adding more chips makes the system faster, reducing the time it takes to start an answer and to generate each word. Compressing the data, however, makes the system slower because the computer has to work harder to unpack the compressed information, and the extra users it can now handle create traffic jams that delay responses. While compression allows a single dollar of hardware spending to support roughly sixteen times more concurrent users, adding chips only increases that capacity by a small margin while costing much more. The study concludes that the most efficient path is to first determine if the model fits on one chip. If it does, compress the data to serve more people cheaply. If it does not, add the necessary chips to make it feasible, and then compress the data to maximize the number of users that hardware can support. The idea that there is a middle ground where the two methods cost the same simply does not exist in the real world of these simulations.

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 →