Hacker GitHub

← All repos

BerriAI/litellm

View on GitHub ↗ ★ 62,544 Python

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

53 mentions on Hacker News by 39 people: 10 stories, 43 comments · first 2023-07-27 · latest 2026-10-21

Mentions per year 53 mentions · busiest year 2026 (20)
20082026
  1. …https://news.ycombinator.com/item?id=50180838 | 0 comments 1792590232 | Litellm 1.107.0 Compromised | https://github.com/BerriAI/litellm/issues/47826 | https://news.ycombinator.com/item?id=50180845 | 0 comments
  2. https://github.com/BerriAI/litellm/issues/47826#issuecomment... > OSS Users > For the time being, please pin your version to 1.106.2 or any explicit version published prior to now. > Enterprise Customers > There currently exists a private…
  3. …release that remediates a vulnerability whose disclosure date is scheduled for October 27. https://github.com/BerriAI/litellm/issues/47826 oh boy. Announcing that there's a private enterprise repo you should be paying for if you don't want…
  4. hey - litellm will migrate its core to Rust soon. please follow this issue if you're interested! https://github.com/BerriAI/litellm/issues/31263
    comment by yujonglee · 2026-09-11 · in Litelm: LiteLLM Without the Bloat
  5. …you have to offer: - https://github.com/ENTERPILOT/GoModel - https://github.com/maximhq/bifrost - https://github.com/BerriAI/litellm Would you care to share what makes experiential different?
  6. I'm glad I used litellm in my last project https://github.com/BerriAI/litellm/
  7. …vulnerability the attacker left hundreds of bot comments under the issue to bury the conversation: https://github.com/BerriAI/litellm/issues/24512
    comment by ildari · 2026-04-17 · in Let's talk about AI slop in open source
  8. …your message to the developer on github and they have changed the version to 0.35.0 ,so thanks. https://github.com/BerriAI/litellm/issues/24518#issuecomment...
  9. …mandiant.security team to understand scope of impact Reviewing / rotating any leaked credentials https://github.com/BerriAI/litellm/issues/24518#issuecomment...
  10. …this thread as they mention that: "I will be updating this thread, as we have more to share." https://github.com/BerriAI/litellm/issues/24518
  11. LiteLLM has like a 1000 dependencies this is expected https://github.com/BerriAI/litellm/blob/main/requirements.tx...
  12. …threat actor is stifling genuine comments in github by spamming that thread with 100's of accounts https://github.com/BerriAI/litellm/issues/24512#issuecomment...
  13. It's also been reported to their GitHub: https://github.com/BerriAI/litellm/issues/24512
  14. …And now I can! This site is built every night from the open source pricing data from LiteLLM - https://github.com/BerriAI/litellm - which was the most comprehensive data I could find. I think the main weakness is lack of fuzzy searching,…
    comment by tomd · 2026-01-20 · in API for Current LLM Pricing
  15. Interesting, any plans to add LiteLLM ( https://github.com/BerriAI/litellm ) and Kilocode ( https://github.com/Kilo-Org/kilocode )?
  16. …much browsing through the 7000+ line `utils.py` to see where using it could become problematic ( https://github.com/BerriAI/litellm/blob/main/litellm/utils.p... )
  17. …open source projects that do a good job as proxys (no affiliation I just used them in the past): - https://github.com/BerriAI/litellm - https://github.com/KenyonY/openai-forward/tree/main but they still lack other abuse protection…
  18. Confession time: litellm still doesn't support parallel tool calls with Gemini models [ https://github.com/BerriAI/litellm/issues/9686 ] so we wrote our own "parallel tool calls" on top of Structured Output. It did take a few iterations on…
  19. …with LiteLLM's approach is that every model provider needs to be added to the core library - in https://github.com/BerriAI/litellm/tree/main/litellm/llms - and then shipped as a new release. LLM uses plugins because then there's no need to…
  20. …to stick with em. You can also use tools like litellm and openrouter to abstract away choice of API https://github.com/BerriAI/litellm https://openrouter.ai/
    comment by 0xDEAFBEAD · 2025-02-16 · in Perplexity Deep Research
  21. We're excited about this version which add support for LiteLLM https://github.com/BerriAI/litellm . With LiteLLM the application can easily switch between different models to pick to most optimized model for Knowledge Graph generation and…
  22. …you want hosted-search: Doc: https://getcanary.dev/docs/cloud/integrations/docusaurus Example PR: https://github.com/BerriAI/litellm/pull/6160/files
  23. …may not be able to match large queries but, testing will help you transition to other services. [1] https://github.com/BerriAI/litellm [2] https://langtrace.ai/
  24. Sounds like https://github.com/BerriAI/litellm
  25. Litellm maintains list of model infos here: https://github.com/BerriAI/litellm/blob/main/model_prices_an... Simple UI to search: https://models.litellm.ai/?q=llama3
  26. Very cool! Is this cost directory you're using the best source for historical cost per 1M tokens? https://github.com/BerriAI/litellm/blob/main/model_prices_an...
  27. Hey, are you just looking for litellm - https://github.com/BerriAI/litellm context - i'm the repo maintainer
  28. …allow changing the OpenAI endpoint to a custom one, you can support lots of options through LiteLlm https://github.com/BerriAI/litellm
  29. It should be possible using LiteLLM and a patch or a proxy. https://github.com/BerriAI/litellm
  30. Probably with https://github.com/BerriAI/litellm
  31. …We are currently evaluating replacing our homegrown version of an LLM proxy with this project: https://github.com/BerriAI/litellm Any comparison or contrast you would point out?
  32. Another abstraction layer library is: https://github.com/BerriAI/litellm For me the killer feature of a library like this would be if it implemented function calling. Even if it was for a very restricted grammar - like the traditional…
  33. …via LiteLLM proxy. Related issue: https://github.com/danny-avila/LibreChat/issues/1131 LiteLLM: https://github.com/BerriAI/litellm Guide: https://github.com/danny-avila/LibreChat/blob/main/docs/inst...
    comment by cloudking · 2023-12-02 · in LibreChat – Enhanced ChatGPT Clone
  34. …shouldn't be too difficult to build this with python. I wonder why none of the popular routers like https://github.com/BerriAI/litellm have this feature. > Problem is running so many LLMs in parallel means you need quite a bunch of…
  35. …API that can query ollama.. eg [1] [0] https://github.com/ivanfioravanti/chatbot-ollama [1] https://github.com/BerriAI/litellm
  36. …the OpenAI API as the canonical interface? Do you think there could be changes in the future? [0] https://github.com/BerriAI/litellm
  37. Here's the template I'm using - https://github.com/BerriAI/litellm/blob/5ca8b23e22139a4f49bd... Anything I'm doing incorrectly?
    comment by detente18 · 2023-09-09 · in Asking 60 LLMs a set of 20 questions
  38. Ran some testing and discovered llama2 on replicate is faster than chatgpt! Code - https://github.com/BerriAI/litellm/blob/main/cookbook/Evalua... Are others seeing similar results?
  39. …asking how to run self-hosted llama2, we just added the ollama integration. Here's the tutorial - https://github.com/BerriAI/litellm/blob/main/cookbook/liteLL...
  40. If you'd like to add any of these ideas as notebooks to our cookbook - https://github.com/BerriAI/litellm/tree/main/cookbook , we'd love the contribution!
  41. …edit: Found the cache notebook[1] and the calls to the cache and distance eval in the code[2] [1] https://github.com/BerriAI/litellm/blob/main/cookbook/liteLL... [2] https://github.com/BerriAI/litellm/blob/80d77fed7123af222011...
  42. …@deet - Yes it is! This automatically stores the cost per query to the Supabase table - here's how: https://github.com/BerriAI/litellm/blob/80d77fed7123af222011... If you have ideas for improvement - we'd love a ticket/PR!
  43. …yes it does! Exactly the same way as the openai-python sdk. Here's our code tutorial for it https://github.com/BerriAI/litellm/blob/main/cookbook/liteLL...