Infinity

High-throughput REST server for embeddings, reranking and classification models.

Active Local model runtimes Infinity Restricted MIT License 1.0 (v3); MIT (Python packages)

Quick answer

Infinity is a high-throughput REST server for embeddings, reranking and classification models, listed under Local model runtimes. A typical small-business use: self-hosted embedding endpoint for a RAG stack instead of a paid embeddings API. It needs a GPU server; we do not estimate that cost because GPU prices vary too much by card and provider. License: Infinity Restricted MIT License 1.0 (v3); MIT (Python packages), which allows internal business use.

Last updated · facts verified against official docs on · sources

GitHub stars3.0k
Forks223
Latest releasev3.0.0
Last commitNov 12, 2026
Est. server costGPU server

Activity data comes from GitHub and was last refreshed Nov 23, 2026.

What is Infinity?

Infinity serves embedding, reranking, classification and token-classification models through a REST API with an OpenAI-compatible /v1/embeddings endpoint. Version 3 is a native Rust server using LibTorch; the earlier Python server (infinity-emb, v2) is still documented separately. It loads Hugging Face checkpoints or local model folders, supports dense, multimodal, late-interaction and SPLADE sparse embeddings, and runs a full model replica on each visible GPU.

Where it fits in a 10–200 person business

  • Self-hosted embedding endpoint for a RAG stack instead of a paid embeddings API
  • Rerank search results from an internal knowledge base
  • Run text classification or entity extraction models behind one API

These use cases are our editorial suggestions, not claims made by the project.

Can a business use Infinity? (license)

LicenseInfinity Restricted MIT License 1.0 (v3); MIT (Python packages)
TypeCustom / conditional: Apache- or BSD-based with extra conditions (branding, multi-tenant SaaS, derivatives).
Internal business useAllowed under the license text
What to watchCustom source-available license based on MIT for the v3 server: use, modification, resale and private changes are allowed with no revenue threshold, but any use on the 25 cloud providers listed in its Appendix A (for example Modal) is prohibited for every purpose. Your own hardware and unlisted clouds such as AWS, Azure or GCP are allowed. The Python v2 packages stay MIT; model weights have their own licenses.

This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.

Data & compliance: does Infinity phone home?

Telemetry (usage data sent to the vendor) Not documented
Other calls home by default (updates, marketplaces, default cloud services) Not documented
Single sign-on (OIDC / SAML / LDAP) Not documented

The only documented access control is an optional bearer API key.

Source: github.com/michaelfeil/infinity/blob/main/libs/infinity-v3/README.md

Audit log Not documented
Role-based access control (RBAC) Not documented
Data residency / GDPR notes from the project Not documented

Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.

What hardware does Infinity need?

The project does not publish a minimum CPU/RAM figure, so we leave the official value blank rather than guess.

GPU: The official v3 Docker image needs an NVIDIA GPU with compute capability SM80 (Ampere) or newer and the NVIDIA Container Toolkit; Turing (SM75) is unsupported. Hosts without a supported GPU need a CPU build.

No RAM or disk figure is published. Each GPU must fit the full model, including all experts for MoE checkpoints.

Source: github.com/michaelfeil/infinity#run-with-docker

How much does it cost to host Infinity per month?

Needs a GPU server for practical use. Not estimated, because GPU prices vary too much by card and provider.

How to deploy Infinity

Method: Docker (NVIDIA GPU)

docker run --rm --gpus all -p 8000:8000 -v infinity-cache:/data \
  ghcr.io/michaelfeil/infinity_v3:nvidia-3.0.0 \
  --model-id sentence-transformers/all-MiniLM-L6-v2 \
  --torch-device cuda --dtype bfloat16 \
  --hostname 0.0.0.0 --port 8000

From the official instructions: github.com/michaelfeil/infinity#run-with-docker. Always check the source for the current version before you run it.

Known gotchas when self-hosting Infinity

  • The v3 license bans use on 25 listed providers (including private endpoints and rented GPUs on Modal) for every purpose, including testing. Check the list before deploying on a GPU cloud. source
  • CUDA inference needs SM80 (Ampere) or newer, so T4-class (Turing) GPUs are unsupported; use a CPU build on such hosts. source
  • The server binds to 0.0.0.0 by default and the API key is optional (--api-key or INFINITY_API_KEY). Set a key or firewall the port before exposing it. source
  • v3 is a rewrite: the infinity-emb Python package and the infinity_emb v2 command belong to the older server, so v2 guides and flags do not apply to v3. source

Alternatives in Local model runtimes

Infinity FAQ

How much RAM does Infinity need?

Infinity does not publish an official RAM figure, so we do not state one. No RAM or disk figure is published. Each GPU must fit the full model, including all experts for MoE checkpoints.

Does Infinity need a GPU?

For practical use, yes. The official v3 Docker image needs an NVIDIA GPU with compute capability SM80 (Ampere) or newer and the NVIDIA Container Toolkit; Turing (SM75) is unsupported. Hosts without a supported GPU need a CPU build.

How much does it cost to self-host Infinity?

The software is free to download. It needs a GPU server; we do not estimate that cost because GPU prices vary too much by card and provider.

Is Infinity free for commercial use?

Infinity is licensed under Infinity Restricted MIT License 1.0 (v3); MIT (Python packages) (Custom / conditional). Internal business use is allowed under the license text. Custom source-available license based on MIT for the v3 server: use, modification, resale and private changes are allowed with no revenue threshold, but any use on the 25 cloud providers listed in its Appendix A (for example Modal) is prohibited for every purpose. Your own hardware and unlisted clouds such as AWS, Azure or GCP are allowed. The Python v2 packages stay MIT; model weights have their own licenses. This is a summary, not legal advice.

What are common problems when self-hosting Infinity?

The v3 license bans use on 25 listed providers (including private endpoints and rented GPUs on Modal) for every purpose, including testing. Check the list before deploying on a GPU cloud. CUDA inference needs SM80 (Ampere) or newer, so T4-class (Turing) GPUs are unsupported; use a CPU build on such hosts. The server binds to 0.0.0.0 by default and the API key is optional (--api-key or INFINITY_API_KEY). Set a key or firewall the port before exposing it. v3 is a rewrite: the infinity-emb Python package and the infinity_emb v2 command belong to the older server, so v2 guides and flags do not apply to v3.

Is Infinity still maintained?

Yes, it is actively developed. Last commit: Nov 12, 2026. Latest release: v3.0.0. Checked Nov 23, 2026.

How do I install Infinity?

The official method is Docker (NVIDIA GPU). The exact commands are in the "How to deploy" section above and in the official instructions: https://github.com/michaelfeil/infinity#run-with-docker

What are self-hosted alternatives to Infinity?

Other apps in Local model runtimes: Ollama, llama.cpp, vLLM, LocalAI, TextGen (text-generation-webui), SGLang, llamafile, KTransformers, TensorRT LLM, Xinference, llama-swap, Lemonade, GPUStack, Text Embeddings Inference, Harbor (local LLM stack), RamaLama.

Sources

Facts on this page were checked against the project's own repository and docs on 2026-11-12. Spotted something out of date? Tell us.