{"slug": "how-to-run-deepseek-v4-1-flash-locally-on-an-rtx-4090-it-needs-468-gib-of-ram", "title": "How to Run DeepSeek V4.1 Flash Locally on an RTX 4090 (It Needs 468 GiB of RAM)", "summary": "Axel Labs reported running the unmodified 748B-parameter DeepSeek V4.1 Flash checkpoint on a single RTX 4090 at 78.76 tok/s decode, but the machine relied on 468.1 GiB of resident DDR5 host RAM and an AMD EPYC 9534 CPU, with the GPU holding only about 3% of the weights. The founder acknowledged in a Hacker News thread that the 4090 \"isn't doing this alone,\" and commenters noted the setup requires roughly $20k of registered server memory. Aggregate throughput on 18 short prompts was 42.81 tok/s, while a 128K-context retrieval test took 196.9 seconds to first token.", "body_md": "Axel Labs says it ran the unmodified 748B DeepSeek V4.1 Flash on a single RTX 4090 at 78.76 tok/s decode, with the original FP8 + MXFP4 weights and no re-quantization. I opened the post expecting the usual fine print, where a huge model \"runs\" on a 24 GB card at 2 tokens per second off an NVMe drive. This time the fine print was about memory: the same machine had 468.1 GiB of resident host RAM in use, and an AMD EPYC 9534 was doing a lot of the work.\n\nIf you searched for how to run DeepSeek V4.1 Flash locally on an RTX 4090 because you already own one, the short answer is no, not today, and the GPU isn't the reason. I went through the write-up and the 340-point Hacker News thread that picked it apart, and pulled out what people are running on their own 4090 and 5090 machines instead.\n\nI haven't run this myself. Every number comes from the [Axel Labs write-up](https://axel-labs.com/research/deepseek-v4-1-flash-on-one-rtx-4090) (published December 3, 2026) or the [HN discussion](https://news.ycombinator.com/item?id=50751970).\n\nThe checkpoint is `deepseek-ai/DeepSeek-V4.1-Flash-1017`, which Axel describes as 748B parameters. The official release is 510.3 GB, and they say all 52 files in the pinned manifest passed SHA-256 verification. So \"unmodified\" holds up: no REAP pruning and no 2-bit GGUF. One HN commenter sneered that a 748B model \"tolerates\" well \"lobotomy and trepanation\", and walrus01 replied that \"they do specifically say they're using the full FP8 weights.\"\n\nThe hardware, from the post and the founder's HN comments:\n\n| Component | What they report | \n|---|---|\n| GPU | 1x RTX 4090, 22.7 of 24.0 GiB VRAM in use (three other GPUs in the box sat at 1 MiB, zero utilization) | \n| CPU | 1x AMD EPYC 9534 socket | \n| Host RAM | 468.1 GiB resident, 0 B swap | \n| RAM type | DDR5 (the founder refers to \"DDR5 on the 9534\" in an HN reply) | \n| NVMe | Not mentioned. With 0 B swap and 468 GiB resident, the weights were almost certainly sitting in RAM | \n| Runtime | Axel Engine, closed-source (founder, HN) | \n| Extras | DSpark speculative decoding enabled (founder, HN) | \n\nThe founder said it plainly in the thread: the 4090 \"isn't doing this alone.\"\n\nThe post reports three workloads, and the spread between them is wide.\n\n| Test | TTFT | Decode | Notes | \n|---|---|---|---|\n| Pelican SVG, thinking off | 4.50 s | 78.76 tok/s (74.91 end to end) | 6,862 output tokens in 91.61 s | \n| 18 short prose/code prompts, 256-token cap | n/a | 42.81 tok/s aggregate | The more typical number | \n| 128K retrieval, thinking on | 196.90 s | 59.69 tok/s | 127,993-token input, 183 output tokens | \n\nThe headline 78.76 comes from one long, repetitive SVG generation, which is the kind of output speculative decoding handles best. For everyday prompts, 42.81 tok/s is the number to keep in your head. That's still very good for a model this size with one consumer GPU in the loop.\n\nThe number I'd worry about is the 196.9-second time to first token at 128K context. My own arithmetic (127,993 tokens / 196.90 s) puts prefill at roughly 650 tok/s. If you want to paste a big repo into context and iterate, every fresh long prompt costs you over three minutes before the first word shows up. kphorn asked in the thread about prefill and how stable it is at longer contexts. When I read it, nobody had answered.\n\nThis is where the thread got loud, and I think the commenters are right.\n\nIt has to be RDIMM, too. EPYC only takes registered memory, so you can't fill it with cheap desktop sticks.\n\nWhy does it work at all? Aurornis put the EPYC 9534's 12-channel DDR5 at \"around 450GB/sec\", about 30x the fastest PCIe 5.0 SSDs. cjbprime asked the uncomfortable question: \"It's basically not running on the 4090. Only 24GB / 748GB (3% of experts) is, right?\" The GPU holds the hot path, and a server memory subsystem carries the rest.\n\nMy opinion: putting \"one RTX 4090\" in the headline when $20k+ of server RAM does most of the work is marketing. It's still a real engineering result, and they shipped receipts: recordings of the runs on the page, plus a [proof packet](https://axel-labs.com/research/deepseek-v4-1-flash-on-one-rtx-4090/axel-engine-pelican-proof.zip) with the prompt, the raw SVG, `receipt.json` and SHA-256 sums. But \"host memory,\" the phrase the post uses, hides the most expensive line on the invoice. thrdbndndn asked why CPU and RAM get lumped together as \"host,\" and alanhaha's reply was blunt: \"Because this is an Ad.\"\n\nTwo things stand in the way, and both sit outside the GPU.\n\nA quick check of your own box on Linux:\n\n```\n# total RAM and how many DIMM slots are populated\nfree -g\nsudo dmidecode -t memory | grep -E \"Size:|Type:|Speed:\" | sort | uniq -c\n\n# GPU VRAM\nnvidia-smi --query-gpu=name,memory.total --format=csv\n```\n\nIf `free -g` says 64 and you're on a two-channel desktop board, the unmodified-weights route is off the table. Weights that spill to NVMe hit the bandwidth wall Aurornis described, and the more a setup leans on the SSD, \"the slower it gets.\"\n\nIf you'll accept quantized weights, HN commenters posted numbers from their own machines. These are their claims, not mine:\n\n| Who | Hardware | Setup | Reported decode | \n|---|---|---|---|\n| IronWolve | RTX 5090, 64GB RAM, NVMe | UD-IQ1_M quant | 65-85 tok/s | \n| entrope | Radeon R9700 32GB + 256GB DDR4 | Strata + drafter, Unsloth UD_Q2_K_XL | ~35 tok/s, shallow and 400k context | \n| PcChip | 32-core EPYC, 512GB DDR4, 2x3090 + 2x4090 | Project Maya, exl3 3.5bpw | 40 tok/s | \n| proxysna | 4x RTX PRO 6000 | [4x PRO 6000 setup](https://github.com/sybil-solutions/deepseek-v4.1-flash-4x-rtx-pro-6000) | ~300 tok/s | \n\nIronWolve's row is the closest thing to \"my gaming PC\" in the whole thread: 64GB of RAM and a 1-bit-ish quant. They also reported 30 of 33 on LiveCodeBench v6. It isn't the model Axel ran, but it runs on hardware people actually own. A few others pointed at Apple hardware instead; logicallee quoted $22,290 for a 512 GB Mac Studio with M5 Ultra as the simpler path to the same RAM footprint.\n\nentrope added a detail I found useful: the KV cache for this model is \"under 1 KB/token,\" and a gigabyte of context adds only about 10% to memory traffic. On this model you'll run out of weight bandwidth long before long context becomes the problem.\n\n42.81 tok/s on unmodified release weights is a strong number. zeroq, who has tried one of these projects, said to \"expect seconds per token levels of experience,\" and Axel beat that by a wide margin. What bothers me is the framing: \"one RTX 4090\" sells the cheapest part of a $25-35k build. If you own a 4090 and 64GB of RAM, you're in the IronWolve column, not the Axel column, and that's fine.\n\nteaearlgraycold wants \">60 tok/s and ideally >100\" for vibe coding or interactive chat. blaaarg123 said \"the number is good theoretically. Practically it's unusable imho.\" I'd happily take 40 tok/s for a frontier-size model I own, but not a three-minute wait every time I paste in a long file.\n\nWhat's the slowest tokens/sec you'd still accept to run a frontier-size model at home: 1, 5 or 20? And would you spend $20k on RAM to get there, or just rent the GPUs?", "url": "https://wpnews.pro/news/how-to-run-deepseek-v4-1-flash-locally-on-an-rtx-4090-it-needs-468-gib-of-ram", "canonical_source": "https://dev.to/alanwest/how-to-run-deepseek-v41-flash-locally-on-an-rtx-4090-it-needs-468-gib-of-ram-44h", "published_at": "2026-12-04 13:40:02+00:00", "updated_at": "2026-12-04 13:44:14.196500+00:00", "lang": "en", "topics": ["large-language-models", "ai-infrastructure", "ai-chips"], "entities": ["Axel Labs", "DeepSeek", "Nvidia", "RTX 4090", "AMD", "EPYC 9534", "Hacker News", "DeepSeek V4.1 Flash"], "also_reported_by": [], "takeaway": "Axel Labs' 748B DeepSeek V4.1 Flash ran at 78.76 tok/s decode on one RTX 4090 only with 468.1 GiB of host DDR5 RAM and an EPYC 9534, averaging 42.81 tok/s on short prompts and 196.9 s to first token at 128K context.", "recommendation": {"advice": "Budget host RAM and memory bandwidth, not just VRAM, when serving large MoE models: Axel Labs needed 468 GiB of DDR5 to offload 97% of weights and saw 196.9 s prefill at 128K context.", "playbook": "inference-serving", "playbook_url": "https://wpnews.pro/playbooks/inference-serving"}, "alternates": {"html": "https://wpnews.pro/news/how-to-run-deepseek-v4-1-flash-locally-on-an-rtx-4090-it-needs-468-gib-of-ram", "markdown": "https://wpnews.pro/news/how-to-run-deepseek-v4-1-flash-locally-on-an-rtx-4090-it-needs-468-gib-of-ram.md", "text": "https://wpnews.pro/news/how-to-run-deepseek-v4-1-flash-locally-on-an-rtx-4090-it-needs-468-gib-of-ram.txt", "jsonld": "https://wpnews.pro/news/how-to-run-deepseek-v4-1-flash-locally-on-an-rtx-4090-it-needs-468-gib-of-ram.jsonld"}}