DwarfStar: run DeepSeek’s newest open model on your own machine

2 months ago

The best AI models live in somebody else’s data center. You rent them by the word. DwarfStar is an engine that runs one of those models on your own computer. That model is two hundred and eighty four billion parameters, the numbers that make up an AI model.

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00DwarfStar · run DeepSeek’s newest open model on your own machine
  2. 0:13The whole model answers on one 128 GB MacBook Pro
  3. 0:33A 284 billion parameter model. About 13 billion fire per word.
  4. 0:56The idle experts get crushed. The core stays untouched.
  5. 1:21Split across two machines, and their memory adds up
  6. 1:42Both machines work on the same word at once
  7. 2:04DeepSeek’s larger model runs on one desktop computer
  8. 2:19Free to build and run, on Apple, NVIDIA, and Strix Halo machines
  9. 2:37DwarfStar · a 284 billion parameter model on the machine on your desk
Show transcript

DwarfStar · run DeepSeek’s newest open model on your own machine

GitHub Trending · Ep 30 · Aug 9, 2026

DwarfStar

run DeepSeek’s newest open model on your own machine
Written in C MIT license, free to use Runs on Mac, NVIDIA, and AMD Strix Halo
284 billion parameters
On one personal computer.
No cloud. No data center.

The best AI models live in somebody else’s data center. You rent them by the word. DwarfStar is an engine that runs one of those models on your own computer. That model is two hundred and eighty four billion parameters, the numbers that make up an AI model.

The whole model answers on one 128 GB MacBook Pro

The whole model answers on one 128 GB MacBook Pro.

MacBook Pro M5 Max, 128 GB · Metal · DeepSeek V4 Flash
0 200 400 600 800 0 10 20 30 40 50 2k 16k 32k 48k 64k context size (tokens) reading the prompt · tokens/sec writing the answer · tokens/sec reading the prompt writing the answer
790
tokens a second reading your prompt
39
tokens a second writing the answer
a token is roughly a word
the project’s own benchmark, 2048 token context
Written by Salvatore Sanfilippo, who created the Redis database.

That model comes from DeepSeek. DwarfStar is the program that runs it, built and tested for a short list of models. On a MacBook Pro with a hundred and twenty eight gigabytes of memory, the project measured DwarfStar reading a prompt at seven hundred and ninety words a second, and writing the answer at thirty nine words a second. Your words never leave your machine. There is no bill per question.

A 284 billion parameter model. About 13 billion fire per word.

284 billion parameters
13 billion working
roughly one part in twenty
DeepSeek V4 Flash, the model DwarfStar was built for

Hundreds of separate specialists sit inside a model like this, called experts. Only a handful of them switch on for any given word. So of the two hundred and eighty four billion parameters, only about one in twenty does anything for the word you just typed. Picture a hospital with hundreds of specialists. Any one patient sees two or three. The experts that stay idle are almost all of the model’s size, and they are the part you get to move around.

The idle experts get crushed. The core stays untouched.

Compress
The idle experts drop to about two bits each.
The always on core, the projections, and the routing stay untouched.
Stream
The core stays in memory. Experts are read off your drive when they are called.
Runs a model larger than your RAM.

First, DwarfStar crushes those idle experts. Every number inside them gets squeezed down to about two bits each. That is almost no space. The always on core keeps its full precision, and so does the part that picks the experts. That protects the quality. Second, DwarfStar can leave the experts on your drive. The core stays in memory. When a word needs an expert that is not loaded, DwarfStar reads it off your solid state drive right then. That runs a model too big for your memory.

Split across two machines, and their memory adds up

Split across two machines, and their memory adds up.

MacBook Pro, 128 GB half the experts MacBook Pro, 128 GB half the experts one Thunderbolt cable their memory adds up
1.38× to 1.85×
faster reading your prompt
Writing the answer still goes one word at a time, so the two machines take turns.
two MacBook Pro M5 Max, 128 GB, over one Thunderbolt cable · prompts of 9,421 to 63,819 tokens · the project’s own measurement

The third move splits the model across two computers. Half the experts live on each machine, so their memory adds up. A model neither computer could hold alone runs across the pair. Both machines also read your prompt at once, and the project measured that step at up to one point eight five times faster. Writing the answer works differently. Each word waits on the word before it, so the two machines have to take turns.

Both machines work on the same word at once

Both machines work on the same word at once.

tokens a second
18 12 6 0
4.8
16.8
One machine, reading experts off its own drive
Two machines, both working on the same word
3.5× faster per word
16.8 at short context, 15.4 at 4k
GLM 5.2 · two MacBook Pro M5 Max, 128 GB, over one Thunderbolt cable · the project’s own measurement

There is a second way to split, and here both machines work on the same word at the same time. Each machine holds half the experts, and they trade tiny messages over one cable. Another model DwarfStar runs, called GLM five point two, went from about four point eight words a second on one machine to about sixteen point eight words a second across two. A second machine buys more than room for a bigger model. It buys a faster answer.

DeepSeek’s larger model runs on one desktop computer

DeepSeek’s larger model runs on one desktop computer.

Mac Studio M3 Ultra, 512 GB · DeepSeek V4 PRO, 2 bit build
0 50 100 150 200 0 5 10 15 2k 8k 16k 24k 32k context size (tokens) reading the prompt · tokens/sec writing the answer · tokens/sec reading the prompt writing the answer
1.6 trillion
parameters
49 billion
working per word
the project’s own benchmark · an earlier measurement pass, not directly comparable with the Flash numbers

The same trick scales the other way. On a Mac Studio with five hundred and twelve gigabytes of memory, DwarfStar runs DeepSeek’s much bigger model. One point six trillion parameters, and about forty nine billion of them work on each word. Same engine, same idea, a bigger machine.

Free to build and run, on Apple, NVIDIA, and Strix Halo machines

Free to build and run, on Apple, NVIDIA, and Strix Halo machines.

MIT C Metal CUDA ROCm
ROCm covers Strix Halo systems such as the Framework Desktop.
Build from the latest source. There is no numbered release yet.
Model weights are a separate download.
Builds on groundwork from the open source llama.cpp project.

DwarfStar is one open codebase, free for anyone to use under the MIT license. It leans on the graphics chip inside Apple Macs, NVIDIA cards, and AMD’s Strix Halo desktops. The project is early and moving fast, so you build it from the latest code. The model files come as a separate download.

DwarfStar · a 284 billion parameter model on the machine on your desk

the DwarfStar wordmark

A 284 billion parameter model, on the machine on your desk.

github.com/antirez/ds4
New repo tomorrow.

Two hundred and eighty four billion parameters, on the machine on your desk. The frontier AI you have been renting can live on hardware you own, because a model that size is mostly idle experts you can crush, stream, or split. The link is on screen, and there is a new repo here tomorrow.