Summary
User benchmarks a custom 4-bit phi-lattice v2 quantization of Qwen3-4B-Instruct-2507 on a single 24 GB NVIDIA L4, reaching 23.76 tok/s decode in PyTorch unrolled_bf16 mode and 4,920 tok/s prefill (pp512).
Setup is a PyTorch/Triton loader with the v2-gecko block-64 calibrated format; native llama.cpp Q4_K_M on the same card reaches 85.02 tok/s decode and 5,288 tok/s prefill. The Triton LUT-GEMM kernel runs at about 16.2 tok/s and eager low_vram_4bit at 1.65 tok/s.
User notes decode lags llama.cpp due to kernel and loader engineering, and that the 35B MoE Qwen3.6-35B-A3B packs to 18.98 GiB resident with 19.33 GiB peak on the same L4.
Compare this run
Medians of plain runs: one device, one request, no speculative decoding, the whole model in the device's memory. The report above is one setup, so read it beside them and not as one of them.
Qwen3 4B at 4-bit by hardware
- 172.9 t/s · 2 runs
- 116.9 t/s · one run
- NVIDIA L424 GB85.0 t/s · one run
- 36.2 t/s · one run
- 33.4 t/s · one run
- 12.7 t/s · one run
Bars are medians on one scale, 0 to 186.0 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.
Models most run on the NVIDIA L4
- Qwen2.5 7B16-bit17.6 t/s · one run
- Qwen3 4B4-bit85.0 t/s · one run
- Qwen3.8 27B4-bit14.6 t/s · one run
Bars are medians on one scale, 0 to 85.0 tokens/s. Press ▶ to watch text arrive at a row's speed.
Everything reported on the NVIDIA L4 →Every Qwen3 report →Estimate Qwen3 on this card →