LiteLLM review: pricing, features and fit (2026)
LiteLLM is the free way to put one OpenAI-compatible gateway in front of 140+ model providers, with virtual keys and per-team budgets included at $0. The catch is that you run it. Enterprise, which adds SSO, SCIM and audit logs, has no published price, and a 30-day trial license needs no sales call.
The short answer
Pick LiteLLM Open Source if a platform team wants to give every internal team its own capped keys across OpenAI, Anthropic, Bedrock, Azure and self-hosted models, on its own servers. Virtual keys, budgets for keys, users and teams, RPM and TPM limits and guardrails are all in the $0 version, checked against litellm.ai on 19 November 2026.
Skip it if nobody on your team will own a production service. The proxy needs Postgres, Redis once you run more than one instance, autoscaling and pinned, signed releases after the March 2026 PyPI incident. Portkey's hosted control plane, now sold by Palo Alto Networks, takes that work off you at a quoted price.
Where LiteLLM fits
LiteLLM fits the company where several teams call several model providers and each provider has its own SDK, error types and bill. The Python SDK gives one completion() call that returns OpenAI-style responses from any of 140+ providers, and the proxy wraps the same logic in an HTTP server on port 4000, so any language that can call the OpenAI API can use it.
The reason platform teams pick it is that governance is free. The open-source proxy issues virtual keys mapped to real provider credentials, and each of those keys, users or teams can carry a budget and RPM or TPM limits. Spend is tracked across providers and shown in an admin UI. Many gateways reserve that for paid plans.
The enterprise license matters only when compliance asks for it. It adds SSO and SCIM, OIDC and JWT auth, secret-manager integration with credential rotation, audit logs on every request, tag-based spend tracking and support SLAs. If none of those are requirements, you may never need it. If they are, the 30-day trial license turns them all on in your own deployment.
The real cost is infrastructure and staff time. LiteLLM's production guide calls Postgres the primary supported database, asks for Redis 7.0 or newer with more than one instance, and suggests starting load tests at 1 vCPU and 4Gi of memory per worker. An 8-worker deployment starts around 8 vCPU and 32Gi, which is a cloud bill LiteLLM doesn't send you.
LiteLLM is a router, not a model host. If the problem is cheap tokens on open models rather than governing access to several closed-model vendors, an inference host such as Novita or isoquant addresses it directly. The AI infrastructure and LLMOps category covers both layers.
LiteLLM pricing
LiteLLM lists two plans on its official site as of 19 November 2026: a free, self-hosted open-source version and a custom-priced Enterprise license.
Open Source
$0
Free forever, self-hosted. 140+ providers, virtual keys, budgets and teams, load balancing with RPM/TPM limits, guardrails, logging to Langfuse, Arize Phoenix, LangSmith and OpenTelemetry
Enterprise
Custom
Request pricing from sales. SSO and SCIM, JWT auth, audit logs, secret managers, tag-based spend, air-gapped option, support SLAs. 30-day trial license, no sales call
LiteLLM doesn't publish what sets the enterprise price, so these are the cost lines you control, plus the question to put to sales:
- Compute for the proxy. The production guide suggests 1 vCPU and 4Gi per worker as a load-test starting point, one Uvicorn worker per Kubernetes pod, plus a dedicated background-job pod.
- Database and cache. Postgres holds keys and spend logs with a sized connection pool, and Redis 7.0+ is required once you run more than one instance. Three instances with 4 workers and 10 connections each already reach 120 database connections.
- Whether you need the enterprise feature set. SSO, SCIM, audit logs and tag-based spend tracking are licensed; budgets and virtual keys are not.
- The unit the enterprise quote scales on. LiteLLM doesn't say whether it is users, teams or request volume, so ask before you sign an annual contract.
LiteLLM pricing against the alternatives
LiteLLM is the cheapest path to governed multi-provider access if you can run it. Portkey offers an MIT gateway plus a managed plan of 10,000 requests a month, and its paid plans are now quoted by Palo Alto Networks. Model hosts price per token instead: isoquant's public endpoints start at $0.035 per million input tokens on the models it lists, and Novita bills per million input and output tokens. Neither replaces a gateway when you use several closed-model vendors.
LiteLLM terms worth knowing
The license split and the production defaults are the parts that don't show on the plan cards.
- Open Source
- $0, free forever, self-hosted.
- Enterprise
- Custom price, on request from sales.
- Enterprise trial
- 30-day license emailed without a sales call, self-hosted.
- Licensing
- Core described as MIT; enterprise features fall under a separate LiteLLM Commercial License.
- Support SLA
- 1 hour Sev 0, 6 hours Sev 1, 24 hours setup issues, 72 hours security patches.
- Certifications
- SOC 2 Type 2 and ISO 27001 cited on the enterprise page.
- Hosted version
- None listed on the pricing page; the March 2026 advisory mentions LiteLLM Cloud users.
- Default timeout
- 6,000 seconds; the production guide sets 600.
Before you assume the whole repository is free to run, check which features your deployment uses, because the README puts enterprise code paths under a commercial license. The enterprise trial is the cleanest way to find out what you would be paying for.
What LiteLLM gives up
You give up a vendor running it for you. Postgres, Redis, connection-pool sizing, autoscaling, upgrades and on-call all land on your team. The production guide lists more than a dozen settings to change before live traffic, including the 6,000-second default timeout and verbose logging that is on unless you disable it.
You take on supply-chain risk from PyPI. On 24 March 2026, releases 1.82.7 and 1.82.8 shipped with a credential-stealing payload for about 40 minutes before quarantine. LiteLLM brought in Google's Mandiant, rebuilt its pipeline and signs Docker images with cosign from v1.83.0-nightly, but pip users should pin versions and prefer the signed images.
SSO and audit logs cost money you can't budget for in advance. SSO, SCIM, JWT auth, per-request audit logs and tag-based spend tracking are enterprise features with no published price, so a finance team that wants chargeback by cost center needs a sales call.
Performance claims are LiteLLM's own. The repository cites 8ms P95 latency at 1,000 requests per second from its own benchmarks. Writing spend logs to Postgres on every call adds load that benchmark may not include, so reproduce it with your request sizes.
Two settings can lock you out. The master credential must start with sk-, and the salt that encrypts stored provider credentials must never change once models are added, or those credentials become unreadable. Put both in a secret manager on day one.
How LiteLLM compares
LiteLLM's real competitor is Portkey, and the other three tools replace the routing problem with hosted inference. The axis is who runs the control plane and whether you route to other vendors' models at all. Prices come from each product's Revoyant listing, checked 19 November 2026.
| Tool | Best for | Price | Where it breaks |
|---|---|---|---|
| Free self-hosted gateway with keys and budgets per team | $0 open source; enterprise on request | You operate Postgres, Redis and upgrades | |
| Hosted governance, guardrails and a VPC data plane | Free MIT gateway; managed plans on request | No published price since Palo Alto Networks bought it | |
| Novita | 200+ hosted models on one bill | Per million tokens | No routing or spend governance across vendors |
| Fast, cheap inference on open models | From $0.035 per 1M input tokens on listed endpoints | Serves models; doesn't route between providers | |
| Operated single-tenant clusters for open models | On request | Not a gateway for closed-model APIs |
What to test on LiteLLM before production
Both the open-source proxy and the 30-day enterprise trial run on your own servers, so the test costs only compute. Use it to answer whether your team can operate the thing.
- Run the proxy from the signed Docker image with a config listing your models, point an OpenAI client at port 4000 and confirm requests flow with only the base URL and credential changed.
- Check every provider and model you depend on against LiteLLM's provider list, including any self-hosted vLLM or Nvidia NIM endpoints.
- Issue capped virtual keys, one per team, push one past its budget and confirm the limit holds and the spend shows in the admin UI.
- Load-test at 1 vCPU and 4Gi per worker with spend logging on, and watch Postgres connections. That tells you the real infrastructure bill.
- Work through the production guide: set request_timeout to 600, batch spend writes every 60 seconds and turn off verbose logging.
- If you need SSO, SCIM or audit logs, start the 30-day enterprise trial early and ask for a quote in parallel, including what the price scales on.
- Send the same traffic through Portkey's hosted control plane or its open-source gateway and compare setup effort, logging and governance.
LiteLLM questions buyers ask
How much does LiteLLM cost?
The open-source SDK and proxy are free to self-host, including virtual keys, budgets, teams, load balancing and guardrails. The Enterprise plan, which adds SSO, SCIM, audit logs and support SLAs, has custom pricing that you request from sales. You also pay for your own infrastructure and for the model providers you call.
Is there a LiteLLM free trial for Enterprise?
Yes. LiteLLM emails a 30-day trial license with every enterprise feature, for use on your own deployment, without a sales call. That gives you time to test SSO, audit logs and access controls before negotiating a contract.
LiteLLM vs Portkey: which should I use?
Both route OpenAI-format requests to many providers with fallbacks and spend tracking. LiteLLM puts budgets and virtual keys in a free, self-hosted proxy, while Portkey offers a hosted control plane, prompt management and Palo Alto Networks security integrations at a quoted price. Pick LiteLLM if you can run it, Portkey if you'd rather not.
Was LiteLLM affected by a supply-chain attack?
Yes. On 24 March 2026, PyPI versions 1.82.7 and 1.82.8 contained a credential stealer for about 40 minutes before quarantine. The official Docker images and LiteLLM Cloud were not affected, and LiteLLM shipped v1.83.0 through a rebuilt pipeline. Affected users should rotate credentials and check for litellm_init.pth.
What do I need to run LiteLLM in production?
Postgres is the primary supported database, and Redis 7.0+ is needed once you run more than one proxy instance. The docs suggest starting at 1 vCPU and 4Gi of memory per worker and scaling by pods on Kubernetes. Helm charts and Terraform modules for AWS and GCP are available.
Which providers does LiteLLM support?
LiteLLM's site lists 140+ providers and about 1,800 models, including OpenAI, Anthropic, Bedrock, Azure, Vertex AI, vLLM and Nvidia NIM. The SDK and proxy return responses in OpenAI format, so switching providers is mostly a config change.
Is LiteLLM open source?
The core project is open source and free, and LiteLLM's site describes it as MIT-licensed. The repository notes that enterprise features are covered by a separate LiteLLM Commercial License. Check which features your deployment uses before assuming the whole codebase is free to run.
Does LiteLLM have a hosted version?
LiteLLM's pricing page lists only the self-hosted open-source and enterprise options, with no published cloud plan. Its March 2026 security update does refer to LiteLLM Cloud users, so ask sales whether a hosted deployment is available for your account.
