oMLX Explained: Run LLMs on Apple Silicon With Continuous Batching and SSD Caching
oMLX is an LLM inference server that runs large language models on Apple Silicon Macs with continuous batching and tiered KV caching. It keeps everyday models pinned and ready, swaps heavier models automatically, and persists context across hot RAM and cold SSD tiers, managed from a native macOS menu bar app.

What is oMLX and what problem does it solve?
oMLX is an LLM inference server with continuous batching and SSD caching for Apple Silicon, managed from the macOS menu bar — “LLM inference, optimized for your Mac.” It started from vllm-mlx v0.1.0 and evolved into a full local serving stack with multi-model serving, tiered KV caching, vision-language support, an admin panel, and a menu bar app.
The problem it solves is practical local serving. The author wanted everyday models pinned and ready, heavier models swapped in automatically, per-model context limits, and everything managed from the menu bar instead of a terminal. The key idea is that the KV cache persists across a hot RAM tier and a cold SSD tier, so past context stays reusable across requests instead of being recomputed — exactly what makes local LLMs practical for coding work with Claude Code. Readers of PantheonUK will recognise the pattern: a research trick turned into a daily-driver tool.
The oMLX GitHub repository is the home of the project. As of the crawl on 5 December 2026 it has 24,305 stars, 2,288 forks, 4,091 commits, 147 releases, and 155 tags. It was created on 13 February 2026, is released under the Apache-2.0 licence, is written in Python, and uses main as its default branch. It requires macOS 15.0 (Sequoia) or later, Python 3.11 to 3.13, and an Apple Silicon Mac — M1, M2, M3, M4, or M5.
Why is oMLX trending now?
oMLX is trending because it reached number 2 on the GitHub Trending daily list on 5 December 2026, with 24,305 stars and 2,288 forks. For a repository created on 13 February 2026, passing 24,000 stars and shipping 147 releases in under ten months signals a popular, actively developed project — 4,091 commits is not a weekend experiment.
The timing makes sense. Local inference on Apple Silicon has moved from hobby territory into real developer workflows, and oMLX packages what those workflows need — continuous batching, a persistent tiered cache, OpenAI-compatible APIs, and one-click coding-agent integrations — into a single menu-bar-managed server. It is the same momentum we cover in local AI inference: the winners make local models usable all day, not just impressive in a demo.
How do the tiered KV cache and continuous batching work?
The tiered KV cache stores key-value cache blocks in two tiers: a hot tier in RAM for active context and a cold tier on SSD, saved as safetensors files and restored after a restart. The design is block-based with prefix sharing and Copy-on-Write, inspired by vLLM, so shared prompt prefixes are stored once and reused. Optional Affine4 and Affine8 KV compression shrink the cache footprint when memory is tight, and flags such as --paged-ssd-cache-dir, --hot-cache-max-size, and --memory-guard tune the tiers.
Continuous batching works through the mlx-lm BatchGenerator, which merges incoming requests into shared batches instead of processing them one at a time. Maximum concurrent requests is configurable with --max-concurrent-requests and defaults to 8. Under the hood, oMLX is a FastAPI server with an EnginePool managing loaded models, a first-come-first-served Scheduler, and a PagedCacheManager coordinating the tiers.
Native custom kernels matter for some model families. GLM-5.2, MiniMax M3, and Qwen3.5 need them for their fast paths; without them, oMLX silently falls back to slower generic paths. The project’s own measurement puts GLM-5.2 fused DSA prefill at roughly 30x faster with kernels — 845 versus about 29 tokens per second on an M3 Ultra. That is the project’s own benchmark, not an independent test. Building kernels from source needs full Xcode with the Metal toolchain; the DMG ships them precompiled.

What can oMLX serve besides text LLMs?
oMLX serves far more than text LLMs: one server runs LLMs, vision-language models, embeddings, and rerankers at the same time. Vision-language models support multi-image chat with base64, URL, and file inputs, plus tool calling with vision, and OCR models — DeepSeek-OCR, DOTS-OCR, GLM-OCR — are auto-detected. The server auto-discovers LLMs, VLMs, embeddings, and rerankers in the model directory; models live as MLX-format subdirectories under --model-dir, with two-level folders supported. GGUF models run through an external engine called Splash, and the recognised types are LLM, VLM, OCR, Embedding, Reranker, and Decision.
Multi-model serving uses least-recently-used eviction, manual load and unload, pinning for models you always want resident, per-model TTL, and a memory limit defaulting to system RAM minus 8GB. Per-model settings cover sampling, chat template kwargs, TTL, aliases, and type overrides, and saved profiles appear as <model>:<profile> at no extra memory cost. The built-in chat includes history, model switching, dark mode, reasoning output, image upload, and document attachments (PDF, DOCX, PPTX, TXT, MD). A model downloader fetches models from HuggingFace in MLX or GGUF format, so getting a new model is a dashboard task, not a command-line ritual.
How do you install and run oMLX?
You install oMLX three ways: the macOS app, Homebrew, or from source. The app is simplest — download the .dmg from Releases, drag it to Applications, and use the in-app auto-update; it installs a CLI shim at ~/.omlx/bin/omlx and ships the custom kernels precompiled. Its Welcome screen walks you through choosing a model directory, starting the server, and downloading your first model.
The Homebrew route starts with brew tap jundot/omlx https://github.com/jundot/omlx, then brew install jundot/omlx/omlx --with-custom-kernel — that flag needs full Xcode, and without Xcode you install without kernels. Run it as a background service with omlx start; MCP support is optional via pip install mcp plus a restart. The service is zero-config, using ~/.omlx/models on port 8000, settings in ~/.omlx/settings.json, and logs at $(brew --prefix)/var/log/omlx.log and ~/.omlx/logs/server.log.
From source, clone the repository and run make install for an editable install with the web UI and native kernels, make install-no-kernels without Xcode, and make mcp for MCP support. Day to day, the CLI gives you omlx start, omlx stop, and omlx restart, or omlx serve --model-dir ~/models. OpenAI-compatible clients connect to http://localhost:8000/v1, and the built-in chat lives at http://localhost:8000/admin/chat. If you have weighed up macOS apps on Windows, note the boundary: oMLX itself is Apple Silicon and macOS only.

How does oMLX connect to coding agents and APIs?
oMLX connects to coding agents through one-click dashboard integrations and standard OpenAI- and Anthropic-compatible APIs. One-click setup covers OpenClaw, OpenCode, Codex, Hermes Agent, Copilot, Pi, Mistral Vibe, and DeepSeek Harness. From the CLI, omlx launch codex needs Codex 0.148 or later, omlx launch copilot needs Copilot CLI 1.0.83 or later, and omlx launch vibe needs Mistral Vibe 2.26.0 or later.
For Claude Code, oMLX reports the real context window so auto-compaction behaves correctly, and server-sent-event keep-alive messages prevent read timeouts on long generations. The API is a drop-in for OpenAI and Anthropic clients: POST /v1/chat/completions, POST /v1/completions, POST /v1/messages, POST /v1/embeddings, POST /v1/rerank, POST /v1/systemone, GET /v1/models, POST /v1/audio/transcriptions with speaker labels in diarized_json format, plus /tokenize and /detokenize. Tool calling and structured output use mlx-lm formats per family — Llama, Qwen, and DeepSeek JSON, plus Gemma, GLM, MiniMax, Mistral, and Kimi K2 — with JSON schema validation and MCP support. The dashboard at /admin covers monitoring, model management, chat, benchmarking, and per-model settings in 8 languages, works offline with vendored CDN dependencies, and its one-click benchmark reports prefill and generation tokens per second, including partial prefix cache hit testing.
Who is oMLX for, and what are its limits?
oMLX is for developers running local models on Apple Silicon Macs who want a managed server instead of a pile of scripts. If you use Claude Code, Codex, or Copilot against local models, keep several models resident at once, or want vision, embeddings, and reranking behind one OpenAI-compatible endpoint, oMLX covers that in one menu-bar app. The native Swift and SwiftUI menu bar app — not Electron — handles start, stop, and monitoring, a usage history heatmap, auto-restart, and auto-update, so the stack feels like a Mac utility, not a server chore.
The limits must be stated honestly. oMLX runs only on Apple Silicon with macOS 15.0 or later — no Windows or Linux server build, and Linux appears only as an optional prefill helper in the experimental multi-Mac setup. That multi-Mac inference splits one model across unequal-memory Macs via MLX pipeline ranks over Ring or Thunderbolt RDMA in source builds, and is labelled experimental, as is the Prefill Accelerator running first layers on a second Mac or a Linux NVIDIA helper. Custom kernels need full Xcode or the precompiled DMG, and without them some models silently use slower paths. Sustained inference heats a laptop up, so laptop cooling is worth thinking about before long runs. Binding beyond loopback with --host 0.0.0.0 requires an --api-key; oMLX refuses non-loopback binds without one.

Frequently Asked Questions
What is oMLX in simple terms?
oMLX is an LLM inference server for Apple Silicon Macs with continuous batching and tiered KV caching, managed from the macOS menu bar. It serves LLMs, vision-language models, embeddings, and rerankers from one server, keeps context reusable across hot RAM and cold SSD tiers, and exposes OpenAI- and Anthropic-compatible APIs.
Is oMLX free and open source?
Yes. oMLX is released under the Apache-2.0 licence and was created on 13 February 2026. As of 5 December 2026 it has 24,305 stars, 2,288 forks, 4,091 commits, 147 releases, and 155 tags, is written in Python, and uses main as its default branch. It reached number 2 on the GitHub Trending daily list on 5 December 2026.
How do I install oMLX?
Download the .dmg from Releases and drag it to Applications, or use Homebrew with brew tap jundot/omlx https://github.com/jundot/omlx and brew install jundot/omlx/omlx --with-custom-kernel, then run omlx start. From source, clone the repository and run make install, or make install-no-kernels without Xcode. It needs macOS 15.0 or later, Python 3.11 to 3.13, and Apple Silicon.
What hardware does oMLX need?
oMLX needs an Apple Silicon Mac — M1, M2, M3, M4, or M5 — running macOS 15.0 (Sequoia) or later. There is no Windows or Linux server build; Linux appears only as an optional prefill helper in the experimental multi-Mac setup. The default memory limit is system RAM minus 8GB, and the default maximum of concurrent requests is 8.
What are the limits of oMLX?
oMLX is Apple Silicon and macOS only, custom kernels need full Xcode or the precompiled DMG, and models such as GLM-5.2, MiniMax M3, and Qwen3.5 silently fall back to slower generic paths without them. Multi-Mac inference is experimental, and the headline kernel speedup — roughly 30x on GLM-5.2 prefill, 845 versus about 29 tokens per second on an M3 Ultra — is the project’s own measurement.
Conclusion
oMLX earns its number 2 trending spot by packaging the unglamorous pieces of local inference — continuous batching, a persistent tiered KV cache, multi-model serving, and agent-ready APIs — into a native menu bar app for Apple Silicon. The numbers as of 5 December 2026, 24,305 stars and 147 releases since 13 February 2026, show a fast-moving project with honest stated limits. Install the DMG, pin your everyday model, and let the cache do the remembering.