EveryDev.ai
Subscribe
Home
Tools

4,176+ AI tools

  • New
  • Trending
  • Featured
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2782
  • Coding1973
  • Infrastructure825
  • Projects603
  • Marketing598
  • Research520
  • Analytics468
  • Design462
  • MCP419
  • Testing346
  • Security323
  • Data305
  • Integration224
  • Prompts220
  • Communication210
  • Extensions196
  • Learning179
  • Voice175
  • Commerce160
  • DevOps135
  • Web95
  • Finance31
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. DwarfStar 4 (ds4)
    DwarfStar 4 (ds4) icon

    DwarfStar 4 (ds4)

    Local Inference
    Featured

    A narrow C inference engine that runs frontier open-weight models locally on high-memory Mac, CUDA and ROCm machines.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Self-hosted DwarfStar 4 (ds4) local inference engine released under the MIT license; no paid tiers are listed.

    Engagement

    Available On

    macOS
    Linux
    CLI
    API

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Local InferenceAI InfrastructureModel Management

    Alternatives

    ds4.ccolibriRamaLama
    Developer
    Salvatore SanfilippoCatania, Italy

    Listed Oct 2026

    About DwarfStar 4 (ds4)

    DwarfStar 4 (ds4) is a local inference engine created by Salvatore Sanfilippo (antirez), the creator of Redis. It runs a small set of open-weight model families, including DeepSeek V4 and V4.1 Flash, GLM 5.x and Qwen3.8 Flash Next, on high-memory Apple Silicon, NVIDIA CUDA and AMD ROCm machines. The dwarfstar.sh site is a community-maintained resource with docs, hardware guidance and benchmarks around the MIT-licensed engine.

    What It Is

    ds4 is a C inference engine that is deliberately narrow rather than a generic GGUF runner. It targets project-specific GGUF layouts that are validated end to end against official model outputs. Models use asymmetric 2-bit quantization on the routed experts while keeping critical shared paths precise, which is how the supported builds fit their target machines.

    How the Stack Works

    One engine exposes three interfaces: ./ds4 for interactive chat, ./ds4-server for local APIs, and ./ds4-agent for persistent coding sessions. The KV cache can be saved to SSD and resumed by prompt hash, so restarts do not require a full re-prefill. The site lists SSD streaming, tensor parallelism, session batching, DSPARK + MTP and vision input among the capabilities.

    Agent and API Connectivity

    ds4-server speaks OpenAI-style and Anthropic-style APIs, with endpoints such as /v1/chat/completions, /v1/messages and /v1/responses. The docs describe connecting OpenCode, Claude Code, Codex CLI and Pi to the local server via a base URL.

    Setup Path

    Users clone the repository, download a project GGUF with download_model.sh, and build for their backend (for example make for macOS Metal, or make cuda-spark for DGX Spark). Hardware classes listed include Apple Silicon Macs with 64 GB+, NVIDIA DGX Spark or generic CUDA Linux boxes, and AMD Strix Halo systems. The site publishes benchmark rows, such as 790.2 t/s prefill and 39.4 t/s generation for q2 at 2,048 tokens on an M5 Max with 128 GB.

    Project Approach

    The About page says upstream treats the project as a working template that users adapt with coding agents, and that there are deliberately no GitHub releases or tags. Upstream credits llama.cpp and GGML for kernels and quantization formats.

    DwarfStar 4 (ds4) - 1

    Community Discussions

    Be the first to start a conversation about DwarfStar 4 (ds4)

    Share your experience with DwarfStar 4 (ds4), ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (MIT)

    Self-hosted DwarfStar 4 (ds4) local inference engine released under the MIT license; no paid tiers are listed.

    • Local C inference engine for Metal, CUDA and ROCm
    • Supports DeepSeek V4 / V4.1 Flash, GLM 5.x and Qwen3.8 Flash Next
    • CLI (./ds4), local server (./ds4-server) and native agent (./ds4-agent)
    • OpenAI and Anthropic-style APIs
    • SSD KV cache, tensor parallelism, session batching, vision input

    Capabilities

    Key Features

    • Asymmetric 2-bit quantization of routed experts
    • KV cache persisted to SSD and resumed by prompt hash
    • Interactive CLI (ds4)
    • Local server with OpenAI and Anthropic-style APIs (ds4-server)
    • Native persistent coding agent (ds4-agent)
    • SSD streaming
    • Tensor parallelism
    • Session batching
    • DSPARK + MTP speculative decoding
    • Vision input
    • Metal, CUDA and ROCm backends

    Integrations

    OpenCode
    Claude Code
    Codex CLI
    Pi
    llama.cpp
    GGML
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate DwarfStar 4 (ds4) and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Salvatore Sanfilippo

    antirez is the creator of Redis and an independent open-source developer known for building high-performance, minimalist systems software. The ds4.c project reflects a focused approach: one model, one platform, end-to-end quality over generality. antirez develops with strong AI assistance while keeping humans in charge of ideas, testing, and debugging.

    Catania, Italy
    Read more about Salvatore Sanfilippo
    WebsiteGitHubX / Twitter
    3 tools in directory

    Similar Tools

    ds4.c icon

    ds4.c

    A small, Metal-native local inference engine specifically built for DeepSeek V4 Flash, featuring disk KV cache persistence, OpenAI/Anthropic-compatible server API, and 2-bit quantization support.

    colibri icon

    colibri

    An open-source pure-C inference engine that streams Mixture-of-Experts weights from disk, enabling frontier models up to 2.8 trillion parameters to run on consumer hardware with zero dependencies.

    RamaLama icon

    RamaLama

    An open-source CLI tool that simplifies running and serving AI models locally using OCI containers, with automatic GPU detection and multi-registry support.

    Browse all tools

    Related Topics

    Local Inference

    Tools and platforms for running AI inference locally without cloud dependence.

    229 tools

    AI Infrastructure

    Infrastructure designed for deploying and running AI models.

    419 tools

    Model Management

    Tools for managing, versioning, and deploying AI models.

    64 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions