# Running DeepSeek 284B on 64GB of RAM with no GPU: how llama-modchip does it

A 284B-parameter DeepSeek model on a 64GB-RAM machine with no GPU hit 469 points on Hacker News — and most of the 203 comments ask the same thing: how? Here's the technique, what speeds to realistically expect, and the commands.

Published 2026-11-23 · https://inpherio.co.uk/blog/running-deepseek-284b-on-64gb-of-ram-with-no-gpu-how-llama-modchip-doe

Key points:
- llama-modchip claims to run a 284B-parameter DeepSeek MoE on 64GB of RAM with no GPU, by stacking extreme expert quantisation, expert offloading and mmap — techniques that suit MoE models because only a small slice of parameters is active per token. | It works on paper because a CPU's bottleneck is memory bandwidth, not compute — which is exactly what sparse activation reduces. | We could not verify the repo's benchmark numbers; treat all tokens/sec claims as anecdotal until you test on your own machine, and expect batch-job speeds, not chat speeds. | A giant CPU MoE plausibly beats a small GPU model when nobody is waiting — overnight reasoning, document analysis, one-shot questions. For anything interactive, buy VRAM or use a Mac. | The honest caveat: extreme quantisation costs quality, and for most people a 30B-class MoE at a saner quant is the smarter CPU-only pick.

## The claim: 284B parameters, 64GB of RAM, no GPU

On 8 November, a repo called [llama-modchip](https://github.com/synchoplate/llama-modchip) hit the top of Hacker News with a claim that reads like a typo: a 284B-parameter DeepSeek MoE checkpoint, running on a machine with 64GB of RAM and no GPU at all. The thread collected 469 points and 203 comments, and a large share of those comments ask a single word's worth of question: "how?"

The short answer is that the claim is plausible once you know the model's architecture. 284B is the **total** parameter count. This is a Mixture-of-Experts (MoE) model, and MoE models only run a small slice of their experts per token — large open MoEs typically activate roughly 3–10% of total parameters for any given token, though you should confirm this specific checkpoint's figure from the repo or its model card. The other 90%+ just sit there. The entire trick of a setup like this is making the inactive majority cost almost nothing: a bit of RAM, a bit of disk, and no compute.

One thing up front, because we'd rather be clear than confident: **we haven't run this ourselves**, and at the time of writing we couldn't verify a published benchmark table or reference-machine figures from the repo. What follows is our explanation of how a claim like this must work — based on the HN discussion, the repo's description, and well-established llama.cpp behaviour — plus honest expectations for what it'll feel like. Treat every speed number you see in the thread as anecdote until you've tested on your own machine.

And set expectations now: this is not a chat replacement. It's a slow, batch-flavoured setup — the kind of thing you point at a question or a document pile overnight and read in the morning.

## How it actually works: three tricks stacked together

A claim like this rests on three techniques working together. None is new on its own; the contribution is pushing all three to an extreme at once. This breakdown is our analysis of how the setup must work — the repo may describe it differently, so read its readme alongside this.

### Trick 1: aggressive MoE quantisation

Normal practice quantises a whole model to one level — Q4_K_M being the community default. Setups like this split the model instead: shared weights (attention, embeddings, the router) stay at relatively higher precision, while the **expert weights get quantised far below the usual Q4** — into low-bit territory that would wreck a dense model.

Why can experts survive that? Because they're sparsely activated. Each expert fires only occasionally, errors in individual experts partially average out across the many-expert ensemble, and the router's shared machinery — which every token passes through — stays sharp. That's the theory, and it's the reason the quantisation community has been experimenting with mixed-precision MoE quants for years. But the quality loss at these levels is real, and how much survives is an empirical question. We haven't verified the repo's exact quantisation scheme — check the readme before assuming any particular bit width.

### Trick 2: expert offloading

On CPU, the bottleneck is memory bandwidth, not compute. A modern desktop CPU can do the arithmetic for a small-active-parameter model easily; what it can't do is drag hundreds of gigabytes of weights through RAM per token.

MoE is exactly the shape a CPU wants. Only the active experts for the current token are read; the rest sit untouched. This leans on llama.cpp's existing MoE machinery — the same sparse-activation behaviour we explained in our [flint write-up](/blog/flint-on-ollama-recursive-s-40b-coding-agent-moe-and-what-it-needs-to) — to keep per-token memory traffic proportional to active parameters, not total ones. llama-modchip is that idea taken to an extreme the ecosystem has been converging towards; llama.cpp's v1.0 stability commitment, which [we covered on 16 November](/blog/llama-cpp-v1-0-what-the-version-bump-actually-means-for-your-setup), is what makes experimental forks like this safer to build.

### Trick 3: mmap

Here's where 64GB of RAM runs something bigger than 64GB. Rather than loading the model into memory, you memory-map the file. The OS pages weights in from disk on demand, and your RAM acts as a cache over a larger file on the NVMe drive.

The consequence: the first pass through cold experts is slow — you're reading from disk. Repeated prompts and hot experts get faster as the cache warms. If your working set genuinely fits in RAM after warm-up, generation speed stabilises; if it doesn't, you'll feel the disk on every expert swap. mmap is standard llama.cpp behaviour (`--mmap` is on by default in recent builds), so this part isn't exotic — it's just being relied upon harder than usual.

## Realistic numbers: what tokens/sec to expect

Here's the honest part that most write-ups of viral repos skip: **we could not confirm verified benchmark figures for this setup.** The HN thread contains anecdotal reports from people trying it, and the repo may publish numbers — but we haven't verified them, so we won't quote them as fact. If the readme carries a benchmark table, check the exact CPU, RAM and disk it was measured on before transferring any figure to your machine.

What we can say is how the physics behaves, because CPU-only llama.cpp performance is well-documented territory:

- **Generation scales with active parameters and memory bandwidth.** A model with single-digit-billions of active parameters on DDR4/DDR5 typically generates somewhere in the 1–10 tokens/sec range; the colder and more extreme the setup, the closer to the bottom of that band.
- **Prompt processing is the real pain point.** Every prompt token forces reads across many experts — including cold ones paged from disk. Long prompts can take minutes before the first output token appears.
- **Cold start is slow by design.** The first prompt after launch pays for paging in whatever the OS hasn't cached yet.

At a couple of tokens per second, a 1,000-token answer takes the best part of ten minutes. Fine for overnight batch jobs, RAG over a document set, or "ask one big question, come back later". Agonising for chat.

The bottlenecks, in order of importance:

1. **RAM capacity** — more RAM means more of the expert cache stays resident. This helps more than a faster CPU.
2. **NVMe speed** — the mmap paging path is only as fast as your disk. SATA SSDs will feel noticeably slower; a spinning disk is likely unusable.
3. **Memory bandwidth** — DDR5 beats DDR4 for the resident working set, but capacity still trumps generation here.

For comparison — qualitative tiers rather than numbers, because published speeds for the alternatives vary wildly by hardware:

| Setup | Speed | Quality tier | Hardware | What it's for |
|---|---|---|---|---|
| DeepSeek 284B MoE, CPU-only (llama-modchip) | Very slow — batch-job | High, with quant loss | 64GB RAM, fast NVMe | Overnight batch, one-shot questions |
| 7–9B Q4 on a consumer GPU | Interactive — real-time chat | Mid | A single used GPU | Chat, coding help, agents |
| Mid MoE on a 64GB Mac | Usable, not instant | Mid-high | A unified-memory Mac | Both, at a price |

The honest framing: you're trading away interactivity for a couple of quality tiers. Whether that's a good trade depends entirely on whether a human is waiting.

## When a giant CPU model beats a small GPU model

The case **for** the big CPU model: raw capability. A 284B MoE *plausibly* out-reasons a 7B at Q8 on hard tasks — more layers, more experts, more world knowledge surviving the compression. But at extreme quants that's an assumption, not a measured result, and some of the 284B's advantage erodes precisely because of the compression that makes it fit. Add privacy (nothing leaves the machine), zero new hardware (many homelab boxes already have 64GB), and batch workloads where latency is irrelevant, and it's a genuine strategy, not just a party trick.

The case **against**: interactive use is painful, and the quality loss from extreme quantisation is real and uneven — low-bit quants tend to hurt precise domains (maths, code) more than general prose, a pattern the quantisation community has documented for years. And a used GPU or a big-RAM Mac buys you both speed and size, as we weighed in our [used-A100 buyer's guide](/blog/used-a100-80gb-prices-are-falling-fast-should-you-actually-buy-one).

Our rule of thumb: **CPU + mmap giant MoE for "think overnight, read in the morning". GPU small model for anything with a human waiting.**

It's the same logic as our [old-laptop guide](/blog/run-an-llm-on-an-old-laptop-with-512mb-4gb-of-ram-the-honest-guide) from the other direction: hardware floors are softer than people think, but the currency you pay in is always speed.

One honest caveat before you buy RAM: for most people, a 30B-class MoE at a saner quant — think [Qwen3-30B-A3B](/models/Qwen3-30B-A3B-Instruct-2507-Q4_K_M), 3B active — is the smarter CPU-only pick: it fits comfortably in 32GB, runs several times faster, and loses far less to quantisation. llama-modchip is the proof of what's possible, not necessarily what you should run.

## Try it yourself: the commands

**Hardware checklist:** 64GB RAM minimum, fast NVMe strongly recommended, any modern 6+ core CPU. No GPU required.

We haven't verified the repo's exact build steps, checkpoint links or launch flags, so treat this as the shape of the process rather than a verified recipe — follow the readme for the specifics, and check the repo's issues for reports from machines like yours.

1. **Clone and read.** Start with the readme; it's the only authoritative source for what this repo actually ships:

```bash
git clone https://github.com/synchoplate/llama-modchip
cd llama-modchip
# follow the readme's build steps — it builds on llama.cpp's toolchain
```

2. **Get the checkpoint.** Whatever prepared model file the repo points you at, download it from the repo's own links rather than any mirror — a 100GB+ download is not something to fetch from an unverified source.

3. **Launch.** The command will be llama.cpp-shaped; the flags that matter on CPU-only MoE are these, whatever the exact binary name:

```bash
./llama-cli -m <checkpoint>.gguf \
  -t $(nproc) \
  --mmap \
  -c 4096 \
  -p "Your prompt here"
```

- `-t` for thread count — match physical cores, not hyperthreads
- `--mmap` to enable the paging behaviour that makes the whole thing fit (on by default in recent llama.cpp, but be explicit)
- a modest `-c` context — every extra token of KV cache eats RAM that would otherwise be caching experts

**What to watch on first run:**

- **Long load, slow first token** — expected; the OS is paging cold weights. Don't kill it.
- **Disk thrashing** — if RAM is tight or other services compete for it, shrink the context or close memory hogs. If it persists, your NVMe is the ceiling.
- **Prompts crawling** — that's the prompt-processing tax; keep prompts short and batch overnight.

**Under 64GB of RAM?** The same techniques — aggressive expert quants plus mmap — scale down in principle, and smaller MoE checkpoints exist that use them. We haven't verified any specific smaller configuration with this repo, so treat anything below the documented floor as experimental.

## If you'd rather not wait: renting the speed instead

If those speed expectations sound painful but big-model quality is what you're after, renting is the other route — [whole host machines by the hour](/rentals) for dedicated capacity, or per-token through an API. DeepSeek models are callable through the marketplace today if you want a taste of the family without any of this setup — [deepseek-r1:14b](/models/deepseek-r1:14b) runs from £0.06 per 1M output tokens.



## Where this is heading

The interesting thing about llama-modchip isn't this one repo — it's the direction. MoE is becoming the default architecture for open models: flint's 40B coding MoE, Qwen3-Next-class designs, [inkling-2-mini's](/blog/inkling-2-mini-on-ollama-thinking-machines-26b-mac-model-first-look) looped layers doing more per parameter. Every release grows total parameters while shrinking active ones, which is precisely the ratio CPU-only running needs. Giant-model-on-CPU gets more viable with each launch, for free.

What would change the verdict from "possible" to "practical": faster NVMe, CXL memory expansion making big RAM cheap, or llama.cpp absorbing this offloading approach natively so every tool benefits. Watch the repo's issues and llama.cpp's release notes.

The honest endnote: llama-modchip is a proof of what's possible, not yet what's sensible for daily use — and until verified benchmarks appear, the "possible" itself deserves a pinch of salt. But the gap between possible and practical has been closing fast all year, and this repo is one of the better maps of where the edge currently sits.

## FAQ

**Can you really run a 284B model on 64GB of RAM with no GPU?** The claim is plausible rather than magic: the model is MoE, so only a small slice of parameters is active per token, and mmap lets the file on disk exceed RAM. We haven't reproduced the repo's results ourselves — treat it as real but slow. How fast is DeepSeek 284B on CPU-only? | We couldn't verify any published benchmark for this setup. The HN thread contains anecdotal reports; expect batch-job speeds rather than chat speeds, and test on your own machine before relying on any figure. What quantisation does llama-modchip use? | We haven't verified the repo's exact quantisation scheme. The approach such setups rely on is quantising expert weights far below the usual Q4 while keeping shared weights sharper — check the readme for the specifics before assuming. Do I need an NVMe SSD for this? | Strongly recommended. mmap pages weights in from disk on demand, so first-pass throughput scales with your disk speed — a SATA SSD will feel slower, and a spinning disk is likely unusable. Is a big CPU-only MoE better than a small model on a GPU? | Only when latency doesn't matter. A 284B MoE at a low quant plausibly out-reasons a 7B, but that's an assumption at extreme quants, not a measured result — and a 7B on a consumer GPU answers in real time.
