Running local AI on a Mac? Consider oMLX instead of Ollama. oMLX is a local AI server tuned for Apple Silicon. Positioned as an alternative to Ollama and LM Studio, it tiers KV cache onto SSD storage to stretch memory capacity and includes optimizations for Qwen 3.8. With built-in compatibility for Claude Code and Cursor, it fits Mac developers who want to pair local models with coding agents. GitHub:

Running local LLMs on a Mac often hits a wall of memory pressure and throughput drops during long sessions. Existing local runners usually force a trade-off between one-click convenience and fine-grained runtime control. oMLX addresses this gap with an inference server built specifically around Apple Silicon unified memory.

Tiered KV Cache and Continuous Batching

oMLX splits the KV cache across an in-memory hot tier and an SSD-backed cold tier. Even when prompt context shifts mid-session, prior cache blocks stay intact for reuse. Long multi-turn coding sessions avoid exhausting unified memory while sustaining fast token generation.

Continuous batching handles concurrent requests cleanly. Users can pin frequently used models in memory, swap heavier models on demand, and adjust per-model context limits and memory budgets straight from the macOS menu bar.

Coding Agent Integration and Developer Workflow

oMLX works directly with coding agents such as Claude Code and Cursor. Built-in MCP (Model Context Protocol) support lets local agents pass project context to local models without custom glue code, turning the server into a practical backend for daily development tools.

Installing the menu bar app also sets up a CLI shim for terminal scripts and Apple Shortcuts automation. It requires macOS 15.0 Sequoia or later on Apple Silicon and installs or updates with a single Homebrew command.

Native Model Kernel Optimizations

oMLX includes native kernel build flags to accelerate recent open-weight families including Qwen3.5, GLM-5.2, and MiniMax M3. Compiling with family-specific flags boosts local throughput, and registering oMLX as a background service ensures automatic restarts after crashes.

Mac developers looking for both low-level runtime control and sustained local inference speed have a strong option in oMLX.

Summary

  • Tiers KV cache across RAM (hot) and SSD (cold) to handle large contexts without exhausting Apple Silicon memory
  • Connects directly with Claude Code, Cursor, and MCP workflows for local agentic coding
  • Combines a macOS menu bar controller with CLI and Apple Shortcuts support for straightforward daily operation