
ds4
DeepSeek 4 Flash local inference engine for Metal
The Lens
By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.
Updated Jul 2026
DwarfStar (the repo is still named ds4) is antirez's local inference engine for running one open model family at a time on serious hardware. Right now that is DeepSeek V4, both the smaller Flash weights and the larger PRO. It is not a generic GGUF runner; the creator of Redis built it to run a frontier-class model on your own machine behind an OpenAI- and Anthropic-compatible server. MIT, free.
The price here is the hardware, not the software. The floor is a 96GB Mac on Metal, and the PRO weights want much more; on Linux it runs on CUDA, DGX Spark, and Strix Halo (ROCm) boxes like the Framework Desktop. It now streams models larger than RAM off SSD, caches KV state to disk, and can split inference across multiple machines. Setup is a download script and a make, then a CLI with think and no-think modes plus that drop-in API server.
For a solo developer with a loaded Mac Studio, this is a genuinely cool way to run a frontier model with full sovereignty over it. For everyone else, it asks for hardware most people do not have, so llama.cpp or vLLM stays the practical path until you own the metal.
The catch is that this is alpha, by antirez's own admission, leaning heavily on AI assistance and openly indebted to llama.cpp. One model family, no production claims, breaking changes expected. Run it to learn and to own your inference stack, not to ship a product on top of.
Free vs Self-Hosted vs Paid
fully freeFree: MIT licensed. Runs DeepSeek V4 Flash and PRO locally with an OpenAI/Anthropic-compatible server, SSD streaming for oversized models, disk KV cache, and multi-machine distributed inference.
Self-hosted: The only way it runs. Hardware floor is a 96GB Mac (Metal); PRO weights want far more. Linux via CUDA, DGX Spark, or Strix Halo (ROCm).
Paid: No paid tier. The cost is the high-end hardware.
Free software with a steep hardware floor (96GB Mac and up). Built for sovereignty, not portability.
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores
Trust Signals
License: MIT License
Use freely, including commercial. Just keep the license.
Commercial use: ✓ Yes
About
- Owner
- Salvatore Sanfilippo (User)
- Stars
- 20,989
- Forks
- 1,884
Also by Salvatore Sanfilippo
Explore Further
More tools in the directory
openclaw
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
385.6k ★everything-claude-code
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
238.8k ★hermes-agent
The agent that grows with you
227.6k ★