SuperAPIAI Directory

Rapid-MLX

github.com · AI developer platforms

OpenAI-compatible local LLM inference server for Apple Silicon, 2-4x faster than Ollama.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux · API

About this tool

Rapid-MLX is an open-source (Apache 2.0) local large-model inference server compatible with the OpenAI and Anthropic APIs, aimed at Apple Silicon, built on MLX, and focused on providing reliable tool calling for coding agents. According to the project description, with the same model and the same weights, its decoding speed can be up to 4 times that of Apple's native MLX (mlx-lm), and about 1.5 times on typical tasks. Official measurements show that on Qwen3.5-9B, Qwen3.8-27B, and Qwen3.6-35B, its decoding speed is faster than oMLX and LM Studio.

Primary uses Rapid-MLX is positioned as a local inference backend: it can be used as a local backend for agents, applications, or your own code. Any client that accepts OpenAI- or Anthropic-compatible endpoints can usually connect to Rapid-MLX without an adapter.

Main capabilities

  • Local inference service: provides an OpenAI-compatible HTTP server; Claude Code / Anthropic SDK uses the Anthropic Messages route /v1/messages.
  • Tool calling: focuses on reliable tool calling for coding agents.
  • Multimodal and generation capabilities: vision, image generation (including image editing), and video generation (text-to-video, image-to-video) are provided with the base installation (image and video generation require Python 3.11+); audio (TTS, STT, voice cloning) and embeddings are provided as optional extensions.
  • Audio capabilities: 44 audio aliases, covering OpenAI-compatible /v1/audio/* endpoints; supports zero-shot voice cloning (indextts only needs a reference audio clip; qwen3-tts-clone, f5-tts-zh, and chatterbox require a ref_text and ref_audio pair), voice design (qwen3-tts-voicedesign, describing timbre, gender, age, accent, emotion, prosody, etc. in natural language), and forced alignment (qwen3-aligner, taking input audio and an existing transcript and returning a word-by-word timeline); it also supports word-level timestamps for transcription, as well as local text-to-music /v1/audio/music.
  • Image generation: images can be generated from the desktop Images tab or the OpenAI-compatible Images API generate images; the image runtime is provided with the base installation (Python 3.11+). Existing PNG or JPEG images can be edited with editing-specific models. The official recommendation is to start with flux2-klein-4b. Image tasks are single-flight, running only one generation task at a time.
  • Video generation: run text-to-video or image-to-video locally through the OpenAI-compatible Videos API, with three backends and 8 registered checkpoints in total (Wan 2.1 / 2.2, CogVideoX-Fun, LTX-2.3). The official recommendation is to start with wan2.2-ti2v-5b-q8. The video runtime is provided with the base installation and requires Python 3.11+ (3.10 is not supported; core text and audio still support 3.10); final MP4 packaging requires ffmpeg to be installed. Generation is serial, one clip at a time.
  • Typed decisions: provides fast noul, choice, and score decisions through the TypeSafe-compatible /v1/systemone API.

How to use

  1. Direct chat: after installation it uses the default model qwen3.5-4b-4bit; the first run downloads the weights (about 3 GB) and enters the REPL; enter /help to view slash commands, and /exit to quit.
  2. Run as a service: when --port is not specified, it starts an OpenAI-compatible HTTP server on the first free port among 8000–8009; an explicitly specified --port will not fall back. Clients can point to http://localhost:8000/v1,Claude Code / Anthropic SDK uses http://localhost:8000(Anthropic Messages route is located at /v1/messages on the same host).
  3. Connect to a coding agent: after the server is running, one command can generate a local configuration for Claude Code (written to ~/.claude/settings.json), routing to http://localhost:8000;也可替换为 cline or continue-dev, or use rapid-mlx launch list to view clients detected on this machine.
  4. Command line and server installation: both install the same rapid-mlx CLI; uv or pip is recommended, and alternative installation methods may also be used, with the installation script verified before running. The guided installer will preferentially use models already cached locally that match the memory tier; for a quick first conversation, it downloads lfm2.5-1b-4bit when memory is below 16 GB, and qwen3.5-4b-4bit for 16 GB and above; larger, higher-quality models are available through rapid-mlx recipe and the model selector.
  5. Desktop app: Rapid-MLX Desktop is a one-click app for macOS (Apple Silicon), enabling local chat, model management, and the use of vision, files, speech, and image generation within a single app. It requires an M-series Mac; Windows and Linux desktop versions are not yet available.
  6. Community benchmark: enable Community Benchmark in Settings → Experimental, or run rapid-mlx benchmark catalog and rapid-mlx benchmark run <model> in the CLI, review the results, and then decide for yourself whether to publish (rapid-mlx benchmark share <run-id>). Run results remain local by default until you explicitly choose to publish.
  7. OpenAI-compatible clients: LibreChat, Open WebUI, and others can connect by changing the address to http://localhost:8000/v1 .

Agent support Before release, five Tier-1 agents are verified end-to-end on real weights. Tier-1 (5): Claude Code, Codex CLI, Hermes, Aider, DeepSeek Harness; Tier-2 (7): OpenCode, Qwen Code, OpenHands, Kilo Code, GitHub Copilot, Factory Droid, Moonshot Kimi Code. Tier-1 verification is a release-blocking task: tests/integrations/agent_smoke.sh drives the five agents to perform the same real multi-step bug-fix task on a local 35B model, and asserts that the repository's own test suite passes; if any one fails, the version cannot be tagged or released. In addition, Pi Coding Agent, Goose, and Crush also provide local setup configurations, but they are not part of the above 12-agent release matrix. One-command IDE setup uses rapid-mlx launch <claude-code|cline|continue-dev>; agent setup also supports rapid-mlx agents cline --setup, rapid-mlx agents kilo-code --setup, and rapid-mlx agents continue --setup.

Use cases

  • Local large-model inference, chat, and model management on an Apple Silicon Mac.
  • Providing a fully local OpenAI / Anthropic-compatible backend for coding agents (such as Claude Code, Codex CLI, Aider, etc.).
  • Local image generation and editing, video generation, speech synthesis/transcription/voice cloning, voice design and forced alignment, local text-to-music, etc.
  • Scenarios that require connecting local models to existing OpenAI-compatible clients (LibreChat, Open WebUI, etc.) or custom scripts.

Limitations and notes

  • Platform limitation: requires an Apple Silicon (M-series) Mac; Windows and Linux desktop builds are not yet available.
  • The desktop app requires an M-series Mac.
  • Image and video generation require Python 3.11+; videoGeneration does not support Python 3.10 (core text and audio still support 3.10); final MP4 packaging for video requires ffmpeg installed.
  • Both image and video generation execute serially (one task at a time), because two diffusion pipelines residing in memory simultaneously would exhaust unified memory; video generation requires several minutes of computation per second of footage, and is not real-time.
  • Model weights retain their respective licenses and usage restrictions; check the upstream model cards before commercial deployment.
  • Cursor: Cursor currently routes BYOK requests through its own servers, and its servers cannot access a Rapid-MLX endpoint on localhost, so no local Cursor configuration is generated. If you intentionally expose the server through a public HTTPS tunnel, you need to set RAPID_MLX_API_KEY for both rapid-mlx serve and rapid-mlx launch cursor; this is no longer a fully local connection, and you must never expose an unauthenticated server.
  • Some items in the official comparison table are marked as "not validated for that table" (—).
  • This document does not provide specific pricing or billing information.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools