# LiteLLM

72 Hacker News commenters recommended LiteLLM and 94 criticized it, November 2025 to November 2026. It was recommended in 12 of 13 months.

**Verdict:** 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.

## Why people recommend it

- One API across many providers (5 comments): "if you run a proxy like LiteLLM, you can configure it to send requests to different api endpoints on the back end" ([source](https://news.ycombinator.com/item?id=48241271)) "LiteLLM made it much easier for developers to use it rather than reinventing and debugging such nuances" ([source](https://news.ycombinator.com/item?id=47504213)) "LiteLLM has the most mature, and broadest range of unified api's x providers." ([source](https://news.ycombinator.com/item?id=48649663))
- Spend budgets and virtual keys (4 comments): "middleware like LiteLLM that also monitors usage so that your coding frenzy doesn't turn into a $20k bill" ([source](https://news.ycombinator.com/item?id=48135869)) "It can issue virtual keys, so provider API keys never go near the sandbox" ([source](https://news.ycombinator.com/item?id=50147059)) "I was able to create Virtual Keys on the free version with no issues." ([source](https://news.ycombinator.com/item?id=47527507))
- Easy developer experience (3 comments): "LiteLLM has one of the nicest programmer UX to use but this is not good at all." ([source](https://news.ycombinator.com/item?id=50189306)) "this library made it easy by making one single API you call" ([source](https://news.ycombinator.com/item?id=47502338)) "Then there is LiteLLM and similar that make it even easier" ([source](https://news.ycombinator.com/item?id=47286607))
- Solid and mature in use (2 comments): "LiteLLM has the most mature, and broadest range of unified api's x providers." ([source](https://news.ycombinator.com/item?id=48649663)) "Currently using litellm and its been pretty solid for me" ([source](https://news.ycombinator.com/item?id=50157700))

## What people warn about

- Past supply-chain compromises and malware (8 comments): "the abstraction layer that was supposed to save you time just cost an unknown number of people every credential on their machine" ([source](https://news.ycombinator.com/item?id=47513620)) "litellm==1.82.8 is the compromised package. It contains litellm_init.pth which spawns malware on every Python startup." ([source](https://news.ycombinator.com/item?id=47507824)) "Announcing that there's a private enterprise repo you should be paying for if you don't want a credential stealer" ([source](https://news.ycombinator.com/item?id=50182543))
- Poor performance and overhead (3 comments): "LiteLLM is excellent, but its pure-Python HTTP layer adds SDK overhead." ([source](https://news.ycombinator.com/item?id=47084358)) "LiteLLM is bad. Shit performance, buggy, and none of it surprising if you look at the tangled mess that is their codebase." ([source](https://news.ycombinator.com/item?id=49001644)) "Incredibly poor performance, riddled with serious bugs and to be honest devs that don't seem to understand them." ([source](https://news.ycombinator.com/item?id=47854697))
- Overbuilt for simple API calls (3 comments): "2,900 LOC is still way too much for handling a remote API call, especially in a high level language such as Python" ([source](https://news.ycombinator.com/item?id=49676209)) "LiteLLM had a major security incident recently, and often isn't actually that useful an abstraction" ([source](https://news.ycombinator.com/item?id=47706799)) "the operational surface wasn't worth it for something that's really just a retry loop with state" ([source](https://news.ycombinator.com/item?id=47289065))
- Buggy code and slow PR handling (2 comments): "Incredibly poor performance, riddled with serious bugs and to be honest devs that don't seem to understand them." ([source](https://news.ycombinator.com/item?id=47854697)) "There are hundreds of PRs fixing valid issues to your github repo seemingly in limbo for weeks." ([source](https://news.ycombinator.com/item?id=47503851))

## Alternatives hackers recommend

- [Bifrost by Maxim](https://hackerapproved.com/p/bifrost.md): 17 recommend
- [GoModel](https://hackerapproved.com/p/gomodel.md): 13 recommend
- [Claude Code Router](https://hackerapproved.com/p/claude-code-router.md): 11 recommend
- [CLIProxyAPI](https://hackerapproved.com/p/cliproxyapi.md): 7 recommend
- [Tailscale Aperture](https://hackerapproved.com/p/tailscale-aperture.md): 6 recommend

## Cite as

Hacker Approved, "LiteLLM", https://hackerapproved.com/p/litellm/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
