News for hackers. Stuff that matters.

ij23

Hi i'm a LiteLLM maintainer here, yes you can use it with a Claude Sub: https://docs.litellm.ai/docs/tutorials/claude_code_max_subsc...

Let me know if any issues, happy to help

Hi, I'm sorry you feel this way about LiteLLM. We're actively working on improving code quality / reducing bugs. Were there any specific pain points you faced with LiteLLM?

If you're open to a convo, I'd love to hear what specifically about the product was not great and improve it for you :)

My [LinkedIn](https://www.linkedin.com/in/reffajnaahsi/) if you're open to a convo.

Hi i'm a LiteLLM maintainer thanks for using us, I'd love to connect to hear how we can improve for you. Here's my Linkedin https://www.linkedin.com/in/reffajnaahsi/ / Twitter (https://x.com/ishaan_jaff) if you're open to a convo
Re:LiteLLM Migrates to Rust on Tuesday June 23, 2026 @12:30PM (#48647489)
LiteLLM maintainer here. Some context on why we are doing this

Over the past year we've heard the same thing from our users and community, they want the fastest and litest AI gateway.

This change allows us to address two of the most common problems we hear from users latency spikes under load and memory leaks/OOM kills that take pods down

We believe a Rust hot path is faster and bounded in memory, so those whole classes of issues go away.

It will be a gradual, non-breaking change. The Python SDK and proxy stay exactly the same, under the hood they start calling the Rust binary through PyO3, one component at a time, each proven in production before the next. The sub-1ms figure is gateway overhead (what we add on top of the upstream call), and we're aiming for a sub-100MB binary. Happy to share benchmark methodology if folks want to poke at it.

The whole gateway will be running on Rust by December 1, 2026.

Full announcement: https://docs.litellm.ai/blog/litellm-rust-launch

Show HN: LiteHarness – One SDK for Claude Agent, OpenAI Agent, Pi AI

https://github.com/LiteLLM-Labs/lite-harness

We built this library because agent harnesses were too fragmented and we needed a simple abstraction to call multiple coding-agent SDKs.lite-harness has one function - query()import { query } from "@lite-harness/sdk";for await (const message of query({ prompt: "Fix the failing test", options: { // swap harness between: "claude-agent", "openai-agents", "pi-ai" harness:...

( Read More... | 2 comments | on HN )
Hi all, Ishaan from LiteLLM here (LiteLLM maintainer)

The compromised PyPI packages were litellm==1.82.7 and litellm==1.82.8. Those packages have now been removed from PyPI. We have confirmed that the compromise originated from the Trivy dependency used in our CI/CD security scanning workflow. All maintainer accounts have been rotated. The new maintainer accounts are @krrish-berri-2 and @ishaan-berri. Customers running the official LiteLLM Proxy Docker image were not impacted. That deployment path pins dependencies in requirements.txt and does not rely on the compromised PyPI packages. We are pausing new LiteLLM releases until we complete a broader supply-chain review and confirm the release path is safe.

From a customer exposure standpoint, the key distinction is deployment path. Customers running the standard LiteLLM Proxy Docker deployment path were not impacted by the compromised PyPI packages.

The primary risk is to any environment that installed the LiteLLM Python package directly from PyPI during the affected window, particularly versions 1.82.7 or 1.82.8. Any customer with an internal workflow that performs a direct or unpinned pip install litellm should review that path immediately.

We are actively investigating full scope and blast radius. Our immediate next steps include:

reviewing all BerriAI repositories for impact, scanning CircleCI builds to understand blast radius and mitigate it, hardening release and publishing controls, including maintainership and credential governance, and strengthening our incident communication process for enterprise customers.

We have also engaged Google’s Mandiant security team and are actively working with them on the investigation and remediation.

Re:Open-Swarm – use 100 LLMs on OpenAI swarm framework on Saturday October 12, 2024 @02:42PM (#41821374)
OpenAI's multi-agent framework swarm only supports models from OpenAI.

OpenSwarm uses LiteLLM to add support for any LLM AnthropicAI, MistralAI, Ollama, Huggingface, GroqInc, Replicate

Re:Show HN: Self-Hostable Algolia DocSearch Replacement on Saturday October 12, 2024 @05:11AM (#41817712)
Canary is awesome! we use Canary for our doc search at LiteLLM (you can see it here: https://docs.litellm.ai/docs/)

It's really useful to be able to specify the search space for a specific query (example: Canary allows search for the query "sagemaker" on our docs or on our github issues )

Re:Show HN: I built an OSS alternative to Azure OpenAI services on Thursday December 14, 2023 @07:20AM (#38640584)
hi i'm the maintainer of litellm - we persist rate limits, they're written to a DB: https://docs.litellm.ai/docs/proxy/virtual_keys

- LiteLLM Proxy IS Exactly Compatible with the OpenAI SDK

I'm the LiteLLM maintainer, can you elaborate what you're looking for us to do here?

Show HN: LiteLLM - Open source library A/B test LLMs in Production

https://litellm.vercel.app/docs/tutorials/ab_test_llms

Hello Hacker News,Stop relying on benchmarks and easily test LLMs in production. Try it here: https://admin.litellm.ai/LiteLLM allows you to simplify calling any LLM as a drop in replacement for gpt-3.5-turboWe're launching `completion_with_split_tests` to easily A/B test all LLMs.Example usage - 1 function: completion_with_split_tests( models={ "claude-2": 0.4, "gpt-3.5-turbo": 0.6 },...

( Read More... | no comments | on HN )
looks awesome ! love that it's Open-source too
Re:Llama2 on Replicate faster than ChatGPT? on Wednesday August 16, 2023 @04:30PM (#37153343)
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?

What local/in-K8-cluster models servers would you recommend adding ?

Should we add support for llama.cpp and vllm.ai in the proxy server ? Or should we assume you can host them on your own infra and the proxy server requests your hosted model ?

Yes, you use your own API keys. You can set them as env variables. Either set them as os.environ['OPENAI_API_KEY'] or set them in .env files: https://litellm.readthedocs.io/en/latest/supported/

Show HN: Open-source proxy server for Llama2, GPT-4, Claude2 with Logging,Cache

https://github.com/BerriAI/litellm/blob/main/cookbook/proxy-server/readme.md

Hello hacker news, I’m the maintainer of liteLLM() - package to simplify input/output to OpenAI, Azure, Cohere, Anthropic, Hugging face API Endpoints: https://github.com/BerriAI/litellm/We’re open sourcing our implementation of liteLLM proxy: https://github.com/BerriAI/litellm/blob/main/cookbook/proxy-...TLDR: It has one API endpoint /chat/completions and standardizes input/output for 50+ LLM...

( Read More... | 34 comments | 3 points | on HN )
thanks for sharing, while your library looks really powerful my goal with Litellm is simplicity
good points, probably going to add streaming output, function calling support. As for retries tenacity does a great job already
azure models have custom names - eg I call mine 'chat-gpt-test1', I require some flag to know if it's an azure model
Thank you !

Older »