Become A Local AI Performance Expert (vLLM Explained)
Description: ⚡ Build your AI career in my program: https://aiengineer.community/join
I ran a week of inference benchmarks on the NVIDIA DGX Spark to compare vLLM with llama.cpp and LM Studio. vLLM delivered up to 2.8x aggregate tokens per second at 32 concurrent requests, but it was slower at one request with default settings. This video builds the intuition behind those results, then tests NVIDIA Nemotron 3.5 Lightning and Qwen 3.8 Flash on 128GB of unified memory.
What You'll Learn
- How vLLM reaches up to 2.8x aggregate tokens per second at 32 concurrent requests, while llama.cpp and LM Studio stay faster at one request with default settings
- What a concurrent request is, and why one Claude Code user can reach about 4 concurrent requests on a normal day and 8+ in practice with sub-agents
- How continuous batching replaces the idle gaps created by static batching
- Why batching more requests raises aggregate throughput on fixed memory bandwidth, explained with the warehouse analogy
- How compute-bound prefill and memory-bound decode affect context windows, caching, and local model speed
- Why one mixture-of-experts model under concurrency can beat a small and large model pair, plus the OpenClaw and Hermes counter-case
- How speculative decoding / MTP predicts several tokens before the larger model verifies them
- How time to first token and joules per token change as concurrency rises
- How I used Claude Code with frontier cloud models to configure vLLM and run a benchmark client with 1000 input tokens, 256 output tokens, warm-up, and two to three repeats
- Why NVIDIA Nemotron 3.5 Lightning, with 30B total and 3B active parameters, reached 440 tokens per second on vLLM versus 95 on LM Studio at 32 concurrent requests, while a 120B dense model reached 108 tokens per second at 60 concurrent requests
- How Qwen 3.8 Flash fits 177B parameters on a 128GB DGX Spark by offloading embedding n-gram tables to SSD and reaches 70 tokens per second at 8 concurrent requests on llama.cpp; vLLM could not run this SSD-offload setup at recording time
Timestamps
0:00 A week of DGX Spark inference benchmarks
0:30 vLLM reaches 2.8x under concurrency
1:47 Concurrent requests in Claude Code
3:43 Continuous batching versus static batching
5:05 Why batching raises aggregate throughput
6:48 From one chat to many sub-agents
7:45 Compute-bound prefill and memory-bound decode
9:45 Choosing models for the DGX Spark
10:30 One big model versus a model pair
12:34 Speculative decoding and MTP
14:20 MTP in llama.cpp and vLLM setup
15:21 Time to first token under concurrency
16:08 Joules per token
16:35 Benchmark method and token counts
17:19 Nemotron 3.5 Lightning benchmark
18:48 Qwen 3.8 Flash on 128GB
20:36 Qwen 3.8 Flash is not daily-driver ready
21:43 Pick the model that fits your hardware
Video references
- vLLM: https://docs.vllm.ai/
- llama.cpp: https://github.com/ggml-org/llama.cpp
- LM Studio: https://lmstudio.ai/
- My previous DGX Spark video: https://youtu.be/HyR03cpg6s4
- My FREE local AI projects, which run on a normal CPU too: https://zenvanriel.com/open-source?ref=yt-36K61l2kkso
Why I Made This Video
Most local inference comparisons stop at one request or show a chart without explaining why throughput changes. I spent a week testing the full concurrency curve so you can understand continuous batching, prefill, decode, speculative decoding, latency, energy use, and model choice on the DGX Spark. The program linked at the top is where you can work directly with me to build your local AI skills and improve your career.
NVIDIA provided me with the DGX Spark: no paid sponsorship :)
#localai #dgxspark #nvidia #claudecode #lmstudio #qwen #localllm #aicoding #selfhostedai #aiengineering #localclaudecode #edgeai #vllm
Connect
LinkedIn: https://www.linkedin.com/in/zen-van-riel
Program: https://www.skool.com/ai-engineer
Sponsorships & Business Inquiries: business@aiengineer.community Close description
I ran a week of inference benchmarks on the NVIDIA DGX Spark to compare vLLM with llama.cpp and LM Studio. vLLM delivered up to 2.8x aggregate tokens per second at 32 concurrent requests, but it was slower at one request with default settings. This video builds the intuition behind those results, then tests NVIDIA Nemotron 3.5 Lightning and Qwen 3.8 Flash on 128GB of unified memory.
What You'll Learn
- How vLLM reaches up to 2.8x aggregate tokens per second at 32 concurrent requests, while llama.cpp and LM Studio stay faster at one request with default settings
- What a concurrent request is, and why one Claude Code user can reach about 4 concurrent requests on a normal day and 8+ in practice with sub-agents
- How continuous batching replaces the idle gaps created by static batching
- Why batching more requests raises aggregate throughput on fixed memory bandwidth, explained with the warehouse analogy
- How compute-bound prefill and memory-bound decode affect context windows, caching, and local model speed
- Why one mixture-of-experts model under concurrency can beat a small and large model pair, plus the OpenClaw and Hermes counter-case
- How speculative decoding / MTP predicts several tokens before the larger model verifies them
- How time to first token and joules per token change as concurrency rises
- How I used Claude Code with frontier cloud models to configure vLLM and run a benchmark client with 1000 input tokens, 256 output tokens, warm-up, and two to three repeats
- Why NVIDIA Nemotron 3.5 Lightning, with 30B total and 3B active parameters, reached 440 tokens per second on vLLM versus 95 on LM Studio at 32 concurrent requests, while a 120B dense model reached 108 tokens per second at 60 concurrent requests
- How Qwen 3.8 Flash fits 177B parameters on a 128GB DGX Spark by offloading embedding n-gram tables to SSD and reaches 70 tokens per second at 8 concurrent requests on llama.cpp; vLLM could not run this SSD-offload setup at recording time
Timestamps
0:00 A week of DGX Spark inference benchmarks
0:30 vLLM reaches 2.8x under concurrency
1:47 Concurrent requests in Claude Code
3:43 Continuous batching versus static batching
5:05 Why batching raises aggregate throughput
6:48 From one chat to many sub-agents
7:45 Compute-bound prefill and memory-bound decode
9:45 Choosing models for the DGX Spark
10:30 One big model versus a model pair
12:34 Speculative decoding and MTP
14:20 MTP in llama.cpp and vLLM setup
15:21 Time to first token under concurrency
16:08 Joules per token
16:35 Benchmark method and token counts
17:19 Nemotron 3.5 Lightning benchmark
18:48 Qwen 3.8 Flash on 128GB
20:36 Qwen 3.8 Flash is not daily-driver ready
21:43 Pick the model that fits your hardware
Video references
- vLLM: https://docs.vllm.ai/
- llama.cpp: https://github.com/ggml-org/llama.cpp
- LM Studio: https://lmstudio.ai/
- My previous DGX Spark video: https://youtu.be/HyR03cpg6s4
- My FREE local AI projects, which run on a normal CPU too: https://zenvanriel.com/open-source?ref=yt-36K61l2kkso
Why I Made This Video
Most local inference comparisons stop at one request or show a chart without explaining why throughput changes. I spent a week testing the full concurrency curve so you can understand continuous batching, prefill, decode, speculative decoding, latency, energy use, and model choice on the DGX Spark. The program linked at the top is where you can work directly with me to build your local AI skills and improve your career.
NVIDIA provided me with the DGX Spark: no paid sponsorship :)
#localai #dgxspark #nvidia #claudecode #lmstudio #qwen #localllm #aicoding #selfhostedai #aiengineering #localclaudecode #edgeai #vllm
Connect
LinkedIn: https://www.linkedin.com/in/zen-van-riel
Program: https://www.skool.com/ai-engineer
Sponsorships & Business Inquiries: business@aiengineer.community Close description




