oMLX brings batched local LLM serving and SSD-backed caching to Apple Silicon
Product updatePublished: Source: GitHub Trending (Python, daily)
TL;DR:oMLX is an open-source inference server for Apple Silicon Macs, with continuous batching and a two-tier KV cache that keeps frequently used data in memory and moves other cache blocks to SSD.
oMLX is an open-source inference server for Apple Silicon Macs, with continuous batching and a two-tier KV cache that keeps frequently used data in memory and moves other cache blocks to SSD. It supports serving language, vision-language, embedding and reranking models, with model management through a macOS menu bar app, web dashboard or CLI. The project reports that native kernels raised GLM-5.2 fused prefill speed on an M3 Ultra from about 29 to 845 tokens per second; those kernels require full Xcode when building from source, while the official DMG includes precompiled kernels.
Key points
- Continuous batching serves concurrent requests, while KV cache blocks can be retained in RAM or offloaded to SSD and reused across requests and server restarts.
- The server supports LLMs, vision-language, embedding and reranking models, and offers an OpenAI-compatible API at localhost:8000/v1.
- The macOS app and admin dashboard provide model downloads, monitoring, chat, benchmarks and controls such as model pinning and automatic eviction.
- The project reports 845 versus about 29 tokens per second for GLM-5.2 fused prefill on an M3 Ultra with native kernels versus the generic fallback.
- Requirements are macOS 15 or later and Apple Silicon; experimental multi-Mac inference is also available in source builds.
Why it matters
Developers and teams with Apple Silicon Macs can run and manage multiple local models behind a familiar API, while SSD-backed caching helps reuse long-context work without keeping every cache block in RAM. The reported kernel speedup is especially relevant to users of supported model families, though it depends on using the native kernels.
Companies and models mentioned
- oMLX
- Apple Silicon
- GLM 5.2
- M3 Ultra
- MLX
- Claude Code
- OpenAI-compatible API