BerriAI/litellm
A community setup & usage guide for the LiteLLM GitHub repository. Official repo: BerriAI/litellm
Call 100+ LLM APIs using the OpenAI format; LLM gateway/proxy.
What is LiteLLM?
LiteLLM gives you one OpenAI-style interface to 100+ LLM providers (OpenAI, Anthropic, Bedrock, Azure, Gemini and more), plus a proxy/gateway with budgets, keys, and logging.
Full README, loaded live from the official repository: github.com/BerriAI/litellm
Installation
- Install the SDK
pip install litellm - Or install the proxy server
pip install 'litellm[proxy]'
litellm --model gpt-4o-minilitellm --versionUsage
litellm --model gpt-4o-mini# base_url = http://localhost:4000Before you start
Python 3.8+. API keys for whichever providers you want to route to.
Official repository: github.com/BerriAI/litellm
FAQ
What problem does it solve?
One consistent API and gateway across many model providers, with key and cost controls.
Is there a hosted version?
You can self-host the proxy; it's fully open source.
Where is the official LiteLLM GitHub repository?
The official LiteLLM GitHub repo is hosted at github.com/BerriAI/litellm. This page links straight to it and summarises how to install and use LiteLLM.
Is this the official LiteLLM repo?
No. officialrepo.com is an independent community guide. The official LiteLLM GitHub repository is github.com/BerriAI/litellm — always treat that repo and its documentation as the source of truth.
This is an independent community guide. LiteLLM and its logo are trademarks of their respective owner; officialrepo.com is not affiliated with or endorsed by the project or GitHub, Inc. The link above points to the genuine official repository.