Rapid-MLX vs LM Studio: 37.9 tok/s vs 26.0 tok/s on 27B
On M5 Max, Rapid-MLX led LM Studio in 27B and 35B decode throughput. On 35B, its first agent turn after restart took 0.27 s versus 18.27 s.
Disclosure: we build Rapid-MLX.
Qwen3.8-27B 4-bit on a Mac Studio, M5 Max, 36 GB
Rapid-MLX measured 37.9 tok/s on one stream and 82.8 tok/s across four on the same weights as LM Studio.
rapid-mlx serve qwen3.8-27b-4bit
| Scenario | Rapid-MLX 0.16.1 default | LM Studio (MLX) |
|---|---|---|
| Decode, 1 stream | 37.9 tok/s | 26.0 tok/s |
| 4 streams, aggregate | 82.8 tok/s | 69.7 tok/s |
| Agent session: turns 2–10, median | 0.57 s | 1.87 s |
| After restart: turn 1 | 30.03 s | 115.36 s |
| After restart: turns 2–10, median | 0.57 s | 1.86 s |
| After restart: 10 turns, total | 35.13 s | 130.93 s |
| Agent session: 10 turns, total | 35.18 s | 130.71 s |
| Agent session: turn 1, cold | 30.00 s | 115.08 s |
| TTFT, ~2k-token prompt | 2.65 s | 9.75 s |
| TTFT, ~16k-token prompt | 19.71 s | 76.67 s |
Measurement notes. Mac Studio, M5 Max, 36 GB; 2026-10-12. Single run per engine; small differences (under ~5%) are within run-to-run variation. Rapid-MLX 0.16.1 default used MTP speculative decoding on a text-only lane with image input off. With --no-spec-decode it serves images. oMLX ran with its documented SSD cache directory enabled; LM Studio ran headless with its MLX runtime. All three used the same model weights. Scenario JSON, harness, versions, and summary are published.
Qwen3.6-35B 4-bit on a Mac Studio, M5 Max, 36 GB
Rapid-MLX measured 173.4 tok/s on one stream and 293.9 tok/s across four on the same weights as LM Studio.
rapid-mlx serve qwen3.6-35b-4bit
| Scenario | Rapid-MLX 0.16.1 default | LM Studio (MLX) |
|---|---|---|
| Decode, 1 stream | 173.4 tok/s | 124.5 tok/s |
| 4 streams, aggregate | 293.9 tok/s | 265.6 tok/s |
| Tool calls passed (30 prompts) | 30/30 | 29/30 |
| Agent session: turns 2–10, median | 0.29 s | 0.49 s |
| After restart: turn 1 | 0.27 s | 18.27 s |
| After restart: turns 2–10, median | 0.28 s | 0.49 s |
| After restart: 10 turns, total | 2.81 s | 22.55 s |
| Agent session: 10 turns, total | 8.74 s | 22.37 s |
| Agent session: turn 1, cold | 6.10 s | 18.04 s |
| TTFT, ~2k-token prompt | 0.55 s | 1.49 s |
| TTFT, ~16k-token prompt | 3.83 s | 11.46 s |
Measurement notes. Mac Studio, M5 Max, 36 GB; 2026-10-12. Single run per engine; small differences (under ~5%) are within run-to-run variation. Rapid-MLX 0.16.1 default used MTP speculative decoding on a text-only lane with image input off. With --no-spec-decode it serves images. oMLX ran with its documented SSD cache directory enabled; LM Studio ran headless with its MLX runtime. All three used the same model weights. Scenario JSON, harness, versions, and summary are published.
Qwen3.5-9B at a glance
- October M5 Max, Qwen3.5-9B 4-bit: 115.5 tok/s versus 81.0 tok/s single-stream decode (1.42×) and 248.2 tok/s versus 230.0 tok/s across four streams.
- Agent replay: 0.20 s versus 32.7 s to the first token after restart; both passed 30/30 tool-call prompts.
pip install rapid-mlx rapid-mlx serve qwen3.5-9b-4bit
Measured on a Mac Studio, M5 Max, 36 GB (October 2026)
Qwen3.5-9B 4-bit; Rapid-MLX 0.16.1 default versus LM Studio llmster 0.0.25 with MLX runtime 1.11.0. Lower time is faster; higher token throughput is faster.
| Scenario | Rapid-MLX 0.16.1 default | LM Studio (MLX) |
|---|---|---|
| Decode, 1 stream | 115.5 tok/s | 81.1 tok/s |
| 4 streams, aggregate | 248.2 tok/s | 230.0 tok/s |
| Tool calls passed (30 prompts) | 30/30 | 30/30 |
| Agent session: turns 2–10, median | 0.233 s | 0.613 s |
| After restart: turn 1 | 0.197 s | 32.678 s |
| After restart: turns 2–10, median | 0.229 s | 0.611 s |
| After restart: 10 turns, total | 2.275 s | 37.842 s |
| Agent session: 10 turns, total | 11.547 s | 37.894 s |
| Agent session: turn 1, cold | 9.442 s | 32.694 s |
| TTFT, ~2k-token prompt | 0.815 s | 2.780 s |
| TTFT, ~16k-token prompt | 6.089 s | 21.743 s |
October measurement notes. Mac Studio, M5 Max, 36 GB; Qwen3.5-9B 4-bit; 2026-10-12. Single run per engine; small differences (under ~5%) are within run-to-run variation. Rapid-MLX 0.16.1 default used MTP speculative decoding on a text-only lane with image input off. With --no-spec-decode it serves images, but measured 80.1 tok/s on one stream and 77.0 tok/s across four streams. oMLX ran with its documented SSD cache directory enabled; LM Studio ran headless with its MLX runtime. oMLX and LM Studio were measured earlier the same day on the same machine as Rapid-MLX. Scenario JSON, harness, versions, and summary are published.
Rapid-MLX's default led single-stream decode, both cold prompt TTFT rows, four-stream throughput, and the coding-agent session in this single run. Both passed all 30 tool-call prompts.
What each tool is
- Rapid-MLX: an MLX inference server for Apple Silicon with OpenAI and Anthropic APIs.
- LM Studio: a desktop model browser and local server for macOS, Windows and Linux; this run used its headless
llmsterservice with the MLX runtime.
Why Rapid-MLX
Rapid-MLX led the October decode throughput and agent-session rows, passed 30/30 tool-call prompts, and answered the first turn after restart in 0.20 s. It is Apache-2.0 licensed, with OpenAI and Anthropic APIs, per-model tool-call parsers, agent setup commands, a Desktop app and Homebrew installation (brew install rapid-mlx). See the full comparison, oMLX vs LM Studio and Ollama, Ollama, and mlx-lm.
MLX vs llama.cpp
Compare workload trade-offs and published Mac measurements in MLX vs llama.cpp.