qmetrics.net

vLLM MLX

Local OpenAI and Anthropic compatible MLX inference server

vLLM MLX screenshot

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

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0