A high-performance inference server engineered for speed — continuous batching, prompt caching, and PFlash + DFlash acceleration. Drop-in for Cursor, Claude Code, Aider, and anything that speaks the OpenAI API.
$ curl -fsSL https://rapidmlx.com/install.sh | bash
tok/s aggregate throughput
time to first token, cached
models across 15 families
stars on GitHub
Multi-turn stays instant: prompt caching with KV trimming gives sub-100ms time to first token on transformers, and RNN state snapshots bring the same to hybrid architectures — a first on MLX. Full methodology and reproduction scripts →
Got a different Mac? See — and contribute — community-submitted numbers across Apple Silicon →
Fast is only half of it. We scored 17 MLX models on coding, reasoning, and tool calling on an M3 Ultra — see which ones are actually smart →
From a 16 GB MacBook Air to frontier 158B-MoE models on a Mac Studio — there's a model sized for your machine.
| Your Mac | Best model | Speed · M3 Ultra ref | What you get |
|---|---|---|---|
| 16 GB | Qwen3.5-4B | 147 tok/s | Chat, coding, tool calling |
| 24 GB | Qwen3.5-9B | 101 tok/s | Great all-rounder |
| 32 GB | GPT-OSS 20B | 119 tok/s | Harmony-native · 100% tool calling |
| 48 GB | Qwen3.5-35B-A3B 8bit | 80 tok/s | Sweet spot — smart + fast |
| 96 GB | Qwen3.5-122B | 43 tok/s | Frontier-level intelligence |
| 128 GB | DeepSeek V4 Flash 158B | 31–56 tok/s | Day-0 frontier MoE · 1M context |
Single-stream throughput on the listed Mac (M3 Ultra reference, rapid-mlx). Browse all 191 models — including day-0 support for our Tier-1 families — Qwen 3.6, Gemma 4, DeepSeek, and gpt-oss 20B/120B — with a live RAM picker at models.rapidmlx.com →
$ curl -fsSL https://rapidmlx.com/install.sh | bash
# serve a model — auto-downloads on first run $ rapid-mlx serve qwen3.5-4b-4bit ⚡ serving on http://localhost:8000/v1 # or just chat $ rapid-mlx chat
# point any OpenAI client at it — no key needed from openai import OpenAI client = OpenAI( base_url="http://localhost:8000/v1", api_key="not-needed", ) r = client.chat.completions.create( model="default", messages=[ {"role": "user", "content": "Say hello"}, ], ) print(r.choices[0].message.content)
17 parsers with automatic recovery when quantized models degrade.
Chain-of-thought separation for DeepSeek-R1, Qwen3, and friends.
Vision via rapid-mlx[vision]. Audio: 26 aliases — Kokoro, Chatterbox, VibeVoice, Whisper, Parakeet — through /v1/audio/speech & /v1/audio/transcriptions.
3300+ unit tests and a rapid-mlx doctor self-check.
Anything that speaks OpenAI. Tested with:
Cursor
Claude Code
Aider
Continue.dev
Open WebUI
LibreChat
PydanticAI
LangChain
smolagents
GooseAlso verified end-to-end: Codex CLI · OpenCode · Hermes Agent · OpenClaude · Claw Code · Goose
Rapid-MLX is a high-performance, OpenAI-compatible LLM server for Apple Silicon Macs, built on Apple's MLX framework. It runs the latest open models — Qwen 3.6, Gemma 4, DeepSeek, GPT-OSS, and more — locally and exposes a drop-in OpenAI API at localhost:8000/v1.
Rapid-MLX reaches up to 261 tokens per second of aggregate throughput with a 0.08-second time to first token (cached) on Apple Silicon, using continuous batching, prompt caching, and speculative decoding.
No. Rapid-MLX is built on Apple's MLX framework and requires an Apple Silicon Mac (M1 or newer) running macOS 14 or later. Intel Macs are not supported.
Yes. Rapid-MLX is free and open source under the Apache 2.0 license. The source is on GitHub.
Rapid-MLX supports 191 models across 15 families, including our Tier-1 families Qwen 3.6, Gemma 4, DeepSeek, and GPT-OSS — covering text, vision, and audio. Audio ships 26 aliases — 13 TTS (Kokoro, Chatterbox, VibeVoice, VoxCPM, Dia) and 13 STT (Whisper, Parakeet) — via /v1/audio/speech and /v1/audio/transcriptions. Install with pip install 'rapid-mlx[audio]'.
Yes. Rapid-MLX exposes a drop-in OpenAI-compatible API, so tools like Cursor, Claude Code, Aider, Continue, LangChain, and any OpenAI client work unchanged by pointing them at localhost:8000/v1.
One curl command: curl -fsSL https://rapidmlx.com/install.sh | bash. The script probes for Python 3.10+ (auto-installs python-build-standalone if missing), creates a venv at ~/.rapid-mlx, and symlinks rapid-mlx into ~/.local/bin. No sudo required. Prefer Homebrew? It's in homebrew/core — just brew install rapid-mlx (no tap, no trust). Then run rapid-mlx serve <model> to start a local OpenAI-compatible server.