talira

Xinference

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)

You run it, Apache-2.0

Free1

Only in this edition

  • the full serving platform

You arrange

  • your own hardware

Self-hosting docs

Model API

Hosted by Xinference

From $0.30 per million tokens1

Only in this edition

  • hosted endpoints for DeepSeek, GLM and other open models, hosted in Australia

Pricing

Dedicated Inference

Hosted by Xinference

Per GPU hour, through sales1

Only in this edition

  • dedicated GPUs, fully managed

Pricing

Xinference Enterprise

You run it, under a commercial licence

By quote1

Only in this edition

  • private deployment in your cloud or data centre

You arrange

  • your own cloud or data centre

Self-hosting docs

Alternatives

The same job

These do what Xinference does.

  1. Ollama Start building with open models, locally or in the cloud
  2. KServe Standardized distributed generative and predictive AI inference platform for scalable, multi-framework deployment on Kubernetes
  3. LocalAI Your own AI, on your own hardware
  4. OpenLLM Run open-source LLMs as OpenAI-compatible API servers with one command
  5. SGLang Fast inference for LLMs and multimodal models
  6. vLLM A high-throughput and memory-efficient inference and serving engine for LLMs

Compare Xinference with the top 3