A service can run out of room for active conversations even when the model itself fits comfortably in memory. Long histories use space that could support other users, forcing a choice between more sessions and retained context. SGLang, Qwen and NVIDIA test a smaller representation of that working memory, with an answer-quality trade that customers need to inspect.

A model’s working memory can become the constraint before its weights do. As conversations grow, the stored attention state consumes capacity that could otherwise support additional sessions. On September 16, SGLang, Qwen and NVIDIA published an experimental four-bit cache implementation that addresses this pressure. Its most useful finding is not an uncomplicated speed record. It is a measurable trade between memory, concurrency and answer quality.

The result is narrower than “four-bit AI”

The experiment changes the attention cache to NVIDIA’s four-bit floating-point format, NVFP4, while retaining FP8 model weights stored in an eight-bit format. Its packed values and scaling factors shared by blocks of values occupy about 56% of the corresponding FP8 cache storage before other overheads. For Qwen3.8-27B, the reported SWE-bench Verified score fell from 77.8% to 76.2%. Some other measurements moved less. The implementation remains experimental; these results do not establish that every model or workload tolerates the change. The teams’ published implementation and measurements.

SGLang’s cache-quantization documentation separates the cache representation from other model configuration choices. Its hierarchical-cache documentation describes a complementary strategy: extending storage beyond the accelerator. One reduces the space occupied by state; the other changes where state can live. They should not be treated as identical optimization knobs.

Watch the video
The SGLang team’s animated explanation of NVFP4 block-level and tensor-level scaling.
The SGLang team’s animated explanation of NVFP4 block-level and tensor-level scaling. LMSYS / SGLang, Qwen and NVIDIA

The economics depend on what was binding

Our interpretation is that the benefit will vary with the constraint a deployment actually faces. A service short of live-session capacity has a different problem from a service with ample memory but slow prompt processing. A memory-saving technique can be valuable for the first and barely noticeable for the second. Buying capacity without first identifying that distinction risks paying to move the wrong bottleneck.

Imagine an internal assistant serving employees who repeatedly return to large document collections. Its operator should ask whether working state survives between turns and how much recomputation occurs after eviction. A one-shot benchmark with unrelated short prompts cannot answer that question. The useful comparison follows complete sessions, including idle periods and the arrival of competing users.

The location of the new errors matters more than the average

A small change in average accuracy does not show whether the added errors are cheap or costly to catch. Obvious mistakes may be absorbed by a retry. Subtle instructions and rare, consequential cases can need extensive review. The task and its checking process should set the tolerance for compressed memory; an overall benchmark cannot supply the same threshold for every customer.

This creates a practical testing obligation. Teams should compare paired outputs, group failures by type and rerun a held-out task set rather than only a public aggregate. A deployment that retains enough accuracy for document classification may still fail a repository-editing trial. That would be evidence for separate serving profiles, not proof that the optimization either works everywhere or should be abandoned.

Measure the bill after retries

The financial denominator should be accepted work. If a compressed-cache configuration handles more sessions but triggers extra repairs, the additional inference and review must be included. So must engineering time required to qualify and monitor the new configuration. The initial saving may still be substantial; the point is to measure it at the boundary where the customer receives a usable result.

There is also a product-design consequence for model APIs. Exposing a choice between a carefully qualified efficiency profile and a higher-fidelity profile could be useful where customers understand the trade. Quietly altering numerical behavior while continuing to advertise only the same model name makes comparisons harder. Providers can distinguish themselves by making the serving configuration and its measured limits inspectable.

For model builders, cache behavior deserves attention during development rather than after release. A model that is cheap to store but expensive to keep active can disappoint in long-running workloads. The deployed system’s memory profile is part of its practical capability, even though it is absent from many headline model comparisons.

Count repairs in the cache saving

The next convincing result would pair long-session cost measurements with failure analysis on customer-relevant tasks. Watch for reproducible memory savings, actual cache reuse and total repair costs—not a single maximum-context demonstration.

Memory efficiency could make more simultaneous, persistent assistants affordable. The useful boundary will differ by task: a configuration that needs little repair in one workflow may undermine the value of another, even behind the same model name.

References
  1. SGLang NVFP4 KV-cache implementation
  2. SGLang cache quantization
  3. SGLang hierarchical caching

Questions, news tips or corrections? Contact [email protected].

Share this article

Post to XShare on LinkedInShare on WhatsAppEmail