Back to directory
Coding · 2026-10-03

Qwen 3.8 27B at 100K context on a single RTX 4080 16GB (NInfer 4080)

A purpose-built engine (NInfer 4080) runs ISTA-DASLab's Qwen 3.8 27B GSQ at 100K+ context on one RTX 4080 16GB, measuring up to ~2,720 tok/s prefill and ~262 tok/s decode through DFlash2 speculative decoding.

On a single RTX 4080 16GB, the author built NInfer 4080, a purpose-built engine for 16GB-class cards, to run ISTA-DASLab's Qwen 3.8 27B GSQ at 100K+ context with DFlash2 speculative decoding. It follows the same idea as the other NInfer variants: trade the wide model support of llama.cpp or vLLM for a large speed gain on one card, and ship it as a Docker image.

Measured results

ContextPrefill tok/s (DFlash2)MTP3 decode tok/sDFlash2 K=7 decode tok/s
8K2,719.9151.2166.7
32K2,424.9141.7262.3
64K2,125.5130.7239.1
98K1,895.1122.3212.7

In real use the author sees 2,000+ tok/s prefill on long prompts and roughly 150-200 tok/s decode on coding and ~100 on prose. Accuracy held at MBPP 90-92% and HumanEval 95-96%.

Context and accuracy trade

Reaching 100K context needs significant KV compression, because a full 256K F16 cache would need exactly 16GB of VRAM on this model. The author uses a compressed rk4v4-e8 KV variant and reports no noticeable quality loss versus higher-bit KV; small degradations are within measurement noise and can be traded back by lowering context. The harness is Pi (with a local SearXNG search).

VERIFIABLE SOURCE

Reported anonymously by an r/LocalLLM contributor · 62 upvotes at capture

View source

Useful references

Community-provided links related to this setup, workflow or measurements.

SETUP HISTORY

Snapshots over time

1 version
CURRENT2026-10-03Qwen 3.8 27B at 100K context on a single RTX 4080 16GB (NInfer 4080)

A purpose-built engine (NInfer 4080) runs ISTA-DASLab's Qwen 3.8 27B GSQ at 100K+ context on one RTX 4080 16GB, measuring up to ~2,720 tok/s prefill and ~262 tok/s decode through DFlash2 speculative decoding.

Coding1 machineQwen 3.8 27BnInfer

This is the currently published snapshot.

Discussion

0 comments

No comments yet. Questions and corrections on this setup are welcome.

Leave a comment

Comments are reviewed before they appear. Keep it civil, cite your sources, and stay on topic.