Open source inference platform: serve LLMs, embeddings, rerankers, image, audio and video models behind OpenAI-compatible APIs
open coreApache-2.0self-hostablefree
Xinference (Xorbits Inference) is an open source distributed inference platform for running open models on your own hardware, from a laptop to a cluster. It has 300+ built-in models for language, vision, embeddings, reranking, images, audio and video, lets you register your own, and serves them through OpenAI- and Anthropic-compatible endpoints with a Web UI, a CLI and a Python SDK. For LLMs it runs on vLLM, SGLang, TRT-LLM, Transformers, llama.cpp or MLX, across CPUs, GPUs and Apple Silicon, and it scales out with workers and replicas. Its makers also sell a hosted Model API, dedicated managed GPUs and Xinference Enterprise for private deployments.
Problems it solves
- self-host open LLMs and embedding models behind one OpenAI-compatible API
- serve a reranker and an embedding model for my RAG pipeline on our own GPUs
- run open models across several GPU servers with one control plane
Features
- Serve open LLMs, embeddings, rerankers, image, audio and video models on your own hardware
- OpenAI- and Anthropic-compatible APIs with streaming and tool calling
- 300+ built-in models, plus your own
- Choose vLLM, SGLang, TRT-LLM, Transformers, llama.cpp or MLX
- Distributed serving with workers and replicas across machines
- Web UI, CLI and Python SDK
- Hosted Model API and managed dedicated GPUs
Ways to run it
Xinference (open source)
Free1
Only in this edition
- the full serving platform
You arrange
- your own hardware
Model API
From $0.30 per million tokens1
Only in this edition
- hosted endpoints for DeepSeek, GLM and other open models, hosted in Australia
Dedicated Inference
Per GPU hour, through sales1
Only in this edition
- dedicated GPUs, fully managed
Xinference Enterprise
By quote1
Only in this edition
- private deployment in your cloud or data centre
You arrange
- your own cloud or data centre
Alternatives
The same job
These do what Xinference does.
- Ollama Start building with open models, locally or in the cloud
- KServe Standardized distributed generative and predictive AI inference platform for scalable, multi-framework deployment on Kubernetes
- LocalAI Your own AI, on your own hardware
- OpenLLM Run open-source LLMs as OpenAI-compatible API servers with one command
- SGLang Fast inference for LLMs and multimodal models
- vLLM A high-throughput and memory-efficient inference and serving engine for LLMs
