Chapter 16 · Layer 3 · Inference Engines
Same Model, Half the Chips
On 20 June 2023, a team based mostly at the University of California, Berkeley published a blog post introducing a piece of free, open-source software called vLLM.
Sanket Kulkarni · · 6 min read
Part of The Seven-Layer Tokenomics Stack
The software that freed half the hardware
On 20 June 2023, a team based mostly at the University of California, Berkeley published a blog post introducing a piece of free, open-source software called vLLM. Its headline finding was about waste. Existing systems for running AI models, they wrote, "waste 60% – 80% of memory due to fragmentation and over-reservation". Their approach brought that down to "a mere waste of under 4%".
vLLM, June 2023 launch post
Memory waste from most of the chip to under four per cent
Older systems: memory waste
fragmentation and over-reservation
60–80%
vLLM with PagedAttention
mere waste, per the launch post
under 4%
LMSYS after vLLM
50% fewer chips
same models, ~30k requests a day, peaks of 60k
Inferact, Jan 2026
$150M seed
$800M valuation at launch
Sources: vLLM blog, 20 June 2023; Inferact launch, 22 January 2026.
The commercial result sat in the same post. The LMSYS research group had switched to vLLM and was able to cut the number of graphics chips serving its traffic by half. Same models. Same traffic: an average of 30,000 requests a day, with peaks of 60,000. Half the chips.
No hardware was bought. No model was changed. Only the software that runs the model changed.
On 22 January 2026, the people behind vLLM launched a company, Inferact, with $150 million of seed funding at an $800 million valuation, in a round co-led by Andreessen Horowitz and Lightspeed Venture Partners. Investors had worked out what operators already knew: the serving software decides how many tokens each chip turns out. (A token is a small chunk of text, roughly a short word, and the unit every AI bill is counted in.)
Yesterday the cooks picked up the phone. Today we look at the stove itself.
The school bus and the shared auto
First, two words. Inference is the work of running a trained model to produce an answer, as opposed to training it. An inference engine is the serving software that takes incoming requests, runs them through the model on the chips, and sends the words back one token at a time.
The engine's main trick is grouping requests, which the industry calls batching. For every token, the chip has to read the model's billions of settings from memory. Once it has read them, applying them to many requests costs little more than applying them to one. So the engine packs requests together.
How it packs them is everything. Picture two ways of moving people across Pune.
The old way is a school bus. It fills up, sets off, and takes no one new until the last child is dropped at the far end of the route. Children who got off at the first stop leave empty seats that ride along for the rest of the trip. Engineers at Anyscale described exactly this on 22 June 2023: with fixed groups, requests that finish early leave the chip under-used until the longest one in the group is done.
The new way is a shared auto-rickshaw. The moment a passenger gets down, the driver picks up the next person waiting at the roadside. Seats are almost never empty. The industry calls this continuous batching: as soon as one request finishes, a new one takes its place on the very next step. In Anyscale's tests, continuous batching combined with vLLM's memory handling delivered up to 23 times the throughput (tokens produced per second) of the simple bus-style approach, while also cutting the typical wait.
The memory waste in the hook is the same story told through seats. Every running conversation needs working memory on the chip to keep track of what has been said so far. Older systems reserved a large block for each request up front, like a restaurant holding an eight-seat table for a couple in case friends turn up. vLLM hands out memory in small pages only as it is needed. More conversations fit on the same chip, so the auto can carry more passengers.
A price lever hiding in the volume layers
Throughout this series I have said the lower layers set the price of a token and the upper layers set how many get spent. Inference engines are the useful exception. They sit in Layer 3, but they mostly move price.
The arithmetic is simple. You pay for a chip by the hour, and the rent does not care how many tokens you produce. My own illustration: if the engine doubles the tokens a chip produces in that hour, the cost of each token halves. Nothing in the electricity bill, the chip contract or the data centre changed.
The Tokenomics Foundation's framework calls the inference stack "usually the single largest source of optimization" and says "The first decision is choosing an engine that fits the workload." It lists vLLM as the "general default", SGLang for workloads with heavily repeated openings and structured output, NVIDIA's TensorRT-LLM for maximum speed on NVIDIA chips, and llama.cpp and Ollama for running models on your own machine. It also notes that every mainstream engine now does continuous batching, page-by-page memory and a lighter eight-bit number format.
The field moves quickly. SGLang, hosted by the same LMSYS group, reported up to 6.4 times higher throughput than other leading systems in its research paper, much of it from reusing work on repeated text: Chapter 14's base gravy, built into the stove. Hugging Face, an early leader with its Text Generation Inference software, now says on its documentation that the product "is now in maintenance mode" and recommends vLLM and SGLang instead. As of today, vLLM's code page lists support for chips from NVIDIA, AMD and Intel, with plug-ins for chips from Google, Huawei, Apple and others, and more than 2,000 contributors.
That is a procurement point as much as a technical one. An engine that runs on many makers' chips keeps your chip choice open. An engine tuned to one maker can squeeze more from those chips and ties you closer to them. Both are valid. Choose deliberately.
There is one trade-off to manage. Fuller groups mean more tokens per chip, but past a point each user waits longer. Anyscale noted that the waiting-time gains shrink as the system fills up. So the key decisions here are: which engine for which workload, how full to let the groups run against your response-time promise, which number format to accept, and what to measure.
What I would do on Monday morning
- Measure tokens per chip-hour. For every model you run yourself, track tokens produced per chip per hour and how full the groups run. The framework lists throughput, time to the first token and how efficiently groups are filled among the signals to watch. If you buy through a provider, ask which engine they run.
- Test two engines on your own traffic before you buy more capacity. Replay a week of real requests through your current engine and one alternative. A software change that doubles tokens per chip beats any chip discount you will negotiate.
- Set the waiting-time promise first, then fill the groups. Agree with product owners how long a user may wait for the first word. Then let operations pack the groups right up to that line, and no further.
Tomorrow
Chapter 17 covers Runtime Safety: spotting personal data, moderation, content safety and checking answers before they leave the kitchen. Today we tuned the stove. Tomorrow we meet the food taster.
This series builds on The Seven-Layer Tokenomics Stack by the Tokenomics Foundation, used under a Creative Commons Attribution 4.0 licence. The commentary, and any mistakes, are mine. Views are my own and do not represent my employer.
Sources
Every figure was checked against its source on 19 November 2026.
- Tokenomics Foundation, The Seven-Layer Tokenomics Stack (full paper), 14 October 2026, Creative Commons Attribution 4.0 licence. Inference stack "usually the single largest source of optimization"; "The first decision is choosing an engine that fits the workload."; engine list (vLLM "general default", SGLang for prefix-heavy and structured output, TensorRT-LLM for maximum throughput on NVIDIA, llama.cpp and Ollama for local use); all mainstream engines doing continuous batching, paged memory and eight-bit number formats; signals including throughput, time to first token and batch efficiency. The paper gives no cost figures for this layer.
- Woosuk Kwon and others, vLLM: Easy, Fast, and Cheap LLM Serving with PagedAttention, vLLM blog, 20 June 2023. Existing systems "waste 60% – 80% of memory due to fragmentation and over-reservation"; "a mere waste of under 4%"; the LMSYS group cutting the number of graphics chips serving its traffic by 50%; an average of 30,000 requests a day and a peak of 60,000.
- Woosuk Kwon and others, Efficient Memory Management for Large Language Model Serving with PagedAttention, arXiv, 12 September 2023 (Symposium on Operating Systems Principles 2023). Peer-reviewed version of the vLLM method; two to four times higher throughput than earlier systems at the same response time.
- Cade Daniel, Chen Shen, Eric Liang and Richard Liaw, How continuous batching enables 23x throughput in LLM inference while reducing p50 latency, Anyscale, 22 June 2023. Fixed groups leaving the chip under-used until the longest request ends; continuous batching inserting a new request as soon as one finishes; up to 23 times throughput with vLLM; lower median waiting time; gains shrinking as the system fills up.
- Lianmin Zheng and others, SGLang: Efficient Execution of Structured Language Model Programs, arXiv, 12 December 2023 (revised 6 June 2024). Up to 6.4 times higher throughput than leading inference systems, including through reuse of work on repeated text.
- SGLang, GitHub repository, as of 19 November 2026. Hosted by LMSYS, a non-profit open-source organisation.
- vLLM, GitHub repository, as of 19 November 2026. Originally developed at the University of California, Berkeley; more than 2,000 contributors; support for NVIDIA, AMD and Intel chips with plug-ins for Google, Huawei, Apple and other chips.
- Hugging Face, Text Generation Inference documentation, as of 19 November 2026. "text-generation-inference is now in maintenance mode"; recommends vLLM and SGLang.
- NVIDIA, TensorRT-LLM GitHub repository, as of 19 November 2026. Open-source library for optimising model serving on NVIDIA chips.
- TechCrunch, Inference startup Inferact lands $150M to commercialize vLLM, 22 January 2026. $150 million seed funding at an $800 million valuation; round co-led by Andreessen Horowitz and Lightspeed Venture Partners; founded by the creators of vLLM.
The halving of cost per token when tokens per chip-hour double is the author's illustration, not a measured figure.