# ds4

Local inference engine for DeepSeek V4, GLM, Qwen

- Canonical URL: https://meetnewai.com/products/p~cHJvZHVjdDpwcm9kdWN0X2h1bnQ6MTI2ODAzNw
- Official website: https://dwarfstar.sh
- Category: [Model Training & Inference Infrastructure](https://meetnewai.com/categories/model-infra)
- Pricing model: Free
- Estimated monthly visits: 36,235 (2026-10)
- Screenshot captured: 2026-11-06
- Record updated: 2026-11-05

## Overview

ds4 (DwarfStar 4) is antirez's inference engine in C, in beta, for DeepSeek V4, GLM 5 and Qwen3.8.

## Use cases

- local chat
- Serve Claude Code, Codex and OpenCode
- coding agent
- Run models larger than your memory
- Keep long prompts across restarts
- Split one model across two machines

## Sources

- [DwarfStar 4 (ds4): Local DeepSeek V4.1, Qwen and GLM](https://dwarfstar.sh/) (home)
- [About DwarfStar 4 (ds4): antirez Local Inference Engine](https://dwarfstar.sh/about/) (about)
- [ds4 Hardware Requirements: Mac, DGX Spark and Strix Halo](https://dwarfstar.sh/hardware/) (features)
- [DeepSeek V4.1 Flash 1017 in ds4: Download, Run, Migrate](https://dwarfstar.sh/blog/deepseek-v41-flash-1017-ds4/) (download)

## Related alternatives

- [Ollama](https://meetnewai.com/products/ollama) — Set up a small R&D project which pit different LLMs against each other in a game of Capture the Flag. Each LLM has 30 seconds to prepare any defenses and 5 minutes to capture other flags while defending their own. All of the models run on top of Ollama ( https://ollama.com ) and can be run locally or in the cloud.
- [Groq®](https://meetnewai.com/products/groq) — Hyperfast LLM running on custom built GPUs
- [BytePlus](https://meetnewai.com/products/p~Zjc2ODgyMjUtZWJjYy00YTE5LTk1ODgtNDRkZGMzMDJiZGFk) — Build better products, deliver richer experiences, and accelerate growth through our wide range of intelligent solutions.
- [LM Studio](https://meetnewai.com/products/lm-studio) — Discover, download, and run local LLMs (incl. DeepSeek R1)
- [Agent Router](https://meetnewai.com/products/p~cHJvZHVjdF9iNTkyNjk0ODliM2U4NzRjY2Y5M2I1Y2I) — 兼容主流大模型，一个接口全部接入
- [Together AI](https://meetnewai.com/products/together-ai) — Full-stack AI platform, powered by cutting-edge research.
