LiteLLM
The most recommended of 8 LLM gateways
Free open-source Python library and proxy giving one API across many LLM providers, with spend budgets and virtual keys. Main caveat: critics point to a recent supply-chain compromise with credential-stealing malware.
Free open-source Python library and proxy giving one API across many LLM providers, with spend budgets and virtual keys. Main caveat: critics point to a recent supply-chain compromise with credential-stealing malware.
166 people gave an opinion
- recommend it
- 72
- criticize it
- 94
- approval share
- 43%
Recommended in 12 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it doesn’t carry the badge
- 72 people recommend itNeeds 10 or more, met.
- 0.7 recommenders for every criticNeeds 2 to 1 or better, not met.
- Recommended in 12 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
One API across many providers
“if you run a proxy like LiteLLM, you can configure it to send requests to different api endpoints on the back end”
Comment from 22 May 2026 in “DeepSeek makes the V4 Pro price discount permanent” “LiteLLM made it much easier for developers to use it rather than reinventing and debugging such nuances”
Comment from 24 Mar 2026 in “LiteLLM Python package compromised by supply-chain attack” “LiteLLM has the most mature, and broadest range of unified api's x providers.”
Comment from 23 Jun 2026 in “LiteLLM Migrates to Rust” - Comment from 11 Mar 2026 in “Show HN:Nono-Cowork:Self-hosted AI agent with file sync to your local machine”
- Comment from 29 Apr 2026 in “OpenAI models coming to Amazon Bedrock: Interview with OpenAI and AWS CEOs”
Spend budgets and virtual keys
“middleware like LiteLLM that also monitors usage so that your coding frenzy doesn't turn into a $20k bill”
Comment from 14 May 2026 in “Claude Account Suspended Seconds After Purchase?” “It can issue virtual keys, so provider API keys never go near the sandbox”
Comment from 19 Oct 2026 in “If you don't run your own LLM proxy, how do you know whats going on?” “I was able to create Virtual Keys on the free version with no issues.”
Comment from 26 Mar 2026 in “LiteLLM Python package compromised by supply-chain attack” - Comment from 19 May 2026 in “LLMCap – A proxy that hard-stops LLM API calls when you hit a dollar cap”
Easy developer experience
“LiteLLM has one of the nicest programmer UX to use but this is not good at all.”
Comment from 22 Oct 2026 in “Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor” “this library made it easy by making one single API you call”
Comment from 24 Mar 2026 in “LiteLLM Python package compromised by supply-chain attack” “Then there is LiteLLM and similar that make it even easier”
Comment from 7 Mar 2026 in “Claude AI Helped Bomb Iran. But How Exactly?” Solid and mature in use
“LiteLLM has the most mature, and broadest range of unified api's x providers.”
Comment from 23 Jun 2026 in “LiteLLM Migrates to Rust” “Currently using litellm and its been pretty solid for me”
Comment from 19 Oct 2026 in “If you don't run your own LLM proxy, how do you know whats going on?”
What people warn about
Each mark is one comment
Past supply-chain compromises and malware
“the abstraction layer that was supposed to save you time just cost an unknown number of people every credential on their machine”
Comment from 25 Mar 2026 in “LiteLLM Python package compromised by supply-chain attack” “litellm==1.82.8 is the compromised package. It contains litellm_init.pth which spawns malware on every Python startup.”
Comment from 24 Mar 2026 in “LiteLLM Python package compromised by supply-chain attack” “Announcing that there's a private enterprise repo you should be paying for if you don't want a credential stealer”
Comment from 21 Oct 2026 in “Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor” - Comment from 21 Oct 2026 in “Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor”
- Comment from 22 Oct 2026 in “Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor”
- Comment from 9 Apr 2026 in “Reallocating $100/Month Claude Code Spend to Zed and OpenRouter”
- Comment from 27 Mar 2026 in “My minute-by-minute response to the LiteLLM malware attack”
- Comment from 21 Oct 2026 in “Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor”
Poor performance and overhead
“LiteLLM is excellent, but its pure-Python HTTP layer adds SDK overhead.”
Comment from 20 Feb 2026 in “Edgequake-litellm – Rust-backed drop-in replacement for LiteLLM (v0.1)” “LiteLLM is bad. Shit performance, buggy, and none of it surprising if you look at the tangled mess that is their codebase.”
Comment from 22 Jul 2026 in “Kimi K3 Is Competitive with Fable; Kimi K3 and Fable Is SoTA” “Incredibly poor performance, riddled with serious bugs and to be honest devs that don't seem to understand them.”
Comment from 21 Apr 2026 in “Show HN: GoModel – an open-source AI gateway in Go; 44x lighter than LiteLLM” Overbuilt for simple API calls
“2,900 LOC is still way too much for handling a remote API call, especially in a high level language such as Python”
Comment from 12 Sep 2026 in “Litelm: LiteLLM Without the Bloat” “LiteLLM had a major security incident recently, and often isn't actually that useful an abstraction”
Comment from 9 Apr 2026 in “Reallocating $100/Month Claude Code Spend to Zed and OpenRouter” “the operational surface wasn't worth it for something that's really just a retry loop with state”
Comment from 7 Mar 2026 in “Show HN: key-carousel - Key rotation for LLM agents” Buggy code and slow PR handling
“Incredibly poor performance, riddled with serious bugs and to be honest devs that don't seem to understand them.”
Comment from 21 Apr 2026 in “Show HN: GoModel – an open-source AI gateway in Go; 44x lighter than LiteLLM” “There are hundreds of PRs fixing valid issues to your github repo seemingly in limbo for weeks.”
Comment from 24 Mar 2026 in “LiteLLM Python package compromised by supply-chain attack”
Other LLM gateways people recommend
The four most recommended other LLM gateways, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| LiteLLMThis page | 72 | 94 | 43% | 12 | — | — |
| Bifrost by Maxim | 17 | 6 | 74% | 10 | — | Approved |
| GoModel | 13 | 2 | 87% | 6 | — | Approved |
| Claude Code Router | 11 | 3 | 79% | 5 | — | Approved |
| CLIProxyAPI | 7 | 1 | 88% | 5 | — | — |
What people said
40 of the 194 comments that mention it, newest first. Each links to the original comment.
“There's nothing novel about being internally compromised which you've demonstrated two times in a row”
“We work hard on improving the stability and security of LiteLLM on each release.”
“LiteLLM has one of the nicest programmer UX to use but this is not good at all.”
“this seems systemic - if three developers had their keys stolen, it implies the real problem is elsewhere”
“after the last supply chain attack, people would be smarter than ship things with LiteLLM”
“Announcing that there's a private enterprise repo you should be paying for if you don't want a credential stealer”
“Currently using litellm and its been pretty solid for me”
“It can issue virtual keys, so provider API keys never go near the sandbox”
“this de-bloat has 2k LOC and specifies its only two deps ones most people want as deps”
“2,900 LOC is still way too much for handling a remote API call, especially in a high level language such as Python”
“the latency it contributes to the end-to-end AI processing has been not noticeable in practice for our users”
“I like the API, and since this is open source I will copy the design with attribution”
“This readme is better than most readmes. However they came to making it, it's clearly working”
“This is a cool project, and the idea of using LLMs to selectively extract features from open source projects is an interesting concept.”
“LiteLLM is bad. Shit performance, buggy, and none of it surprising if you look at the tangled mess that is their codebase.”
“The approach substantially reduce the amount of data leak, and errors.”
“You might have luck converting between standards using litellm's proxy.”
“This is great news (the Rust announcement, not me filling out the form)!”
“LiteLLM has the most mature, and broadest range of unified api's x providers.”
“if you run a proxy like LiteLLM, you can configure it to send requests to different api endpoints on the back end”
“LiteLLM is a great option if you're comfortable running infrastructure.”
“allows to set the budget per day/week, and it's free”
“middleware like LiteLLM that also monitors usage so that your coding frenzy doesn't turn into a $20k bill”
“Just use litellm or any-llm if you want to convert to OpenAI format”
“Incredibly poor performance, riddled with serious bugs and to be honest devs that don't seem to understand them.”
“LiteLLM had a major security incident recently, and often isn't actually that useful an abstraction”
“I literally pressed sync dependencies button 1 minute after the malware version was removed.”
“I was able to create Virtual Keys on the free version with no issues.”
“the abstraction layer that was supposed to save you time just cost an unknown number of people every credential on their machine”
“litellm==1.82.8 is the compromised package. It contains litellm_init.pth which spawns malware on every Python startup.”
“LiteLLM made it much easier for developers to use it rather than reinventing and debugging such nuances”
“There are hundreds of PRs fixing valid issues to your github repo seemingly in limbo for weeks.”
“this library made it easy by making one single API you call”
“everyone who needs to get shit done uses something lighter like the above two”
“Uses LiteLLM for multi-model support (Qwen, Gemini, Claude, DeepSeek)”
“the operational surface wasn't worth it for something that's really just a retry loop with state”
“Then there is LiteLLM and similar that make it even easier”
“LiteLLM is excellent, but its pure-Python HTTP layer adds SDK overhead.”
“litellm does a very good job and it's not a platform middle man, just a python library”
“Cowork + litellm proxy + a local vision LLM should work incredibly well”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.