# DwarfStar (ds4)

> A small native inference engine for running DeepSeek V4, GLM 5.x and Qwen Flash models on Macs, DGX Spark and Strix Halo.

Source: https://talira.ai/catalog/dwarfstar-ds4-hc1sahqp
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [ai / inference / engines](https://talira.ai/categories/ai/inference/engines)
- Platforms: macos, linux[^1]
- Licence: MIT[^2]
- Pricing: Free[^1]
- Free tier: yes[^1]
- Backed by: [Salvatore Sanfilippo (antirez)](https://talira.ai/orgs/antirez.md)

DwarfStar (ds4.c) is a self-contained C inference engine for running a few large open-weight models on hardware people can own: DeepSeek V4 Flash and PRO, DeepSeek V4.1 Flash, GLM 5.2 and 5.3, GLM 5.3 Flash and Qwen3.8 Flash Next. Metal on Apple Silicon is its main target, with CUDA (DGX Spark and multi-GPU, including Ada Lovelace cards) and ROCm on Strix Halo. It has an interactive CLI, an HTTP server, a native coding agent (ds4-agent) and SSD streaming for machines with less RAM. Its own README says it's developed with strong help from AI coding agents and draws on llama.cpp's kernels and GGUF formats.

## Links

- GitHub: https://github.com/antirez/ds4

## Problems it solves

- run DeepSeek V4 Flash locally on my 128 GB Mac
- serve a large open-weight model from my DGX Spark
- run a model bigger than my RAM by streaming weights from the SSD

## Features

- runs DeepSeek V4 Flash and PRO, GLM 5.x and Qwen3.8 Flash Next locally
- Metal, CUDA and ROCm backends
- SSD streaming for machines with less RAM
- HTTP server for API access and multiple sessions
- native coding agent that runs inference directly
- tensor and pipeline parallelism across machines

## Limitations

- Runs only the GGUF files the project produces, for its few supported models, not general GGUF models[^1]
- Supported models change: one may be removed when a better replacement arrives[^1]

## Trust

Overall: 0.75 out of 1.
Signals: maintenance 1.00, adoption 0.88, momentum 1.00, community 0.75, backing 0.30, extensibility 0.00.

- last commit 26 days ago
- 464 commits in the last 90 days
- 24.5k GitHub stars
- fast-growing: 24.5k stars in 6 months
- 75 contributors
- backed by Salvatore Sanfilippo (antirez)

## Alternatives

- [llama.cpp](https://talira.ai/catalog/llama-cpp-g0rydd64.md): LLM inference in C/C++
- [colibri](https://talira.ai/catalog/colibri-ek67b5xz.md): Runs huge mixture-of-experts models on ordinary hardware by streaming experts from disk
- [FreeToken](https://talira.ai/catalog/freetoken-kbfpyv4p.md): Serving engine that runs frontier-scale open-weight MoE models on consumer GPUs

## Sources

[^1]: https://github.com/antirez/ds4/blob/main/README.md (checked 29 Nov 2026)
[^2]: https://github.com/antirez/ds4/blob/main/LICENSE (checked 29 Nov 2026)
