MLX-Serve pairs a native macOS app with a local inference server that exposes OpenAI-, Anthropic-, and Ollama-compatible APIs. It runs chat, coding agents, and media models offline without Python or an account.
Overview
MLX-Serve is built to run open models on your own hardware: a Zig-backed inference server plus a Swift macOS application for chat and creative workflows. Clients point existing OpenAI, Anthropic, or Ollama tools at the local port, or you can open the built-in web console in a browser.
On Apple Silicon Macs it targets recent macOS releases and suggests starter models based on installed memory. Supported workloads include conversational chat, document questions over folders you attach, hands-free voice mode, and agent tasks with configurable sandbox limits. Coding integrations can launch tools such as Claude Code, Codex, OpenCode, and others against locally loaded weights.
Beyond text, the stack exposes HTTP endpoints and in-app tabs for image, video, music, speech, and 3D generation using named open model families documented in the project. Speech-to-text covers many languages with word timings and speaker diarization; menu-bar recording can produce meeting notes. Very large models can stream expert weights from SSD on high-memory Macs, and networked Macs can share models over Thunderbolt or LAN.
Linux builds target NVIDIA GPUs on x64 and arm64 hardware; Windows can be built when an NVIDIA card is present. A separate iPhone app reuses the same engine for on-device chat, voice cloning, and media generation on recent phones. The project is MIT licensed and states that nothing is paywalled.
Key features
- OpenAI and Anthropic compatible APIs
- Ollama-compatible local endpoint
- MLX and GGUF model support
- Native macOS app with web console
- Image, video, music, and 3D generation
- Voice mode and speech-to-text
- Coding agent launch integrations
- Multi-machine and SSD-backed large models
Use cases
- Offline chat with local open weights
- Pointing Claude Code at a home server
- Generating images and music on-device
- Private document Q&A over local folders
- Serving models to LAN clients from a Mac
Open-source alternative to
LM Studio“Drop-in alternative to LM Studio, Ollama, and llama.cpp on macOS.” source
Does the same job as
MLX-Serve doesn't name these products itself, but its own description shows it does the same job.