oMLX is an open-source local AI inference server designed to make running large language models on Apple Silicon Macs more efficient. Built around Apple's MLX machine learning framework, it combines continuous batching, multi-tier KV caching, multi-model management, and an integrated administration dashboard.
Unlike basic local model runners, oMLX is designed to serve multiple models and concurrent requests while managing memory intelligently. It keeps frequently accessed model context in RAM and moves less frequently used cache data to SSD, helping users work with longer conversations without requiring all cached context to remain in physical memory.
The project also provides a native macOS menu bar application, an OpenAI-compatible API, and integrations with AI coding tools. These capabilities make it particularly interesting for developers who want to use local models as alternatives or complements to hosted AI services.
Download oMLX v0.8.5 - Software Mirrors |
|---|
oMLX v0.8.5 for macOS |
oMLX v0.8.5 Python Packageomlx-0.8.5-cp313-cp313-macosx_15_0_universal2.whl | 39.83 MB omlx-0.8.5-cp312-cp312-macosx_15_0_universal2.whl | 39.83 MB omlx-0.8.5-cp311-cp311-macosx_15_0_universal2.whl | 39.83 MB |
oMLX v0.8.5 Source Code |
oMLX v0.8.5 Release Notes:oMLX 0.8.5
oMLX 0.8.5 adds Qwen4 support and an experimental Transformers engine for models that have no MLX port yet. It also makes Qwen3.6, Qwen3.8, DeepSeek V4.1, GLM-5.3 and Inkling 2 faster, and long prompts take less memory, most of all on Inkling 2. Download: macOS 26 / 27 | macOS 15 Sequoia Qwen4oMLX now runs Qwen4 MoE models such as Qwen4-35B-A3B (#5921). Lightning MTP and image input work with it, and oQ can build it. Several prompts prefill together, and INT8 Activation Prefill and the Prefill Accelerator work with it too. Turn on Trust Remote Code for it, because its tokenizer ships as code in the model repository. Transformers engine (experimental)oMLX can now run a model with the official Hugging Face Transformers code on PyTorch, inside the same server. Any model Transformers supports works on day zero, before anyone ports it to MLX, with chat, image input, embeddings, rerank and the prefix cache (#5844). It loads the official release format that Transformers supports, usually BF16, not MLX-quantized checkpoints. Turn it on in Settings > Integrations > Transformers, where the app downloads the PyTorch runtime for you. Then pick Transformers for a model in Model Settings > Advanced. Faster decodingQwen3.6 and Qwen3.8Qwen3.6 and Qwen3.8 decode up to 20% faster with MTP or DFlash when sampling, most of all on M5 Macs. A fused sampler now serves every request, and M5 verifies drafts in fewer passes (#5845, #5883, @masterfasa in #5579).
DeepSeek V4.1, GLM-5.3 and Inkling 2DeepSeek V4.1, GLM-5.3-Flash, Inkling 2 and Hy4 decode faster, most of all on M5 Macs and with several requests at once. DeepSeek V4.1 with MTP is much faster when the answer copies the prompt, such as rewriting a file with a small edit (@bleugreen in #5766, #5779).
Also faster:
Less memory for long promptsInkling 2 can now keep its KV cache in 8 bits. Four ~245K sessions on a 64 GB Mac peak at 41.4 GB instead of 57.1 GB, and all of them finish instead of failing (@avifenesh in #5755). Turn it on by setting KV cache quantization to affine8 in Model Settings. When one of several running requests finishes, memory no longer spikes while the batch shrinks (@iggerask in #5683, #5787).
Also lower:
New Features and Improvements
Bug Fixes
Upgrade Notes
New Contributors@casualuser in #3743, @isbcd in #5703, @Sahil-Bablani in #5712, @NikolayGusev-astra in #5738, @arfung in #5749, @anatolykoptev in #5799, @Arpit1980gh in #5808. Full changelog |
Features
Continuous Batching
oMLX supports continuous batching to process multiple inference requests through a shared model engine.
Instead of treating every request as an entirely separate generation task, the server schedules concurrent requests together. This improves resource utilization and can increase overall throughput when multiple applications or users access the same model.
Users can configure the maximum number of concurrent requests through the command line or administration dashboard.
This is particularly useful when running local AI services for coding assistants, internal applications, or multiple clients.
Tiered KV Cache
One of oMLX's most distinctive features is its tiered key-value cache architecture.
The system uses two storage tiers:
Hot cache: Frequently accessed KV cache blocks remain in RAM for faster retrieval.
Cold cache: Less frequently accessed blocks are transferred to SSD storage.
Prefix sharing: Matching prompt prefixes can reuse previously computed context.
Copy-on-Write: Shared cache blocks can be reused without unnecessarily duplicating their contents.
Persistent caching: Cached context can be restored from SSD after a server restart.
This approach helps reduce repeated prompt processing, especially when users work with long conversations, large codebases, or recurring system prompts.
The SSD cache is particularly useful when available memory is limited. However, retrieving cached blocks from storage is not equivalent to accessing them directly from RAM, so cache hits on SSD should not be expected to deliver the same latency.
Multi-Model Serving
oMLX can serve several types of AI models through one inference server.
Supported model categories include:
Large language models.
Vision-language models.
Optical character recognition models.
Embedding models.
Reranking models.
The server automatically discovers supported models inside configured model directories.
It also includes memory management features to control which models remain loaded:
LRU eviction: Automatically unloads less recently used models when memory becomes limited.
Manual loading: Allows users to load or unload models from the dashboard.
Model pinning: Keeps frequently used models loaded.
Per-model TTL: Automatically unloads models after a configured idle period.
Memory enforcement: Limits overall model memory usage to reduce the risk of system-wide out-of-memory conditions.
This makes oMLX more practical for users who regularly switch between different models rather than running a single model continuously.
Vision-Language and OCR Support
Beyond conventional text generation, oMLX supports vision-language models that can process image inputs.
Its vision capabilities include:
Multiple images in a conversation.
Image inputs through URLs, files, or Base64 data.
Vision-based tool calling.
Image understanding through supported VLM architectures.
Video input for selected supported model families.
It also recognizes supported OCR models, including DeepSeek-OCR, DOTS-OCR, and GLM-OCR, with optimized prompt handling.
This makes oMLX useful for more than text-based AI applications. Developers can build local workflows involving document extraction, image analysis, and multimodal assistants.
Model-specific support varies, so users should check the compatibility of their selected checkpoint before downloading it.
Built-in Administration Dashboard
oMLX includes a browser-based administration dashboard that provides centralized control over the inference server.
Available functionality includes:
Real-time server monitoring.
Model discovery and management.
Model loading and unloading.
Per-model configuration.
Built-in AI chat interface.
Performance benchmarking.
Model download management.
Conversation history.
Image uploads for supported models.
Document attachments.
The dashboard also provides settings for sampling parameters, model aliases, context-related configuration, and model-specific profiles.
An integrated model downloader can search Hugging Face and download supported MLX, GGUF, and other available model formats.
The dashboard is particularly useful for users who prefer managing local AI infrastructure through a graphical interface instead of editing configuration files manually.
OpenAI-Compatible API
oMLX provides an API compatible with the OpenAI client ecosystem, allowing existing applications to connect to locally hosted models.
The default API endpoint is:
http://localhost:8000/v1This allows developers to integrate local inference into applications that already support OpenAI-compatible endpoints.
The server also provides an Anthropic-compatible API, expanding compatibility with tools designed around the Claude API format.
This is one of the project's most practical features because users can reuse existing application configurations and workflows instead of building a custom integration for every model.
macOS Menu Bar Application
oMLX includes a native macOS application built with Swift and SwiftUI rather than Electron.
The menu bar application provides convenient access to server controls without requiring users to open a terminal or browser dashboard.
Its features include:
Start and stop the inference server.
Monitor server activity.
Automatic restart after crashes.
Local usage history.
Per-model usage statistics.
Hourly usage visualization.
Persistent serving statistics.
Built-in application updates.
The application also provides a guided setup process for configuring the model directory, starting the server, and downloading the first model.
For users who prefer a conventional desktop experience, this makes oMLX easier to manage than a command-line-only inference server.
AI Coding Tool Integrations
oMLX is designed to work with several AI coding assistants and agent frameworks.
Its documented integrations include:
OpenClaw.
OpenCode.
Codex.
Claude Code.
Hermes Agent.
GitHub Copilot.
Pi.
Mistral Vibe.
DeepSeek Harness.
The administration dashboard provides configuration assistance for supported integrations, reducing the need to manually configure local API endpoints and model identifiers.
This is particularly useful for developers who want to run coding models locally while retaining familiar AI-assisted development workflows.
MCP Support
oMLX supports the Model Context Protocol (MCP), allowing compatible AI clients to connect with external tools and services.
MCP support is optional and requires installing the additional dependency and configuring the server.
This extends its usefulness beyond basic text generation, particularly when connecting local models to agent-based workflows.
Experimental Transformers Engine
An experimental Transformers engine allows oMLX to run models through the official Hugging Face Transformers implementation using PyTorch.
This is useful for models that do not yet have an MLX implementation.
The engine can support chat, image input, embeddings, reranking, and prefix caching for compatible models.
However, it is not identical to the native MLX execution path. The experimental engine generally loads the original supported model format, commonly BF16, rather than MLX-quantized checkpoints. Its memory requirements can therefore differ considerably.
Users should treat this feature as an additional compatibility option rather than assuming every model will have the same performance as native MLX inference.
Experimental Multi-Mac Inference
For users with multiple Apple Silicon computers, source builds provide experimental distributed inference capabilities.
The project can split a model across Macs with different memory capacities using MLX pipeline parallelism.
Supported networking approaches include Ring and Thunderbolt RDMA through JACCL.
A separate prefill acceleration feature can also use another Mac, or a Linux machine with NVIDIA GPUs running the appropriate helper, to accelerate prompt processing while keeping model decoding on the primary Mac.
These features are particularly interesting for users experimenting with larger local models. However, distributed inference requires additional configuration and compatible hardware, and should not be treated as a turnkey replacement for a single-machine setup.
Performance and Compatibility
oMLX is built around Apple Silicon and uses MLX to take advantage of Apple's unified memory architecture and Metal acceleration.
Its performance depends on the selected model, quantization format, memory capacity, cache configuration, and available GPU resources.
Continuous batching improves concurrent request handling, while tiered caching can reduce repeated prompt computation. Native custom Metal kernels provide additional acceleration for selected model families.
The developer publishes performance benchmarks covering prompt processing and token generation. These results are useful for understanding performance on specific hardware, but should not be treated as universal figures for every Mac or model.
Compatibility includes:
Apple Silicon processors, including M1, M2, M3, M4, and M5 families.
macOS 15 or later for the documented source installation.
Python 3.11 to 3.13 for source installation.
MLX-compatible models and supported Hugging Face checkpoints.
OpenAI-compatible clients.
Anthropic-compatible clients.
Supported AI coding assistants.
Optional MCP integration.
Experimental multi-Mac inference.
One important distinction is that oMLX is not a general-purpose Windows or Linux inference server. Its primary inference engine is designed for Apple Silicon. The NVIDIA Linux helper is an additional component for selected acceleration workflows, not equivalent full Linux support.
System Requirements
The documented source installation requirements include:
Operating system: macOS 15 or later.
Processor: Apple Silicon M1, M2, M3, M4, or M5.
Python: 3.11 to 3.13.
Memory: Depends on the selected model and its context requirements.
Storage: Sufficient space for model files and optional SSD KV caching.
Development tools: Full Xcode and its Metal toolchain for building native custom kernels.
The official macOS application includes precompiled components, so users do not need to build the native kernels themselves.
There is no universal RAM requirement because model size, quantization, context length, and concurrent requests significantly affect memory consumption. Macs with larger unified memory capacities are generally better suited to running larger models.
Pros and Cons
Pros
Open-source inference server under the Apache 2.0 license.
Optimized for Apple Silicon and Metal acceleration.
Supports continuous batching for concurrent requests.
Tiered RAM and SSD KV caching.
Persistent cache across server restarts.
Multi-model serving with automatic memory management.
Supports LLMs, VLMs, OCR, embeddings, and rerankers.
Includes a built-in model downloader and administration dashboard.
Provides OpenAI-compatible and Anthropic-compatible APIs.
Native macOS menu bar application.
Integrates with popular AI coding assistants.
Supports MCP for agent-based workflows.
Experimental Transformers engine expands model compatibility.
Experimental distributed inference across multiple Macs.
Cons
Primarily designed for Apple Silicon Macs.
Requires substantial unified memory for larger models.
SSD cache retrieval is slower than RAM access.
Some advanced performance features require native custom kernels.
Building custom kernels requires full Xcode and the Metal toolchain.
Transformers engine is experimental.
Distributed inference requires additional configuration and compatible hardware.
Model compatibility and performance vary across architectures.
Not a complete replacement for general-purpose inference servers on NVIDIA or AMD systems.
How to Install
There are three primary installation methods: the native macOS application, Homebrew, and source installation.
Install the macOS Application
Open the official GitHub repository.
Navigate to Releases.
Download the appropriate macOS DMG for your operating system.
Open the downloaded DMG file.
Drag oMLX into the Applications folder.
Launch the application and follow the initial setup instructions.
The application includes an integrated updater for future releases.
Install Using Homebrew
For users who prefer managing the server through the terminal, install it using Homebrew:
brew tap jundot/omlx https://github.com/jundot/omlx
brew install jundot/omlx/omlxTo install with native custom kernels, use:
brew install jundot/omlx/omlx --with-custom-kernelThe custom-kernel option requires full Xcode and the Metal toolchain.
Start the server:
omlx startTo stop or restart it:
omlx stop
omlx restartInstall From Source
Clone the repository and install the application:
git clone https://github.com/jundot/omlx.git
cd omlx
make installIf full Xcode is unavailable, install without native custom kernels:
make install-no-kernelsTo add MCP support:
make mcpAfter installation, start the server:
omlx serve --model-dir ~/modelsThe default API endpoint is available at http://localhost:8000/v1, while the built-in administration interface is available at http://localhost:8000/admin.
Sources
Final Verdict
oMLX is an impressive local AI inference server that makes Apple Silicon Macs more practical for running multiple AI models and serving concurrent requests. Its combination of continuous batching, persistent SSD caching, automatic model management, and native Metal acceleration gives it a strong technical foundation.
The tiered KV cache is particularly valuable for users working with long conversations and coding assistants. Instead of relying entirely on available RAM, oMLX can preserve reusable context on SSD and restore it when needed. Its administration dashboard and native menu bar application also make the server easier to operate without constantly interacting with the command line.
Its main limitation is hardware compatibility. oMLX is primarily an Apple Silicon solution, so users with conventional Windows PCs or Linux workstations cannot simply install the same inference server and expect equivalent functionality. Some advanced features also remain experimental or require additional development dependencies.
Overall, oMLX is an excellent choice for Mac users who want a flexible local AI server with advanced caching, multi-model serving, and integration with modern AI development tools.




