DeepSeek-V4.1-Flash-1017 at 41 tok/s on a single RTX 3090, natively on Windows
Latest in the story ·
The Delta inference engine runs all 552 billion parameters of DeepSeek-V4.1-Flash-1017, a mixture-of-experts[1] model whose experts are stored as 2-bit quantization[2], on a single consumer PC natively on Windows. It needs an NVIDIA RTX card with 12 GB or more of VRAM (24 GB is fastest), 128 GB or more of RAM and about 385 GB free on a fast NVMe[3] drive, and it serves an OpenAI-compatible API at http://127.0.0.1:8080/v1 (plus /v1/messages for Anthropic-style clients) with up to 1M tokens of context. The project is a Windows port of Xolotl, which is built on Strata; the upstream version targets Linux. A Start DeepSeek.bat script installs missing pieces step by step: Python 3.11 if needed, a prebuilt engine under 1 GB, and about 375 GB of model files from Hugging Face, checked against their published SHA-256 hashes and resumable if interrupted.
On an RTX 3090 with 192 GB of RAM, a new 6k-token prompt takes about 18 s and a 25k-token prompt about 42 s. Writing runs at about 48 and 45 tok/s[4] on maths and code and about 35 tok/s on plain prose; counting the prompt and the thinking, a client sees about 39 tok/s. A routing option that prefers experts already on the GPU is roughly 20% faster and, on the same prompts, matched DeepSeek's own API on 89.8-90.0% / 92.9% of top choices. With less RAM, more experts are read from the SSD as needed, which is slower mostly on long prompts but gives the same output.
The server keeps up to 8 conversations in memory, cutting a switch between them from 16-18 s to 1-3 s, and follow-up turns read only the new tokens, saving 0.6-0.9 s per turn. Tool calls and JSON output work through the API, the server listens on 127.0.0.1 only, and nothing from prompts or answers is written to disk unless the user opts in.
