How to properly measure LLM speed (Finale)
I started this series with the goal of debunking why claims you see on social media like “1200tk/s on a single GPU” can be true but grossly misleading at the same time.
Well today, we are going to build our own 1200tk/s benchmark run on a DGX Spark to prove that.
Previously on “How to Properly Measure LLM Speed”, we looked at the performance of:
- Qwen 3.8 27B dense model with various speculative decoding options
- Qwen 3.6 35B MoE model with various speculative decoding options
- Long context length
We learned how a dense model is entirely limited by memory bandwidth, and how MoE is generally a friendlier architecture to serve.
We also saw why serving multiple requests at once is virtually ‘free’ and is a great way to boost the overall throughput of the system.
We learned how speculative decoding like MTP and Dflash2 can eliminate the memory bandwidth bottleneck, but they need careful benchmarking to understand their strength and weaknesses in different situations, we saw how the content of the response can change decoding speed by 20%, depending on whether it’s prose or code.
We saw how performance tanks when the context fills up.
Another variable is the quantization of the models themselves. Most models are released as BF16, which means each weight is represented as 16bit. But most users run the heavily quantized versions at 8bit, 4bit, 3bit, or even 2bit. This is done so the model will fit within the amount of memory that’s available, but this dramatically reduces the precision of the numbers. While heavily quantized models will run faster, despite what anyone tells you, this WILL have an impact on the accuracy of the model.
So let’s take all that we learned and try to build a synthetic workload that will reach 1000 tk/s on our DGX Spark using the Qwen 3.6 35B NVFP4 model. Let me reiterate: this is an intentionally pointless benchmark designed to achieve maximum throughput. I am trying to show why chasing after high tk/s without understanding all the variables at play is a fool’s errand.
Here is my plan to achieve this 1000tk/s goal:
- Use greedy sampling. Where we tell the model to always pick the top token instead of sampling from a pool of possible tokens. This greatly reduces creativity when reasoning and lowers the model’s quality. But it makes the speculative decoding accuracy go up since it’s easier to predict the next token when there is less variability.
- Run the benchmark with a fresh context to reduce the amount of distraction a model has to attend to.
- Benchmark with prompts that output mostly boilerplate material. Code is more easy to predict than prose so naturally the speculative acceptance rate is higher. And we’ll turn off thinking to ensure the output is almost all code.
- Run inference at really high concurrency to maximize throughput. In the real world, for a single user, not every workload benefits from parallel agents since not everything is parallelizable.
- Some inference engines go as far as prune less used MoE experts from the model entirely, and routes tokens to expert that’s already in GPU memory, instead of the correct expert that it would have chosen. This helps when you have a model that’s too big to fit in GPU memory, but again, greatly affects the quality of the output. We aren’t going to do that because frankly I can’t be bothered, and I think we can get to 1000tk/s without it.
Keep in mind the single user decode for this exact model was 76tk/s. With all those tweaks in place, here is the speed run:
Boom. 1500 tk/s on a single DGX Spark running Qwen 3.6 35B model at NVFP4 precision. This was done at 30 concurrencies, compare this to the ~300-400tk/s we were getting in a real workload at C30, this benchmark is about 4x faster through the careful tuning of a few knobs.
I can get to 2000tk/s if we reduce the precision to 2bit, but I think the point has been made: Don’t trust LLM speed benchmarks unless you understand the condition at which it was made.