llama-swap vs Xinference

Short answer

llama-swap: Hot-swap proxy that runs many local AI servers behind one OpenAI- and Anthropic-compatible API. Xinference: Model-serving platform for LLM, embedding, rerank, speech and image models behind one OpenAI-compatible API. Both are in our Local model runtimes category.

Choose Xinference if you want: larger community (9.7k vs 6.3k GitHub stars).

llama-swap and Xinference publish no official RAM figure, so we cannot compare hosting cost directly.

Last updated · computed from each project's official docs and live GitHub data · sources

llama-swap vs Xinference side by side

llama-swapXinference
CategoryLocal model runtimesLocal model runtimes
What it isHot-swap proxy that runs many local AI servers behind one OpenAI- and Anthropic-compatible API.Model-serving platform for LLM, embedding, rerank, speech and image models behind one OpenAI-compatible API.
LicenseMITApache-2.0
License typePermissivePermissive
License conditionsPermissive. Internal and commercial use allowed; keep the copyright notice. Models and upstream servers keep their own licenses.Permissive. Internal and commercial use allowed; keep the Apache-2.0 license and notices. Xinference Enterprise is a separate commercial edition. Models keep their own licenses.
StatusActiveActive
GitHub stars6.3k9.7k
Last commitNov 22, 2026Nov 22, 2026
Latest releasev275v4.2.0
Minimum hardwareNot publishedNot published
Recommended hardwareNot publishedNot published
RAM measured by usNot tested yetNot tested yet
GPUOptional. A CPU image is published (ghcr.io/mostlygeek/llama-swap:cpu). The recommended unified images target NVIDIA (CUDA 12 or 13) or Vulkan GPUs. RAM and VRAM depend on the upstream server and model you configure, not on llama-swap itself.The default Docker image requires an NVIDIA GPU (host CUDA 13.0 or newer, driver 580 or newer, NVIDIA Container Toolkit). For CPU, use the image tag with a -cpu suffix; pip installs on Apple Silicon can use the MLX engine.
Est. server costNot estimatedNot estimated
Deploy methodDocker (or a single binary)Docker
Known gotchas3 listed4 listed
TelemetryNot documentedNot documented
Calls home by defaultNot documentedYes, by default
SSO (OIDC / SAML / LDAP)Not documentedFree (OIDC free)
Audit logNot documentedYes, free
RBACNot documentedYes, free
DetailsFull llama-swap guide →Full Xinference guide →

Key differences

  • License: llama-swap: MIT (Permissive). Xinference: Apache-2.0 (Permissive).
  • Deploy: llama-swap: Docker (or a single binary) · single container. Xinference: Docker · single container.
  • GitHub stars: llama-swap: 6.3k. Xinference: 9.7k.
  • Latest release: llama-swap: v275 (Nov 20, 2026). Xinference: v4.2.0 (Nov 7, 2026).

Same for both: Category: Local model runtimes; Official hardware: not published; GPU: optional / see notes; Est. server cost: not estimated (no official RAM figure); Status: Active; Last commit: Nov 22, 2026.

llama-swap vs Xinference: FAQ

llama-swap or Xinference: which should a small business choose?

Choose Xinference if you want: larger community (9.7k vs 6.3k GitHub stars). llama-swap and Xinference publish no official RAM figure, so we cannot compare hosting cost directly.

Which is cheaper to self-host, llama-swap or Xinference?

llama-swap: not estimated (no official RAM figure). Xinference: not estimated (no official RAM figure). Our estimate is the cheapest Hetzner Cloud plan that meets each project's official RAM and vCPU figure; it covers the server only.

How much hardware do llama-swap and Xinference need?

llama-swap: not published. Xinference: not published.

What is the license difference between llama-swap and Xinference?

llama-swap: MIT (Permissive). Permissive. Internal and commercial use allowed; keep the copyright notice. Models and upstream servers keep their own licenses. Xinference: Apache-2.0 (Permissive). Permissive. Internal and commercial use allowed; keep the Apache-2.0 license and notices. Xinference Enterprise is a separate commercial edition. Models keep their own licenses. This is a summary, not legal advice.

Is llama-swap or Xinference more actively maintained?

llama-swap: Active, last commit Nov 22, 2026. Xinference: Active, last commit Nov 22, 2026. GitHub data refreshed Nov 23, 2026.

Which is easier to deploy, llama-swap or Xinference?

llama-swap installs via Docker (or a single binary) (single container); Xinference via Docker (single container). llama-swap lists 3 known gotchas and Xinference lists 4; see each app page.

Related

Sources

Every value is generated from the same verified data as the app pages. Spotted something wrong? Tell us.