LiteLLM
Updated
TL;DR: LiteLLM (by BerriAI; category: AI gateway). An open-source AI gateway you run yourself. Your apps call one OpenAI-compatible endpoint, and LiteLLM routes the request to 100+ model providers (OpenAI, Anthropic, Bedrock, Azure, Vertex AI, vLLM and more), with load balancing, fallbacks, guardrails, logging and cost tracking. Instead of handing out raw provider keys, you issue virtual keys, each with its own budget, rate limits and model access. An Admin UI handles models, keys and spend. Pricing: Open source and free to self-host (you pay your model providers and your own hosting). Some features, such as manual key rotation, need a LiteLLM Enterprise license, with a free 30-day trial per the docs (docs.litellm.ai, checked Nov 16, 2026).. Best for: Teams with several apps or clients calling AI models.
BuildersAI gatewayBerriAI
An open-source AI gateway you run yourself. Your apps call one OpenAI-compatible endpoint, and LiteLLM routes the request to 100+ model providers (OpenAI, Anthropic, Bedrock, Azure, Vertex AI, vLLM and more), with load balancing, fallbacks, guardrails, logging and cost tracking. Instead of handing out raw provider keys, you issue virtual keys, each with its own budget, rate limits and model access. An Admin UI handles models, keys and spend.
Features and pricing are based on BerriAI's official site and docs (vendor claims), not our own testing. Our take is labeled separately below.
- Audience: people building software and AI agents
- Pricing (vendor's published price): Open source and free to self-host (you pay your model providers and your own hosting). Some features, such as manual key rotation, need a LiteLLM Enterprise license, with a free 30-day trial per the docs (docs.litellm.ai, checked Nov 16, 2026).. Prices change, so verify on the official site.
- Official site: https://docs.litellm.ai/
- Source / changelog: https://docs.litellm.ai/docs/proxy/docker_quick_start
The Builder Brief Take
Who it's for
- Teams with several apps or clients calling AI models
- Agencies that need a budget per client
Who should skip it
- One person calling one provider from one app
- Anyone who won't keep it patched and off the open internet
Where it works
- Per-client budgets: Issue each client project a virtual key with its own monthly budget and model list.
- Provider fallback: Route to a second provider automatically when the first one errors or rate-limits.
- Spend visibility: See spend by key, user and team in the Admin UI instead of across several provider dashboards.
Pros and cons
Pros
- Free and open source
- One OpenAI-compatible endpoint for 100+ providers
- Virtual keys with budgets, rate limits and model access
Cons
- It holds every provider key you own, so it is a prime target
- Budgets need a database to be enforced
- Some features need an Enterprise license
- We have not tested it
The move: getting started with LiteLLM
- Follow the Docker quickstart, which generates a random master key
- Run it with Postgres so budgets and virtual keys work
- Keep the Admin UI on localhost or behind your own sign-in
- Create one virtual key per app with a budget
Articles mentioning LiteLLM
How it helps
Who: Small dev teams and agencies with several apps, clients or teammates calling AI models, who want one place to control keys and spend.
- Run it with a database. Virtual keys and budgets don't work without one, and LiteLLM says budgets are not enforced otherwise.
- Make sure the master key is a long random value. If you ever copied an example key from a tutorial, change it now.
- Keep the gateway and its Admin UI off the open internet. Bind it to localhost or a private network, or put it behind your own sign-in.
- Give every app or client its own virtual key with a budget and only the models it needs, so one leaked key can't spend everything.
- Set monthly limits or alerts at each model provider as a second line of defense.
Result: One controlled entry point to every model you use, with per-app budgets and a clear view of who spent what.
Why it matters
Editorial assessment: a gateway like LiteLLM is good practice once more than one app or person is calling models, because raw provider keys stop being scattered across code and laptops. The catch is that the gateway now holds every key you own, which is exactly why Amazon saw attackers' agents going after it. Run it like a production system or don't run it. If you are one person calling one provider from one app, you probably don't need a gateway yet; a provider key with a spend limit is simpler and safer.
Recent changes
- 2026-11-16: Security note: Amazon Threat Intelligence (Nov 13) says attackers running AI agents on the open-source ARTEX framework hunted internet-exposed AI gateways, LiteLLM among them, to pull the provider keys stored inside, test them and spend them. The attack playbook it describes includes default administrator credentials, naming the LiteLLM default master key, plus unauthenticated endpoints and secrets left in code. Amazon says it cannot verify which targets were breached. Per LiteLLM's docs, the master key authorizes every management API call and is the default Admin UI password; the current quickstart generates a random one. Without a database, LiteLLM does not enforce budgets, so set spending limits at your providers too. Source
Putting it to work? Get a starter stack for your job in about a minute with the Stack Picker, or see how done-with-you setup works if you want help.
Get changes in your inbox
New AI tools, honest reviews and playbooks. One email a week.
Almost done. Confirm your email in the beehiiv tab we just opened.
That email does not look right. Try again.
Free. Unsubscribe anytime.Make an AI tool? List your tool on Builder Brief. Free listings get the same editorial review as paid ones.