{"slug": "omlx-the-mac-menu-bar-llm-server-with-an-ssd-kv-cache-explained", "title": "oMLX: The Mac Menu-Bar LLM Server With an SSD KV Cache, Explained", "summary": "OMLX, an open-source menu-bar LLM server for Apple Silicon Macs built on Apple's MLX framework, was trending on GitHub this week with about 75 new stars in a day and roughly 24,000 in total. The project keeps frequently used models in RAM, swaps heavy models on demand, and stores long-conversation KV cache blocks on SSD in safetensors format so context can be restored without recomputation, even after a server restart; its README reports that GLM-5.2's fused prefill runs roughly 30 times faster with native custom kernels, measured at 845 versus about 29 tokens per second on an M3 Ultra. oMLX requires macOS 15.0 or newer and Apple Silicon (M1 to M5), and serves OpenAI-compatible and Anthropic-style endpoints at http://localhost:8000/v1.", "body_md": "**oMLX is an open-source server that runs local LLMs on Apple Silicon Macs and manages them from the menu bar.** The [project on GitHub](https://github.com/jundot/omlx?ref=explainx) was trending this week with about 75 new stars in a day and roughly 24,000 in total. Its pitch: pin everyday models in memory, swap heavy ones on demand, and keep a long conversation's context cached on SSD so it need not be recomputed. This guide explains what is in the README, how to install it, and what to check before you depend on it.\n\n## What oMLX is\n\noMLX serves models through [MLX](https://github.com/ml-explore/mlx?ref=explainx), Apple's array framework for Apple Silicon. The author says they built it because every LLM server forced a choice between convenience and control. The result is a native Swift and SwiftUI menu-bar app (not Electron) wrapped around a Python server. It supports:\n\n- Text LLMs, vision-language models, OCR models, embeddings and rerankers.\n- Continuous batching, so several requests share the model at once.\n- A tiered KV cache with a hot RAM tier and a cold SSD tier.\n- OpenAI-compatible and Anthropic-style endpoints.\n- An admin dashboard at `/admin` with chat, a model downloader and a benchmark tool.\n\n## The tiered KV cache, in plain terms\n\nKV cache blocks reused across requests, matching oMLX hot RAM and cold SSD tiers\n\nWhen a model reads a prompt, it builds a KV cache, a store of intermediate results that lets it generate the next tokens without re-reading everything. Long prompts are expensive to rebuild. Coding agents resend a large, mostly unchanged context on every turn, so cache reuse matters.\n\nThe README describes block-based cache management inspired by vLLM, with prefix sharing and copy-on-write. There are two tiers:\n\n- **Hot tier (RAM):** frequently used blocks stay in memory.\n- **Cold tier (SSD):** when the hot tier fills, blocks go to SSD in safetensors format. A later request with a matching prefix restores them from disk instead of recomputing, even after a server restart.\n\nOptional Affine4 and Affine8 KV compression add signed 4-bit and 8-bit cache formats. The README does not publish a general speed-up figure for the cache. The only measured number it gives is about the custom kernels, covered below.\n\n## Install options\n\nApple Silicon laptop running a local inference server\n\n| Route | Steps | Notes | \n|---|---|---|\n| macOS app | Download the DMG from Releases, drag to Applications | Includes auto-update and a CLI shim; kernels are precompiled | \n| Homebrew | `brew tap jundot/omlx` , then`brew install jundot/omlx/omlx --with-custom-kernel` | Kernels need full Xcode; without Xcode, install without the flag | \n| Source | `git clone` , then`make install` | `make install-no-kernels` skips kernels | \n\nRequirements, per the README: macOS 15.0 or newer, Python 3.11 to 3.13 for source builds, and Apple Silicon (M1 to M5). After install, `omlx start` runs a managed background server, and `omlx serve --model-dir ~/models` runs one in the foreground. Any OpenAI-compatible client can use `http://localhost:8000/v1`, and a chat UI is at `http://localhost:8000/admin/chat`.\n\n## Why the kernel note matters\n\nThe README warns that GLM-5.2, MiniMax M3 and Qwen3.5 need native custom kernels. Without them those families silently fall back to much slower generic paths. For GLM-5.2 it says the fused prefill is roughly 30 times faster with the kernels, measured at 845 against about 29 tokens per second on an M3 Ultra. That is the author's measurement on one machine. The practical lesson: if a model feels slow, check that the kernels loaded. The README gives a one-line Python check, `native_kernel_status()`, and says the official DMG avoids the problem.\n\n## APIs and integrations\n\noMLX acts as a drop-in for OpenAI and Anthropic APIs, per the README. Endpoints include chat completions, completions, the Anthropic Messages API, embeddings, reranking, models listing, audio transcription and a tokenizer API. Streaming usage stats and Anthropic adaptive thinking are supported.\n\nThe admin dashboard sets up OpenClaw, OpenCode, Codex, Hermes Agent, Copilot, Pi, Mistral Vibe and DeepSeek Harness with one click. Commands such as `omlx launch codex` give an agent a catalog of every chat model on the server, so you switch models inside the tool. The README notes version minimums: Codex 0.148 or newer, Copilot CLI 1.0.83 or newer, Mistral Vibe 2.26.0 or newer. It also lists a Claude Code optimization: the server reports the model's real context window so auto-compact works, and keeps the connection alive during long prefill. For a related approach to routing agents to other models, see our post on [the free-claude-code proxy and its terms and data risks](https://explainx.ai/blog/free-claude-code-proxy-61-providers-1-3b-free-tokens-terms-data-risks-2026).\n\n## Multi-model serving and memory limits\n\nContinuous batching serving concurrent local requests on one Mac\n\nThe server can hold several models at once and manages them with:\n\n- **LRU eviction** when memory runs low.\n- **Manual load and unload** from the dashboard.\n- **Pinning** for models you always want ready.\n- **Per-model idle timeouts.**\n- **A process memory limit** , default system RAM minus 8 GB, to avoid out-of-memory crashes.\n\nPer-model settings, aliases and named profiles apply without restarting. A profile can be exposed as its own model name, such as `qwen3-8b:thinking`, without extra memory.\n\n## Beyond text: vision, OCR, documents and speech\n\noMLX is not only a chat server. The README lists several other uses that run on the same batching and cache stack.\n\n- **Vision-language models:** multi-image chat, base64, URL and file inputs, and tool calling with vision context. Qwen3.5, Qwen3.6 and Qwen3.8 checkpoints accept video as base64 data URIs, which needs OpenCV installed. MiMo V2.6 checkpoints with bundled sidecars can also take sampled-frame video and 24 kHz audio.\n- **OCR models:** DeepSeek-OCR, DOTS-OCR and GLM-OCR are detected automatically and given tuned prompts.\n- **Documents in chat:** the built-in chat accepts PDF, DOCX, PPTX, TXT and MD attachments, matched by file extension.\n- **Speech to text:** the transcription endpoint can return speaker labels when the installed model supports them, for example VibeVoice-ASR or Nemotron 3.5 Transcribe. Streaming is not supported, and the whole file goes to the model in one request. Models without timed speaker labels return an error.\n\nThese features show the project's aim: one local endpoint for many model types, so an agent, a notes app and a document tool can share the same server. The cost is that each feature depends on the model you load. Check the model card for what a checkpoint supports before you build on it.\n\n## Experimental extras\n\nTwo features are marked experimental or optional in the README.\n\n- **Multi-Mac inference:** source builds can split one model across unequal-memory Macs using MLX pipeline ranks over Ring or Thunderbolt RDMA. The documentation points to security boundaries and a physical-hardware checklist.\n- **Prefill Accelerator:** a paired Mac runs the first layers of long prompts so the main Mac handles the rest. The README lists DeepSeek V4.1, GLM-5.3, Qwen3.8 Flash-Next, Qwen3.8 27B, MiniMax M3 and Inkling 2. A Linux machine with NVIDIA GPUs can also be the helper.\n\nTreat both as advanced. If you only have one Mac, ignore them.\n\n## How it compares with other local options\n\noMLX targets Macs only. If you want a cross-platform runtime, [llama.cpp](https://explainx.ai/blog/llama-cpp-amd-benchmark-dashboard-radeon-8060s-r9700s-ggml-2026) is the usual choice, and engines like [Strata for large mixture-of-experts models](https://explainx.ai/blog/strata-qwen3-8-flash-next-125b-consumer-gpu-100-tokens-per-second-2026) focus on moving experts between GPU, RAM and SSD. [Unsloth Desktop](https://explainx.ai/blog/unsloth-desktop-local-ai-train-run-models-august-2026) adds training. oMLX's niche is a Mac server with an SSD-persistent cache and agent setup built in. We did not benchmark it against those tools, and the README does not either, so speed comparisons are untested here.\n\nThe model side keeps moving. See our post on [Qwen4-35B-A3B open weights](https://explainx.ai/blog/qwen4-35b-a3b-fp8-open-weights-apache-1m-context-december-2026), a 35B mixture-of-experts model small enough for local use, and the [Seppia Qwen4 engine](https://explainx.ai/blog/sfumato-seppia-qwen4-inference-engine-anthropic-ban-december-2026) for another take on local inference.\n\n## Who should use it, and who should not\n\n**A good fit:** developers on an M-series Mac who use a coding agent and want a local backend with persistent context. Teams that keep source code off third-party servers. Tinkerers who want to compare several local models behind one URL.\n\n**A poor fit:** anyone on Windows or Linux, since the project targets Apple Silicon. People who need a vendor-supported product with a service agreement. Users with small unified memory who would hit the memory limit quickly, because the default limit leaves 8 GB for the system.\n\n**A middle case:** if you only chat with one small model, a simpler app may do. The value of oMLX shows when you juggle several models, long contexts or agent tools.\n\n## How to try it safely\n\n1. Download the DMG from the repository's Releases page rather than building from source if you want the kernels without Xcode.\n2. Launch the app and follow the three-step welcome: model directory, server start, first model download.\n3. Download a model that fits your RAM. Remember the default memory limit leaves 8 GB for the system.\n4. Run the built-in benchmark to measure prefill and generation speed on your Mac.\n5. Connect one agent from the Integrations panel and test with a small project.\n6. Keep the API key private. The server is for localhost; do not expose it on a network without authentication.\n\n## What to check before relying on it\n\n- **Project maturity:** a trending repo is not a stable product. Read the issue list and the SECURITY file.\n- **Model compatibility:** tool-calling support depends on each model's chat template. The README lists the families it detects.\n- **Quality:** local models differ from hosted ones. Test your own tasks.\n- **Licensing:** each model carries its own license. The software's license is in the repository.\n- **Data:** a local server keeps prompts on your machine, but the downloader fetches models from Hugging Face, so check what you pull.\n\n## Bottom line\n\noMLX is a well-documented option for Mac owners who want a local OpenAI-style server with persistent caching and one-click agent setup. Its strongest idea is the SSD-backed KV cache, which suits long coding sessions. Its limits are clear in the README: Apple Silicon only, kernels that need Xcode or the DMG, and several experimental features. Measure it on your own machine before you rely on it.", "url": "https://wpnews.pro/news/omlx-the-mac-menu-bar-llm-server-with-an-ssd-kv-cache-explained", "canonical_source": "https://explainx.ai/blog/omlx-apple-silicon-llm-server-tiered-kv-cache-menu-bar-mac-guide-december-2026?utm_source=rss&utm_medium=feed&utm_campaign=blog", "published_at": "2026-12-05 00:00:00+00:00", "updated_at": "2026-12-05 11:44:39.593915+00:00", "lang": "en", "topics": ["ai-infrastructure", "large-language-models", "ai-tools", "developer-tools", "ai-agents"], "entities": ["oMLX", "Apple", "MLX", "GitHub", "GLM-5.2", "MiniMax M3", "Qwen3.5", "M3 Ultra"], "also_reported_by": [], "takeaway": "On Apple Silicon, install oMLX with native custom kernels (the DMG precompiles them) or GLM-5.2, MiniMax M3 and Qwen3.5 silently fall back to generic paths — GLM-5.2 fused prefill measured 845 vs about 29 tokens per second on an M3 Ultra.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/omlx-the-mac-menu-bar-llm-server-with-an-ssd-kv-cache-explained", "markdown": "https://wpnews.pro/news/omlx-the-mac-menu-bar-llm-server-with-an-ssd-kv-cache-explained.md", "text": "https://wpnews.pro/news/omlx-the-mac-menu-bar-llm-server-with-an-ssd-kv-cache-explained.txt", "jsonld": "https://wpnews.pro/news/omlx-the-mac-menu-bar-llm-server-with-an-ssd-kv-cache-explained.jsonld"}}