LiteLLM alternatives for teams who would rather not run a gateway for their site chat
LiteLLM alternatives split into three groups in 2026: Bifrost for throughput, Agent Router or Kong for control, and Portkey, Cloudflare, Vercel or OpenRouter for no upkeep. A team running LiteLLM only for its public site chat can drop the gateway for that job.
Published on
LiteLLM alternatives split into three groups in 2026: Bifrost for raw throughput, Agent Router or Kong for control on your own clusters, and Portkey, Cloudflare, Vercel or OpenRouter for teams that want no upkeep. Each one still routes tokens your site pays for. LiteLLM itself shipped two compromised releases this year, on 24 March and 21 October 2026, and a team that runs it costs at least 1 vCPU and 4 GiB of memory per worker plus Postgres and Redis. If your team kept LiteLLM mainly to serve the public chat on your website, there is a fourth option this page adds: drop the gateway for that job and let each visitor's own AI account answer. Below, we sort LiteLLM alternatives by the reason you are leaving, with the figures each vendor publishes and the date we read them.
Key takeaways:
- LiteLLM versions 1.82.7 and 1.82.8 carried a credential stealer on PyPI on 24 March 2026, live for about 40 minutes from 10:39 UTC; the clean v1.83.0 shipped on 31 March 2026.
- On 21 October 2026 a malicious v1.107.0 reached PyPI from 11:39 to 13:23 UTC and Docker tags from 11:46 to 14:20 UTC.
- In a vendor benchmark on a list updated 30 November 2026, one LiteLLM worker served 268 requests per second against 18,182 for Bifrost.
- Portkey Pro costs $49 a month for 100,000 requests; Kong charges $100 a month per proxied model on Konnect Plus (prices read 30 November 2026).
- A public site chat on AI Connect sends each request to the visitor's own AI account, with no gateway and no provider key on your server.
Why teams look for LiteLLM alternatives
LiteLLM is the open source Python proxy that exposes many model providers behind one OpenAI-compatible API, with virtual keys, budgets and spend logs. The lists of LiteLLM alternatives updated between 7 October and 30 November 2026 give four reasons for leaving it.
- Throughput. LiteLLM's own load test of stock v1.101.0 settled near 190 requests per second with 92.07% client success on prompts of 50,000 to 100,000 tokens.
- Upgrade cadence. A new minor version ships about every week, and since 29 June 2026 only the four newest stable minor lines receive fixes.
- Paid enterprise features. SSO is free for up to 5 users; SCIM, audit logs, key rotation and multi-region deployment need an enterprise licence priced on annual request capacity.
- Supply chain. LiteLLM shipped compromised releases on 24 March and 21 October 2026, and the gateway holds every provider key you route through it.
A fifth reason rarely makes the lists: upkeep. The LiteLLM production guide asks for 1 vCPU and 4 GiB of memory per worker as a load test starting point, so eight workers start at 8 vCPU and 32 GiB. Postgres is the supported database for virtual keys and spend logs. Redis 7.0 or newer is required as soon as you run a second proxy instance. The proxy runs prisma migrate deploy on startup, and the guide tells you to pin a version and verify the image signature before each deploy. The lists of LiteLLM alternatives sort by the first four reasons; this page adds the upkeep of a gateway that exists only for the site chat.
LiteLLM's 2026 supply chain incidents, as LiteLLM reported them
The first incident hit PyPI on 24 March 2026. Versions 1.82.7 and 1.82.8 carried a credential stealer in proxy_server.py; 1.82.8 also dropped a litellm_init.pth file. The payload collected environment variables, SSH keys, AWS, GCP and Azure credentials, Kubernetes tokens and database passwords, then sent them to models.litellm.cloud, a domain LiteLLM does not own. The packages stayed live for about 40 minutes from 10:39 UTC before PyPI quarantined them. Teams on the official LiteLLM Proxy Docker image were unaffected, because that image pins its dependencies. LiteLLM paused releases for one week, completed a forensic review with Mandiant and Veria Labs, rebuilt its release pipeline with isolated environments and ephemeral credentials, and shipped v1.83.0 on 31 March 2026 as the first release of the new pipeline.
The second incident came on 21 October 2026. An attacker held GitHub CLI OAuth tokens belonging to three LiteLLM engineers, one of them an organisation owner. With that token the attacker disabled branch protection and pointed the release workflow at a lookalike repository, Berri-AI/litellm. The resulting v1.107.0 was live on PyPI from 11:39 to 13:23 UTC; the Docker tags v1.107.0, latest, main-latest and main-stable were compromised from 11:46 to 14:20 UTC. Customers on the private enterprise build were not affected. LiteLLM told users to pin 1.106.2, and on 24 October 2026 shipped v1.103.8, v1.104.6, v1.105.4 and v1.106.3 signed with a new cosign key.
The 30 October 2026 follow-up names the limit plainly: "no pipeline controls can defend against an attacker who is an organization owner, because the owner owns the pipeline." The changes listed include no human day-to-day owner account, phishing-resistant authentication, secret scanning on every repository and release verification after shipping. Anyone who installed 1.107.0 has to treat the host as compromised and rotate every credential it could reach.
Throughput: Bifrost and the Rust core
Among LiteLLM alternatives built for throughput, Bifrost is a gateway written in Go by Maxim AI, released under Apache 2.0, free to self-host, with a custom Enterprise tier and a 14-day trial. Maxim reports about 11 microseconds of added overhead at 5,000 requests per second. A benchmark Respan runs on its list of alternatives, updated 30 November 2026, measured Bifrost at 18,182 requests per second with a 0.16 ms median added latency and 488 MB of memory. The same test measured one LiteLLM worker at 268 requests per second, 4.34 ms and 418 MB, and Portkey's gateway at 4,187 requests per second, 0.17 ms and 350 MB. Both figures come from vendors that sell a competing product. An older Bifrost test from June 2025 reported a P99 of 1.68 seconds against 90.72 seconds for LiteLLM at 500 requests per second on a 2 vCPU t3.medium, without naming the LiteLLM version.
LiteLLM has answered with a Rust core. As of v1.104.0-rc.1 it covered 5% of the major APIs, with a stated target of 100% by 31 December 2026. A high-throughput profile in nightly builds reached 3,000 requests per second. If throughput is your only reason for leaving, test the nightly profile against Bifrost on your own prompts before you migrate.
Control: Agent Router, Kong and WSO2 on your own clusters
Teams that leave for control want the gateway inside their Kubernetes cluster, under their own network policy. The self-hosted LiteLLM alternatives cover that case. Agent Router, formerly Envoy AI Gateway, is Apache 2.0, supports 17 providers and costs nothing to run; Tetrate sells a hosted version without public pricing. Kong AI Gateway suits organisations that already route their APIs through Kong. Konnect Plus starts at $25 a month plus usage, with 1 million AI requests included, $200 per additional million and $100 a month per proxied model, capped at 5 models. Five models therefore add $500 a month. WSO2 AI Gateway ships an Apache 2.0 edition; its Growth tier starts at $119 a month. MLflow AI Gateway is free and open source, so you pay for infrastructure and provider tokens. TrueFoundry runs in your own cloud on its Enterprise tier; Pro starts at $25 per user per month.
These self-hosted LiteLLM alternatives keep the upkeep you have today. You still run the database, the cache, the upgrades and the on-call shift. You trade a Python codebase for Go or Envoy.
Upkeep: managed gateways and hosted routers
The managed LiteLLM alternatives remove the servers and keep a bill. Portkey offers a free Dev tier with 10,000 logs a month and 3 days of retention; Pro costs $49 a month for 100,000 requests plus $9 per additional 100,000, up to 3 million. Cloudflare AI Gateway gives its core features for free and adds 5% to each Unified Billing credit purchase, so $100 of credit costs $105. Vercel AI Gateway charges provider list price with no token markup; zero data retention costs $0.10 per 1,000 requests and regional hosting adds 5% of inference cost. OpenRouter lists more than 500 models from more than 80 providers, takes a 5.5% fee on Standard and 8% on Business, and lets you bring your own keys free for the first $25,000 a month of inference, then 5%. Helicone pairs observability with a gateway; Pro costs $79 a month and Team $799, but the product has been in maintenance mode since Mintlify acquired it in March 2026.
These LiteLLM alternatives answer the upkeep reason. They leave the inference bill where it was: every token your public chat spends is billed to your provider account or your router credit.
The table: LiteLLM alternatives by reason for leaving
| Reason for leaving | Alternative | Where it runs | What it still bills the site |
|---|---|---|---|
| Throughput | Bifrost | Your servers, Apache 2.0 | Provider tokens plus hosting |
| Control | Agent Router, Kong, WSO2, MLflow | Your Kubernetes cluster | Provider tokens, hosting, Kong $100 a month per model |
| Upkeep | Portkey, Cloudflare, Vercel | Vendor cloud | Provider tokens plus $49 a month (Portkey Pro) or 5% on credits (Cloudflare) |
| Upkeep | OpenRouter | Vendor cloud | Provider tokens plus a 5.5% fee |
| Public site chat only | AI Connect | The visitor's browser and AI account | No tokens for the chat; you host your own MCP server |
Prices for these LiteLLM alternatives were read on 30 November 2026. For the wider field, see the OpenRouter alternatives page and the ranking of LLM gateways for a website.
Your public site chat without a gateway
Every one of the LiteLLM alternatives above replaces the gateway. A public chat is the one workload where you can remove it. Most sites call a model from a server route because a provider API key cannot reach the browser; LiteLLM then sits behind that route to hold the keys, enforce budgets and log spend. With AI Connect, the visitor connects their own ChatGPT, Claude or Gemini account, or their OpenRouter account, and the request goes from the page to that account. You keep the SDK code you already wrote. The AiConnect client exposes a fetch that the OpenAI, Anthropic, Google Gen AI and Vercel AI SDKs accept as an option, plus a placeholder key, aiwallet, which the wallet does not read. new OpenAI(aiconnect.sdkOptions) replaces your constructor, and streamText and generateText in the Vercel AI SDK work unchanged. The call moves into the page and the server route goes away. Data work, such as a catalogue search, stays on your server as MCP tools. The visitor picks the model, so the model you name is ignored.
Four constraints apply. aiconnect.fetch works only in the browser. A visitor who has not connected gets a 401, so the connect entry point comes first. Files, documents and audio are not supported; images are. previous_response_id is not supported either. Visitors without an AI account subscribe to the TensorPass plan at US$5, US$20 or US$50 a month, paid by the visitor.
Keeping a gateway for internal traffic
Internal traffic still needs a gateway. Batch jobs, retrieval pipelines, agent loops and staff tools spend tokens on your account, and that is where virtual keys, budgets and spend logs earn their place. Removing the public chat shrinks the load that gateway carries, and you size it for internal traffic alone. Pick among the LiteLLM alternatives above by your reason for leaving. If you stay on LiteLLM, pin the version, verify the cosign signature and stay on one of the four supported minor lines. The hub of every alternative page sorts the other options by who pays for each answer.
FAQ: LiteLLM alternatives
Which LiteLLM alternatives are open source?
Among LiteLLM alternatives, Bifrost, Agent Router (formerly Envoy AI Gateway), WSO2 AI Gateway and Helicone are released under Apache 2.0, and MLflow AI Gateway is open source as well. Kong publishes an open source edition beside its paid Konnect plans. Portkey keeps a free self-hosted gateway, while its managed tiers start at $49 a month. Read the licence of the exact edition you deploy, because enterprise features sit in paid tiers on most of them.
Is LiteLLM safe to use after the 2026 incidents?
After the March incident LiteLLM told users to pin 1.82.6 or earlier, then released the clean 1.83.0. After 21 October 2026 the advised pin was 1.106.2. Releases from 24 October 2026 carry a new cosign signature, and later builds use keyless cosign. Any host that installed 1.82.7, 1.82.8 or 1.107.0 has to be treated as compromised, with every reachable credential rotated.
Which LiteLLM alternative is fastest?
Bifrost posts the highest published figures: about 11 microseconds of added overhead at 5,000 requests per second, from its maker, and 18,182 requests per second in a Respan benchmark on a page updated 30 November 2026. The same benchmark gave one LiteLLM worker 268 requests per second. Both numbers come from vendors with a competing product, so run your own load test on your prompts.
Can I remove LiteLLM entirely?
You can remove it from the public chat path when each visitor answers with their own AI account through AI Connect. You still need a gateway, or direct provider calls, for traffic billed to your own account: batch jobs, retrieval, agents and internal tools. Keeping a single small gateway for that internal load costs less upkeep than a cluster sized for public visitors.
How TensorPass helps you retire the chat gateway
We replace the gateway in the public chat path and leave your internal stack alone. The SDK, AI Wallet and the site key are free.
AI Connect SDK. Open source under Apache 2.0, with its four packages on npm under the @tensorpass scope since 16 November 2026 and npm provenance from the release workflow of the GitHub repository. Version 0.1.12 shipped on 2 December 2026.
AI Wallet and the TensorPass app. AI Wallet runs in desktop Chrome, Edge, Brave and Opera from the Chrome Web Store, and in desktop Firefox from Firefox Add-ons. The TensorPass app for iPhone and iPad is free on the App Store since 2 December 2026.
The TensorPass plan and revenue share. Visitors without an AI account pay US$5, US$20 or US$50 a month. Your site earns 5% of each plan payment made from its AI window, for 12 months, with a 60-day hold, paid in USDC once US$50 is available.
If you want it done for you, we make a site AI native in under 24 hours, priced on quote. To start yourself, follow the guide to switching your existing SDK to the visitor's AI.
Moving your site chat off LiteLLM: the order of work
Split the migration so the public chat leaves first and the internal gateway stays up.
- Measure. Read your LiteLLM spend logs and record what share of tokens the public chat consumed over the last 30 days.
- Install. Add AI Connect from npm and create a site key.
- Swap the constructor. Pass
aiconnect.sdkOptionsto the SDK you already use and setmaxRetries: 0. - Move the call. Run the chat in the page and delete the server route that held the provider key.
- Expose your data. Serve catalogue search and other server work as MCP tools.
- Resize the gateway. Shrink LiteLLM, or the alternative you picked, to the internal load that remains.
- Rotate. Retire the provider keys the public chat used.
Among the LiteLLM alternatives you compare for internal traffic, choose by your reason for leaving; for the public chat, the visitor's own AI account answers and the gateway leaves that path.
Also worth reading:
- OpenRouter alternatives where visitors pay with their own AI plan
- Every alternative page, sorted by who pays for each answer
- Multi-provider AI for a website: the best LLM gateways ranked
- Switching an existing SDK to the visitor's own AI
Sources:
- LiteLLM Alternatives: 11 AI Gateways Compared : Coworker, 7 October 2026, revised 23 October 2026
- 8 Best LiteLLM Alternatives (Post-Breach) : Respan, 11 August 2026, updated 30 November 2026
- Top 7 LiteLLM Alternatives: Features and Comparison : TrueFoundry, updated 30 November 2026
- Security Update: Suspected Supply Chain Incident : LiteLLM, 24 March 2026, updated 30 March 2026
- LiteLLM v1.83.0, Official Release (Post Supply Chain Incident) : LiteLLM release notes, 31 March 2026
- Contained: Oct 21, 2026 LiteLLM release v1.107.0 Compromised : LiteLLM, 21 October 2026
- What we are changing after October 21 : LiteLLM, 30 October 2026
- Production best practices : LiteLLM documentation, read 4 December 2026
- Use your existing SDK : TensorPass documentation, read 4 December 2026
- Changelog : TensorPass documentation, read 4 December 2026
- AI Wallet : TensorPass, read 4 December 2026
Questions
- Which LiteLLM alternatives are open source?
- Among LiteLLM alternatives, Bifrost, Agent Router (formerly Envoy AI Gateway), WSO2 AI Gateway and Helicone are released under Apache 2.0, and MLflow AI Gateway is open source as well. Kong publishes an open source edition beside its paid Konnect plans. Portkey keeps a free self-hosted gateway, while its managed tiers start at $49 a month. Read the licence of the exact edition you deploy, because enterprise features sit in paid tiers on most of them.
- Is LiteLLM safe to use after the 2026 incidents?
- After the March incident LiteLLM told users to pin 1.82.6 or earlier, then released the clean 1.83.0. After 21 October 2026 the advised pin was 1.106.2. Releases from 24 October 2026 carry a new cosign signature, and later builds use keyless cosign. Any host that installed 1.82.7, 1.82.8 or 1.107.0 has to be treated as compromised, with every reachable credential rotated.
- Which LiteLLM alternative is fastest?
- Bifrost posts the highest published figures: about 11 microseconds of added overhead at 5,000 requests per second, from its maker, and 18,182 requests per second in a Respan benchmark on a page updated 30 November 2026. The same benchmark gave one LiteLLM worker 268 requests per second. Both numbers come from vendors with a competing product, so run your own load test on your prompts.
- Can I remove LiteLLM entirely?
- You can remove it from the public chat path when each visitor answers with their own AI account through AI Connect. You still need a gateway, or direct provider calls, for traffic billed to your own account: batch jobs, retrieval, agents and internal tools. Keeping a single small gateway for that internal load costs less upkeep than a cluster sized for public visitors.