NEW Inkling 2 Mini, drafting ahead on M5 →

Your Mac is the AI server.

Chat, coding agents, pictures, video, music, speech and 3D from open models, in one native app and one local server that speaks the OpenAI, Anthropic and Ollama APIs. Offline. No Python. MIT.

Download for Mac
$brew install --cask mlx-serve

macOS 26.2+ on Apple Silicon · also on iPhone and Linux with NVIDIA

The MLX-Serve app: chat window and the menu-bar server panel
Runs the open models that matter, the day they ship
Gemma 4Qwen3.8DeepSeek-V4.1 FlashGLM-5.3 FlashInkling 2 MiniMiMo-V2.6Nemotrongpt-ossLFMLlamaMistralFLUX.2Qwen-ImageLTX-VideoMiniMax-H3ACE-StepHunyuan3DQwen3-TTSany GGUF Gemma 4Qwen3.8DeepSeek-V4.1 FlashGLM-5.3 FlashInkling 2 MiniMiMo-V2.6Nemotrongpt-ossLFMLlamaMistralFLUX.2Qwen-ImageLTX-VideoMiniMax-H3ACE-StepHunyuan3DQwen3-TTSany GGUF
0tokens per second on Qwen3.6 35B-A3B, M5 Ultra
0model and media plugins built in, plus any GGUF
3 APIsOpenAI, Anthropic and Ollama, all on one port
0lines of Python, accounts or cloud calls
Claude Code running against a local model
Coding agents

Your coding agent, on your own GPU

mlx-serve launch claude starts Claude Code against your Mac, set up with the model's real context window. Codex, OpenCode, pi, Grok and Zed work the same way.

Tool calls arrive whole, long sessions stay warm in the prompt cache, and nothing leaves the machine. One line sets up pi, Claude Code, OpenCode or Grok against your server:

$curl -fsSL https://mlxserve.com/agent.sh | sh
Read the integrations guide
Image generation in the MLX-Serve app
Create

Pictures, video, music and 3D

FLUX.2, Qwen-Image, MiniMax-H3-Image, Krea and Ming-Image for pictures and edits. LTX-Video and MiniMax-H3 for clips with sound. ACE-Step and YuE2 for songs. Hunyuan3D, TRELLIS.2 and Idol for 3D.

They share one server with your chat model, and chat never waits for the art: agents keep answering while the same Mac paints, sings, films or sculpts beside them.

Take the media tour
Quick Create: templates for videos, pictures and songs made from photos of your people and pets
Quick Create

Add your people and pets once. Pick a template.

Talking pets, a message from Santa, a dance party, a hug with your younger self: videos with sound and captions. Royal portraits, movie posters and action figures with the words right. Birthday songs and power ballads, written and sung.

Every template shows a preview, and everything is made on your Mac, ready to share.

An agent calling tools in a sandbox
Agents

An assistant with hands, in a sandbox

Give agents a shell inside a lightweight VM instead of your Mac, plus MCP tools and your own documents. Schedule chores in plain English and they run while you sleep.

See what agents can do
And the rest of the stack

Everything local AI, in one app

⌃ SPACE

Ask from any app

The Quick Launcher floats over whatever you're doing: summarize a page, rewrite a paragraph, ask about your screen.

Models bigger than your Mac

GLM-5.3-Flash and DeepSeek-V4.1-Flash on a 128 GB Mac, their experts read from the SSD. Two Macs on a Thunderbolt 5 cable run one model together.

SSD expertsThunderbolt RDMALAN sharing
# share models with every Mac at home
$ mlx-serve serve --lan-share all

Talk to it, hands-free

Voice mode listens and answers out loud. Clone a voice from a few seconds of audio.

Meeting notes from the menu bar

Switch on Transcript and it records the call. Switch it off for every speaker named, then a summary, the decisions and the action items.

The menu bar with Voice, Quick Launcher and Transcript switches
iOS

The same engine on iPhone

Chat with Gemma 4, make pictures and music, all on the phone and offline.

Video from a photo, with sound

Give LTX-Video a picture and a sentence; it writes the soundtrack too.

QWEN-IMAGE 2.1

Pictures that spell

Signs, posters and infographics with the words right.

A fox in the snow holding a sign that reads MLX
IDOL

One photo to a 3D model

Idol cuts out the background and builds a model you can open in Preview or any 3D viewer.

The 3D pane turning a photo of a red sports car into a 3D model
BENCHMARK

Measure your own Mac

One click runs a model across context sizes and charts decode, prompt reading and time to first token, with the settings that produced them.

The benchmark window: DeepSeek-V4.1-Flash on an M5 Ultra, decode and prefill across context sizes
USAGE

See what your Mac did today

Tokens, requests and speeds per day and per model, kept across restarts. The corner of the chat window shows it live.

The usage dashboard: tokens, requests, speeds and a year of daily activity
Speed

Fast, and measured every release

A native Zig engine on MLX, with our own Metal kernels and a draft-ahead mode for every model that has one. Same harness, same prompt, every release.

Decode tokens per second in v26.11.4 (M4 Max: last measured release), llmprobe median of 3 on a code prompt, speculative decoding on. Every release's numbers →

Draft ahead, verify in one pass

Multi-token prediction heads, DFlash drafters and prompt lookup, each with gates that switch off when they stop paying.

Built for M5's matrix units

Prefill, attention and quantized KV run on the neural accelerators, with portable kernels for M1 to M4.

Long chats stay warm

The prompt cache spills to the SSD, so a follow-up resumes where the last turn ended instead of re-reading the conversation.

Many users at once

Concurrent requests batch on the GPU, and a long prompt yields to people already reading answers.

What fits

What can my Mac run?

Pick your memory. The app suggests the same model on first launch, and it updates as better ones ship.

Thousands more run too: any MLX model on a supported architecture, and any GGUF. See the tier list →

Developers

The APIs your tools already speak

  • OpenAI chat, completions and Responses, with WebSocket transport
  • Anthropic Messages, for Claude Code and the Anthropic SDKs
  • Ollama's API on the same port: swap 11434 for 11234
  • Streaming, tool calls, JSON schemas, vision, reasoning effort
  • Images, video, speech, transcription and embeddings over HTTP
Claude CodeCodexOpenCodepiZedOpen WebUIRaycastObsidian
# any OpenAI client, no key needed on this Mac
curl localhost:11234/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemma-4-26b-a4b-it-4bit",
    "messages": [{"role": "user", "content": "Hi!"}],
    "stream": true
  }'
Free and open source

Up and running in a minute

No Python, no account, no setup screens. The app picks a model that fits and updates itself.

  1. Download the app, or use Homebrew.brew install --cask mlx-serve for the app, brew install mlx-serve for the server alone.
  2. Pick a model that fits your Mac.Or from the terminal: mlx-serve run gemma4 downloads, serves and chats.
  3. Point any tool at localhost:11234.OpenAI, Anthropic and Ollama clients, or open it in a browser for the built-in console.
What's new

Shipping every week or two

Full changelog →
MLX-Serve Pro

Running it at work? We've got you.

Support contracts, long-term releases and custom model work for teams that run private AI on Apple Silicon. The engine stays MIT, with nothing paywalled.

See plans and services →
  • Priority supportA private channel and guaranteed response times
  • Long-term releasesA stable line with fixes backported for a year
  • Model ports and packsYour model, served fast, with calibrated quants
  • Fleet deploymentsMac Studios, Thunderbolt clusters, managed config
FAQ

Questions, answered

Is it really free?

Yes. MLX-Serve is MIT licensed and nothing is paywalled. Companies that want guaranteed support or custom work can buy it on the Pro page, which funds the open-source work.

Where does my data go?

Nowhere. Models run on your Mac, with no telemetry and no cloud calls. The server binds to your machine by default and can require an API key when you share it on a network.

Can it replace Ollama or LM Studio?

On a Mac, yes. It speaks the Ollama API on port 11234, so Raycast, Obsidian, Open WebUI and the Ollama libraries work unchanged, and mlx-serve run gemma4 feels the same. It runs MLX models natively and any GGUF through an embedded llama.cpp.

Does it work with Claude Code?

Yes, natively. It implements Anthropic's Messages API with streaming, tool calls and thinking. Run mlx-serve launch claude, or set ANTHROPIC_BASE_URL=http://localhost:11234.

Which Macs are supported?

Any Apple Silicon Mac (M1 to M5) on macOS 26.2 or later. M5 Macs get extra speed from the GPU's matrix units. There's also an iPhone app. Off the Mac, every release has Linux downloads for NVIDIA GPUs (RTX 20 to 50, DGX Spark), and one script builds it on Windows with an NVIDIA card.

Can I run models bigger than my memory?

Some, yes: GLM-5.3-Flash and DeepSeek-V4.1-Flash stream their experts from the SSD on a 128 GB Mac, and two Macs on Thunderbolt 5 can share one model.

Open source and free

Ready to make your Mac an AI server?