Skip to content

Rapid-MLX

Local LLM inference server for Apple Silicon Macs, built for coding agents

Permissive (OSI) · Apache-2.0 AI-native
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

77

Health

Thriving

Overview

Stars

4,180

Last commit

today

Nov 2026

Repository age

9 months

since Feb 2026

Latest version

v1.1.1

Nov 2026

Contributors

–

2 active in 90 days

Releases

25

last 12 months

Language

Python

Rapid-MLX is an inference server for Apple Silicon that exposes OpenAI-compatible and Anthropic-compatible APIs. It is built on MLX and focuses on reliable tool calling, so coding agents can run against a model on your own Mac.

The command rapid-mlx launch followed by an agent name creates a private profile, starts the server and opens the agent. It supports Codex, Claude Code, OpenCode, Pi, Hermes, Crush and Goose. Removing the profile leaves your existing agent settings alone. You can also run rapid-mlx serve with a model name and point the OpenAI or Anthropic Python SDK at localhost.

The project reports up to 4x faster decoding than Apple's mlx-lm, and benchmarks against oMLX and LM Studio on Qwen models on a Mac Studio M5 Max. Those are single-run figures from the project. Install with a guided script, pip on Python 3.12 or newer, or Homebrew. It is written in Python under Apache-2.0 and is an alternative to tools like Ollama and LM Studio for local use.

Who it's for

Developers running coding agents on a local model

One launch command wires Claude Code, Codex or OpenCode to a model on your Mac.

Skip if: You use a hosted model API and have no need for local inference.

Mac users replacing Ollama or LM Studio

It serves OpenAI and Anthropic style endpoints and reports faster decoding on its test models.

Skip if: You want a graphical app for browsing and chatting with models.

Python developers prototyping against local models

Existing OpenAI or Anthropic SDK code works by changing the base URL.

Skip if: You are not on Apple Silicon.

The problem it solves

Running coding agents against a local model on a Mac usually means hand-configuring a server and fixing tool-calling problems. Rapid-MLX packages the server and agent setup into one command.

Strengths

  • Speaks both OpenAI and Anthropic API formats from one local server
  • One command launches Claude Code, Codex, OpenCode, Goose and others
  • Published benchmarks compare decode speed with mlx-lm, oMLX and LM Studio
  • Installs by script, pip or Homebrew; Apache-2.0 licensed

Trade-offs

  • Targets Apple Silicon, so it is not a fit for other hardware
  • Speed figures come from the project's own single-run tests
  • First reply can be slow while a model downloads and loads

Rapid-MLX replaces

Self-host Rapid-MLX

Self-hostable
Yes

Quick start

curl -fsSL https://rapidmlx.com/install.sh | bash

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is it free?

Yes. It is open source under Apache-2.0.

How do I install it?

Use the guided install script, pip with Python 3.12 or newer, or brew install rapid-mlx.

Can I use the OpenAI or Anthropic SDK with it?

Yes. Start rapid-mlx serve, then set the SDK base URL to localhost. OpenAI's URL includes /v1; Anthropic's is the host.

Which coding agents does it launch?

Codex, Claude Code, OpenCode, Pi, Hermes, Crush and Goose.

Other LM Studio alternatives

Compare all 5 LM Studio alternatives →

Similar tools in Local LLM runtimes

colibri

Local LLM runtimes

C inference engine that runs huge mixture-of-experts LLMs on ordinary hardware

53k 6.4k yesterday Thriving Apache-2.0

exo

Local LLM runtimes

Cluster software that pools your Macs and other devices to run large AI models locally

49k 3.6k 17 days ago Active Apache-2.0

Shimmy

Local LLM runtimes

Local GGUF inference server and CLI in Rust with an OpenAI-compatible API

6k 587 11 days ago Active Apache-2.0

llamafile

Local LLM runtimes

Run open LLMs locally from one executable file on Windows, macOS, Linux and BSD

27k 1.7k 18 days ago Active Apache-2.0

lemonade

Local LLM runtimes

Local AI server for chat, images, and speech on your own CPU, GPU, or AMD NPU

6.3k 574 today Thriving Apache-2.0

inference

Local LLM runtimes

Distributed platform for serving LLMs and other models behind OpenAI-compatible APIs

9.7k 905 today Thriving Apache-2.0