vllm-mlx serves LLMs and multimodal models on Apple Silicon with continuous batching, shared KV cache, and dual OpenAI and Anthropic HTTP APIs.
Overview
vllm-mlx is an inference server styled after vLLM for Macs with Apple Silicon. It runs text, vision, audio, and embedding models through MLX on Metal unified memory without a separate conversion pipeline.
One process exposes OpenAI routes such as chat completions, embeddings, rerank, and responses, plus Anthropic-style messages with streaming and tool use. Features include continuous batching, paged and prefix KV caches, optional SSD spill for long contexts, warm prompts, structured JSON output, many tool-call parsers, MCP integration, and Prometheus metrics.
Multimodal chat accepts images, video, and audio; built-in speech-to-text uses Whisper-family models and text-to-speech supports multiple voices and languages. Coding clients including Claude Code and OpenCode are documented against the local endpoints.
You install via pip or uv and start serving with a model id and port flag. Requirements are macOS on Apple Silicon, Python 3.10+, and at least 8 GB unified memory.
Key features
- OpenAI compatible HTTP API
- Anthropic messages API
- Continuous request batching
- Paged prefix KV cache
- Multimodal chat inputs
- Whisper STT and local TTS
- MCP tool calling parsers
- Prometheus metrics endpoint
Use cases
- Local LLM app backends
- Claude Code on private models
- Vision and audio agents
- Embedding and rerank microservices
- Concurrent chat on one Mac
Does the same job as
vllm-mlx doesn't name these products itself, but its own description shows it does the same job.