talira

Compare

llama-swapllama.cppOllamaXinference
What it isRun many local AI models behind one API and hot-swap them on demandLLM inference in C/C++Start building with open models, locally or in the cloudOpen source inference platform: serve LLMs, embeddings, rerankers, image, audio and video models behind OpenAI-compatible APIs
KindOpen sourceOpen sourceOpen coreOpen core
Trust0.700.900.870.72
Stars63221364991884079682
Last commit2026-11-262026-11-282026-11-272026-11-29
LicenceMITMITMITApache-2.0
PricingFree and open sourceFree and open sourceFree tier, from $20/monthFree and open source
Free tierYesYesYesYes
Self-hostableYesYesYesYes
Ways to run it——
  • Ollama (local) (self-hosted, MIT): free
    You arrange: a computer with enough GPU memory or RAM for the models you run, disk space for models, which can be tens to hundreds of GB
  • Ollama Cloud: Pay as you go per token; Pro $20/month; Max $100/month; Team $500/month; Enterprise custom
  • Xinference (open source) (self-hosted, Apache-2.0): Free
    You arrange: your own hardware
  • Model API: From $0.30 per million tokens
  • Dedicated Inference: Per GPU hour, through sales
  • Xinference Enterprise (self-hosted, proprietary): By quote
    You arrange: your own cloud or data centre
SOC 2————
HIPAA————
SSO————
API—YesYes—
Plugins————
MCP server————
CompanyBenson Wongggml
acquired by Hugging Face (2026)
Ollama
venture-backed
Xinference
Features
  • starts and stops local inference servers on demand from each request's model name
  • OpenAI-compatible endpoints: completions, chat, responses, embeddings, audio, images and realtime
  • Anthropic-compatible messages endpoint
  • works with llama.cpp, vLLM, stable-diffusion.cpp, ComfyUI and other compatible servers
  • one binary and one YAML config file, no dependencies
  • web UI and API to list and unload running models
  • GGUF models, downloaded directly from Hugging Face
  • CPU, Metal, CUDA, HIP, Vulkan, SYCL, MUSA and BLAS backends
  • quantization
  • llama-server with OpenAI- and Anthropic-compatible APIs
  • continuous batching and parallel decoding
  • function calling and grammar-constrained output
  • multimodal models
  • embeddings and reranking endpoints
  • All 10 features
  • ollama run to download and chat with a model
  • REST API on localhost:11434
  • OpenAI and Anthropic API compatibility
  • model library at ollama.com/library
  • Modelfile for custom system prompts and parameters
  • importing models
  • streaming, thinking, structured outputs, vision, embeddings, tool calling and web search
  • ollama launch for Claude Code, Codex, Copilot CLI, OpenCode, Droid and OpenClaw
  • All 12 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
Limitations
      • No GPU acceleration on Intel Macs: Ollama runs CPU-only on x86 Macs