Open-source LLM gateway you host yourself
INFRO vs LiteLLM
LiteLLM is one of the most widely used open-source LLM gateways: a Python SDK and a self-hosted, OpenAI-compatible proxy that reaches more than 100 providers, with virtual keys, budgets by key, user, team and end user, load balancing and fallbacks, spend tracking, caching, guardrail integrations and logging callbacks. The core is MIT-licensed; organizations, audit logs and some admin controls sit under a commercial enterprise license. If you want to run the gateway yourself, it is the default choice and it has earned that.
Last checked
- You want to run the gateway in your own infrastructure on your own terms, with no vendor agreement. LiteLLM is built to be self-hosted by anyone; INFRO's self-hosted and hybrid deployments come only with an enterprise agreement.
- You want open-source code you can read, patch and fork, with no subscription for the core.
- You need a provider INFRO does not connect. Their catalog of more than 100 providers is far wider than our list of provider kinds.
- Semantic caching, or a specific guardrail vendor (Presidio, Lakera, Bedrock Guardrails and others) is part of the requirement. INFRO's guardrails are pattern-based checks for PII, secrets and your own terms on chat completions, plus prompt-only classifier checks on your own decision-model connection, on every plan.
- You call models from Python and want the routing in-process, as a library, with no gateway hop at all.
This section is not a courtesy. If one of these describes you, pick LiteLLM — a customer who adopts the wrong layer on our advice is worse for us than one we never had.
Where the two actually diverge.
- Software you run, or a service you use
- The LiteLLM proxy is yours to operate. Virtual keys and spend tracking need a Postgres database; past one instance, shared limits and router state need Redis, or each instance enforces its limits on its own. Upgrades, scaling, backups and on-call are part of adopting it — which suits a platform team that already runs this kind of service, and is real work for one that does not. INFRO's plans are hosted: there is nothing to deploy. The trade is the mirror image: your requests pass through our service rather than yours. An enterprise agreement can put INFRO in your own infrastructure instead; without one, that is exactly the case in which LiteLLM is the better choice.
- Where the organization controls live
- In LiteLLM, organizations and their admin roles, audit logs, and single sign-on past five users are enterprise-license features. In INFRO, projects, environments, five roles, model allowlists at organization, project and key level, budgets, and an audit log of who changed which policy are on every plan including the entry one. SAML/OIDC SSO and SCIM come with the Business plan; they are new and have not yet run in production against a customer's identity provider, so we set up the first connection with you.
- Estimated cost, and then the provider's own number
- Both products estimate each request's cost from a price table and both accept your own rates. LiteLLM documents a check of its spend against OpenAI's Costs API as coming in an upcoming release. On every plan, INFRO checks the month's estimate against OpenAI's and Anthropic's own cost APIs and states the variance rather than assuming there is none.
- Not either-or
- A LiteLLM proxy you already run speaks the OpenAI API, so it can be connected to INFRO as an OpenAI-compatible endpoint: keep it for the providers only it reaches, and put INFRO's budgets, attribution and audit trail in front of the whole estate.
What the gateway costs at $2K, $20K and $60K a month.
LiteLLM charges nothing for its MIT-licensed gateway; what it costs you is the servers, the Postgres database and the people who keep it running, which no table can price for you. INFRO is a flat plan by request volume.
| Monthly model spend | $2,000 | $20,000 | $60,000 |
|---|---|---|---|
| LiteLLM, self-hostedNo license fee; your servers, Postgres and on-call are extra and not counted here | $0license only | $0license only | $0license only |
| INFROFlat plan by request volume, 0% markup | $35Developer, 100K requests | $199Team, 1M requests | $599Business, 3M requests |
The gateway's own charge only. Model spend is the same in every row and is not included. INFRO's plan follows requests, not spend, so the INFRO row assumes an average of $0.02 of model spend per request (100K, 1M, 3M requests). That is an illustration, not a measured average. Monthly billing; annual plans cost less per month. Put in your own numbers with the gateway cost calculator.
Where LiteLLM costs less: LiteLLM, self-hosted at $2,000 a month ($0 against INFRO Developer at $35); LiteLLM, self-hosted at $20,000 a month ($0 against INFRO Team at $199); LiteLLM, self-hosted at $60,000 a month ($0 against INFRO Business at $599).
What moving from LiteLLM takes.
- 01Clients keep the OpenAI SDK: change the base URL from your LiteLLM proxy to
https://api.infro.io/v1and use an INFRO gateway key. - 02Each provider in your LiteLLM
model_listbecomes a connected provider account in INFRO; model aliases becomevendor/modelids or named routes. - 03Virtual keys become gateway keys with their own spend limits, allowed providers and models; teams map to projects, user budgets to end-customer caps (every plan).
- 04Router settings (fallbacks, retries, load balancing) become a route's targets and failure rules.
- 05Anything built on LiteLLM's Python SDK in-process stays as it is, or calls INFRO like any OpenAI-compatible endpoint. You can also keep the proxy and connect it to INFRO as an OpenAI-compatible provider.
Side by side.
Our column carries dashes too. A comparison where one side is all checks is one nobody believes, and rightly.
| Capability | LiteLLM | INFRO |
|---|---|---|
| One API across many providers | yes100+ providers | yesthe providers you connect |
| Routing, retries and failover | yes | yes |
| Your own provider accounts | yesyou run it with your keys | yesconnected per environment |
| Self-hosting and open source | yesMIT core | partialself-hosted by agreement; gateway not open source |
| Nothing to deploy or operate | noPostgres; Redis past one instance | yeshosted service |
| Budgets by key, user, team and end user | yes | yes |
| Cost per request at your own rates | yescustom pricing | yesnegotiated rates on every plan |
| Reconciliation against the provider's own bill | partialOpenAI only, announced for an upcoming release | partialOpenAI and Anthropic, every plan; variance stated |
| Guardrails and PII masking | yesmany integrations | partialchat patterns plus prompt classifiers; every plan |
| Prompt management | yes | partialversions and labels, filled by the gateway on chat, Messages and Responses requests |
| Org roles and audit log | partialenterprise license | yesevery plan |
| Image, video, and audio | yes | yes |
| Available today | yes | yesself-serve sign-up |
Our reading of each product's public documentation as of October 2026. We do not quote competitors' prices — theirs change and a wrong number about someone else's business is worse than none. Think a row is wrong? Tell us and we will fix it.
Migration included
We do the migration with you.
Send us your current setup with the secrets removed. Within two working days we send back the INFRO version of it, with connections, routes, budgets, keys and the code diff, and we move your first service with you on a call. Included with every plan and trial, at no extra charge. Your provider keys never pass through us.
- 1You send your current setupYour gateway or proxy config, the headers and tags you send, and the model ids you call, with every key and secret removed.
- 2We send back the INFRO versionWithin two working days: the connections to create, routes and failure rules, budgets, gateway keys and allowlists, how your tags map to metadata, and the code diff for one service.
- 3We move your first service togetherOn a call. You create the provider connections and keys yourself while we walk through it; your keys never pass through us.
- 4We compare a week of trafficYour old request counts and estimated cost per day against INFRO's request log for that service, and we name any gap.
Work out what the difference is worth
Estimate what your current model mix costs at your providers' list rates and the plan it needs, or have us read your real usage and tell you where we would and would not help.
Already on LiteLLM? Read the migration guide from LiteLLM: the code that changes, what carries over, and what does not.
Weighing more than two options? Compare every LiteLLM alternative, with when each one is the better choice.
Sources
Every figure about LiteLLM on this page is from its own pages, opened on the date shown.
- 1.litellm.ai (opens in a new tab) — checked Oct 24, 2026. The LiteLLM gateway is MIT licensed and free to self-host. LiteLLM describes itself as open source and self-hosted, deployed into your own cloud; no LiteLLM-run hosted service was listed on its site or docs.
- 2.docs.litellm.ai/docs/simple_proxy (opens in a new tab) — checked Oct 24, 2026. The LiteLLM gateway is a self-hosted server started with Docker, Helm or Terraform, backed by a Postgres database you run. LiteLLM records the cost of each request and shows spend per key, team, user and tag; each key carries a team, a budget and a model list.
- 3.docs.litellm.ai/docs/enterprise (opens in a new tab) — checked Oct 24, 2026. LiteLLM's SSO is free for up to 5 users; more needs an Enterprise license. LiteLLM Enterprise is a license key on the same image, priced by deployment size and usage; no price is published.
- 4.docs.litellm.ai/blog/security-update-march-2026 (opens in a new tab) — checked Oct 24, 2026. On 24 March 2026, litellm 1.82.7 and 1.82.8 on PyPI carried credential-stealing code for about 40 minutes; LiteLLM says the official Proxy Docker image was not affected and 1.83.0 is clean.