The Open Model EcosystemLesson 37 of 71

Module 4 · Making it run on the machine you have

Serving many users at once

In this lesson

  • 9 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 7 of 10 in this chapter

This chapter’s goalSize, quantise and serve an open model on hardware you actually have (a laptop, a phone, a free cloud tier or a rented GPU) predict its generation speed from memory bandwidth before running it, choose a bit width you can defend, and state the monthly token volume at which renting stops being cheaper than owning.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
The same GPU, two scheduling decisionsOne streamWeights read once per token, for one sequenceAbout 100 tokens per second in totalThat one user gets all 100Cache reserved for the maximum contextCapacity idle between requestsThirty-two streams, continuous batchingWeights read once per step, for all 32About 2,000 tokens per second in totalEach user sees perhaps 60Paged attention hands out blocks as neededA finished sequence is replaced immediatelyTotal work rises many times over and each person’s experience degrades a little. That is the wholeeconomic basis of hosted inference, and the reason llama.cpp, which optimises one conversationbeautifully, is the wrong engine for thirty.
Total work rises many times over and each person's experience degrades a little. That is the whole economic basis of hosted inference, and the reason llama.cpp, which optimises one conversation beautifully, is the wrong engine for thirty.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

Why a different engine exists

Everything so far optimised one conversation. Serving thirty at once is a different problem, and the tool for it is vLLM, or SGLang, or Hugging Face’s TGI, or TensorRT-LLM on Nvidia hardware. The ideas below are shared; vLLM is the common starting point.

Bash
pip install vllm
vllm serve Qwen/Qwen3-8B   --max-model-len 8192   --gpu-memory-utilization 0.90   --max-num-seqs 64   --enable-prefix-caching

Same OpenAI-compatible endpoint as everything else, so your client code does not change.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Maths You Actually Need exam.

Stuck on something?Ask Anjali, your AI tutor

How to cite: Addaly (2026) ‘Serving many users at once’, in The Open Model Ecosystem. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/open-models/serving-many-users (Accessed: 27 November 2026).