Hacker ApprovedDepartments

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%
Each figure is 2 people. RecommendsCriticizes

Recommended in 12 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. 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”
  • 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”
  • 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”
  • 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.

LiteLLM compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
LiteLLMThis page729443%12——
Bifrost by Maxim17674%10—Approved
GoModel13287%6—Approved
Claude Code Router11379%5—Approved
CLIProxyAPI7188%5——
See all 8 LLM gateways, ranked

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”

CriticizesComment from 22 Oct 2026 in “Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor”

“We work hard on improving the stability and security of LiteLLM on each release.”

RecommendsComment from 22 Oct 2026 in “Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor”

“LiteLLM has one of the nicest programmer UX to use but this is not good at all.”

MixedComment from 22 Oct 2026 in “Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor”

“this seems systemic - if three developers had their keys stolen, it implies the real problem is elsewhere”

CriticizesComment from 21 Oct 2026 in “Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor”

“after the last supply chain attack, people would be smarter than ship things with LiteLLM”

CriticizesComment from 21 Oct 2026 in “Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor”

“Announcing that there's a private enterprise repo you should be paying for if you don't want a credential stealer”

CriticizesComment from 21 Oct 2026 in “Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor”

“Currently using litellm and its been pretty solid for me”

RecommendsComment from 19 Oct 2026 in “If you don't run your own LLM proxy, how do you know whats going on?”

“It can issue virtual keys, so provider API keys never go near the sandbox”

RecommendsComment from 19 Oct 2026 in “If you don't run your own LLM proxy, how do you know whats going on?”

“this de-bloat has 2k LOC and specifies its only two deps ones most people want as deps”

RecommendsComment from 13 Sep 2026 in “Litelm: LiteLLM Without the Bloat”

“2,900 LOC is still way too much for handling a remote API call, especially in a high level language such as Python”

CriticizesComment from 12 Sep 2026 in “Litelm: LiteLLM Without the Bloat”

“the latency it contributes to the end-to-end AI processing has been not noticeable in practice for our users”

MixedComment from 12 Sep 2026 in “Litelm: LiteLLM Without the Bloat”

“I like the API, and since this is open source I will copy the design with attribution”

RecommendsComment from 12 Sep 2026 in “Litelm: LiteLLM Without the Bloat”

“This readme is better than most readmes. However they came to making it, it's clearly working”

RecommendsComment from 11 Sep 2026 in “Litelm: LiteLLM Without the Bloat”

“This is a cool project, and the idea of using LLMs to selectively extract features from open source projects is an interesting concept.”

MixedComment from 11 Sep 2026 in “Litelm: LiteLLM Without the Bloat”

“LiteLLM is bad. Shit performance, buggy, and none of it surprising if you look at the tangled mess that is their codebase.”

CriticizesComment from 22 Jul 2026 in “Kimi K3 Is Competitive with Fable; Kimi K3 and Fable Is SoTA”

“The approach substantially reduce the amount of data leak, and errors.”

RecommendsComment from 17 Jul 2026 in “I tricked Claude into leaking your deepest, darkest secrets”

“You might have luck converting between standards using litellm's proxy.”

RecommendsComment from 2 Jul 2026 in “Claude Code Is Steganographically Marking Requests”

“This is great news (the Rust announcement, not me filling out the form)!”

RecommendsComment from 23 Jun 2026 in “LiteLLM Migrates to Rust”

“LiteLLM has the most mature, and broadest range of unified api's x providers.”

RecommendsComment from 23 Jun 2026 in “LiteLLM Migrates to Rust”

“if you run a proxy like LiteLLM, you can configure it to send requests to different api endpoints on the back end”

RecommendsComment from 22 May 2026 in “DeepSeek makes the V4 Pro price discount permanent”

“LiteLLM is a great option if you're comfortable running infrastructure.”

RecommendsComment from 20 May 2026 in “LLMCap – A proxy that hard-stops LLM API calls when you hit a dollar cap”

“allows to set the budget per day/week, and it's free”

RecommendsComment from 19 May 2026 in “LLMCap – A proxy that hard-stops LLM API calls when you hit a dollar cap”

“middleware like LiteLLM that also monitors usage so that your coding frenzy doesn't turn into a $20k bill”

RecommendsComment from 14 May 2026 in “Claude Account Suspended Seconds After Purchase?”

“Just use litellm or any-llm if you want to convert to OpenAI format”

RecommendsComment from 29 Apr 2026 in “OpenAI models coming to Amazon Bedrock: Interview with OpenAI and AWS CEOs”

“Incredibly poor performance, riddled with serious bugs and to be honest devs that don't seem to understand them.”

CriticizesComment from 21 Apr 2026 in “Show HN: GoModel – an open-source AI gateway in Go; 44x lighter than LiteLLM”

“LiteLLM had a major security incident recently, and often isn't actually that useful an abstraction”

CriticizesComment from 9 Apr 2026 in “Reallocating $100/Month Claude Code Spend to Zed and OpenRouter”

“I literally pressed sync dependencies button 1 minute after the malware version was removed.”

CriticizesComment from 27 Mar 2026 in “My minute-by-minute response to the LiteLLM malware attack”

“I was able to create Virtual Keys on the free version with no issues.”

RecommendsComment from 26 Mar 2026 in “LiteLLM Python package compromised by supply-chain attack”

“the abstraction layer that was supposed to save you time just cost an unknown number of people every credential on their machine”

CriticizesComment 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.”

CriticizesComment from 24 Mar 2026 in “LiteLLM Python package compromised by supply-chain attack”

“LiteLLM made it much easier for developers to use it rather than reinventing and debugging such nuances”

RecommendsComment from 24 Mar 2026 in “LiteLLM Python package compromised by supply-chain attack”

“There are hundreds of PRs fixing valid issues to your github repo seemingly in limbo for weeks.”

CriticizesComment from 24 Mar 2026 in “LiteLLM Python package compromised by supply-chain attack”

“this library made it easy by making one single API you call”

MixedComment from 24 Mar 2026 in “LiteLLM Python package compromised by supply-chain attack”

“everyone who needs to get shit done uses something lighter like the above two”

RecommendsComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“Uses LiteLLM for multi-model support (Qwen, Gemini, Claude, DeepSeek)”

RecommendsComment from 11 Mar 2026 in “Show HN:Nono-Cowork:Self-hosted AI agent with file sync to your local machine”

“the operational surface wasn't worth it for something that's really just a retry loop with state”

CriticizesComment from 7 Mar 2026 in “Show HN: key-carousel - Key rotation for LLM agents”

“Then there is LiteLLM and similar that make it even easier”

RecommendsComment from 7 Mar 2026 in “Claude AI Helped Bomb Iran. But How Exactly?”

“LiteLLM is excellent, but its pure-Python HTTP layer adds SDK overhead.”

MixedComment from 20 Feb 2026 in “Edgequake-litellm – Rust-backed drop-in replacement for LiteLLM (v0.1)”

“litellm does a very good job and it's not a platform middle man, just a python library”

RecommendsComment from 12 Feb 2026 in “Gemini 3 Deep Think”

“Cowork + litellm proxy + a local vision LLM should work incredibly well”

RecommendsComment from 13 Jan 2026 in “Cowork: Claude Code for the rest of your work”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.