Superfluid
Local AI server for distributed inference.
Superfluid is an open-source server that runs LLMs on your own hardware. It serves a model from one machine, or from several machines that act as one server. It supports llama.cpp, MLX, and BaseRT, and exposes OpenAI-, Anthropic-, and Ollama-compatible API endpoints.
Why Superfluid
- A chat is answered while agents work. An interactive request preempts batch work at the next scheduler tick instead of waiting behind it.
- Nothing is lost when something dies. Every committed token is in a write-ahead log; a killed worker or a restarted server picks its sessions up where they were.
- A shared prompt is prefilled once. Thirty-two requests with one 5k-token prefix cost one prefill, not thirty-two.
- Your clients work unchanged. OpenAI Chat Completions and Responses, Anthropic Messages, and Ollama, on one port.
- More than one machine. Other machines join the head over an encrypted link and serve the same API.
Get started
- Installation — get
superfluidon yourPATH. - Quickstart — serve a model and call it in under a minute.
- Coding agents — put Claude Code, Codex, OpenCode and others on a local model.
- Command-line reference — every command and flag.
At a glance
# install curl -fsSL https://basecompute.co/sf/install.sh | sh # serve a model at http://127.0.0.1:8453 superfluid serve basecompute/Qwen3.8-27B # put a coding agent on it superfluid launch claude --model basecompute/Qwen3.8-27B # add another machine to the same server superfluid node join --model basecompute/Qwen3.8-27B --token <token>
On Windows the install line is PowerShell's, irm https://github.com/basecompute/superfluid/releases/latest/download/install.ps1 | iex, and the model is a GGUF one, such as unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_M (Windows).
How it fits

The model file picks the runtime. Each runtime runs in its own worker process, installed on first use from its own project's releases:
| Runtime | Serves | Comes from |
|---|---|---|
llamacpp | GGUF files | llama.cpp's release builds |
mlx | MLX model directories (Apple silicon) | a private CPython with mlx-lm |
basert | .base bundles | baseRT's engine library |
NOTE
The server binds to loopback and asks for no key unless told to. Read Security before putting it on a network. Superfluid is pre-1.0: flags, protocols and on-disk formats may change between releases.
Requirements
- macOS on Apple silicon, Linux x86-64 / arm64 (glibc 2.28+), or Windows x86-64 (Windows 10 1803 or later), which serves GGUF models through llama.cpp. Other platforms build from source.
- Runtimes, models and the Hugging Face cache need disk space; nothing else is installed outside
~/.localand~/.superfluid(%LOCALAPPDATA%\Programs\superfluidand%USERPROFILE%\.superfluidon Windows).