Qwen3.8 Flash: llama.cpp vs SGLang vs FreeToken benchmarks

Compare memory placement and inference speed on a 96GB RTX PRO 6000 Blackwell, including a reported 35.4-second first token in SGLang.

Player not loading? Watch on YouTube

This comparison tests Qwen3.8-Flash-Next with llama.cpp, SGLang and FreeToken on one RTX PRO 6000 Blackwell with 96GB VRAM and 96GB system RAM. The Ubuntu setup uses CUDA 13 and Docker. It examines how each engine handles a local LLM whose compute weights and lookup table exceed the GPU's memory capacity together.

In the tested configurations, llama.cpp keeps compute weights on the GPU and the table in RAM. SGLang keeps compute weights on the GPU but reads table rows from NVMe. FreeToken holds experts in RAM, caches experts on the GPU and uses disk-backed table reads. The discussion explains cache misses, PCIe transfers and how overlapping transfers with computation can reduce waiting.

The presenter reports first-token times of 35.4 seconds for SGLang, 80.4 for FreeToken and 258.4 for llama.cpp with roughly 261,500 input tokens. These results compare specific stacks: quantization, cache settings and speculation differ. MTP improves llama.cpp decode in the tests, but can cost prefill performance; the full-window comparison also uses different builds.

Accuracy tests detected no significant pairwise differences, which does not establish equal quality. The description withdraws the PR 28136 prefill gain because an ignored flag prevented the intended test. Startup measurements also distinguish an HTTP health response from readiness to answer.