omlx

LLM inference server with continuous batching & SSD caching for Apple Silicon — managed from the macOS menu bar

22 articles 13.5k View on GitHub ↗
22 articles
oMLX Cache Stack Architecture: Two-Tier Caching for Vision Features

Explore the oMLX cache stack architecture. Discover its two-tier caching with in-memory LRU and SSD persistence to speed up vision feature tensor computation.

architecture
May 11, 2026
How to Set Up Model Aliases for Custom API-Visible Names in oMLX

Learn how to set up model aliases in oMLX to use custom API-visible names. Decouple storage layout from client identifiers for better API management.

how-to-guide
May 11, 2026
How to Integrate oMLX with OpenCode, OpenClaw, or Codex: Complete Setup Guide

Integrate oMLX with OpenCode OpenClaw or Codex effortlessly. This guide shows how to run the oMLX inference server and use Python classes to auto configure your tools for seamless integration.

how-to-guide
May 11, 2026
How LRU Eviction Works for Multi-Model Serving in oMLX

Learn how LRU eviction in oMLX efficiently manages GPU memory for multi-model serving, evicting least-recently-used models to make space for new requests.

internals
May 11, 2026
How to Configure Hot Cache Size vs Cold Cache Size in oMLX

Learn how to configure oMLX hot cache size and cold cache size using environment variables or CLI flags for optimal performance. Set RAM and disk allocations effectively.

how-to-guide
May 11, 2026
How to Run Performance Benchmarks with Prefill and Generation Speed Tests in oMLX

Learn how to run performance benchmarks in oMLX using its built-in utility. Measure TTFT, generation throughput, and continuous batching performance with ease.

performance
May 11, 2026
How to Download Models from HuggingFace Directly in the oMLX Admin Dashboard

Easily download HuggingFace models directly within the oMLX admin dashboard. Our FastAPI integration simplifies model management for your projects.

how-to-guide
May 11, 2026
How to Use the oMLX Anthropic Messages API Endpoint: A Complete Implementation Guide

Implement the Anthropic Messages API endpoint with oMLX. Discover how to use this compatible API for seamless integration and JSON or SSE stream responses. Get the complete guide.

how-to-guide
May 11, 2026
How to Use oMLX as an OpenAI API Compatible Replacement

Use oMLX to easily replace the OpenAI API with local MLX models. Redirect your OpenAI client to local MLX models by changing the base URL.

how-to-guide
May 11, 2026
How to Customize Chat Template Kwargs Per Model in oMLX: Complete Guide

Learn to customize chat template kwargs per model in oMLX. Control Jinja parameters, merge settings, and enforce policies with forced_ct_kwargs for robust chat management in your Jundot/omlx projects.

how-to-guide
May 11, 2026
How to Override Model Type Detection (LLM vs VLM) in oMLX

Force oMLX model type detection (LLM vs VLM) with model_type_override. Update the engine pool instantly without server restarts and gain full control over your model configurations.

how-to-guide
May 11, 2026
How oMLX Enforces Process Memory Limits to Prevent OOM Crashes

Learn how oMLX enforces process memory limits to prevent OOM crashes. Discover its continuous monitoring and eviction strategies for stable MLX runtime.

internals
May 11, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →