LiteLLM vs OpenRouter
Side by side: what each one is for, what it costs, and how each is moving.
At a glance. The same facts, in the same order.
| Fact | FrameworkLiteLLMAn open-source gateway and Python library that lets software call more than a hundred AI model providers in one common format, with usage tracking, budgets and keys per team. | ToolOpenRouterA service that gives access to many model providers through a single API and account. |
|---|---|---|
| Who it is for | Developers and platform teams who call several AI model providers and want one interface, with keys, budgets and cost logs per team. | For developers who want to use AI models from many providers through one account and one programming interface, paying from a single balance. |
| Made by | BerriAI | OpenRouter |
| Price | The open-source gateway is free and can be self-hosted; enterprise features are priced on request. | Billed by use: you buy credits and pay each provider's list price per model, plus a fee on credit purchases. Some models are free, with a daily limit. |
| Runs on | Python, Command line, Docker, API | Web, API |
| Heat this month | 32, rising in 1 of 3 sources | 57, rising in 2 of 4 sources |
Signals. Each source measured the same way for every topic.
npm downloads
Downloads per week. Latest full week, and the change over four weeks.
| Topic | Latest week | Four-week change | Recent weeks |
|---|---|---|---|
| LiteLLM | Not measured for this topic | ||
| OpenRouter | 1,396,081 | +51% | |
PyPI downloads
Downloads per week, mirrors excluded. Latest full week, and the change over four weeks.
| Topic | Latest week | Four-week change | Recent weeks |
|---|---|---|---|
| LiteLLM | 27,113,031 | +12% | |
| OpenRouter | 514,943 | +4% |
GitHub forks
New forks per week. Latest full week, and the change over four weeks.
| Topic | Latest week | Four-week change | Recent weeks |
|---|---|---|---|
| LiteLLM | 224 | -8% | |
| OpenRouter | Not measured for this topic | ||
Wikipedia views
Article views per week. Latest full week, and the change over four weeks.
| Topic | Latest week | Four-week change | Recent weeks |
|---|---|---|---|
| LiteLLM | 889 | -24% | |
| OpenRouter | 3,128 | -7% |
Hacker News stories
Stories mentioning the phrase, per week. Latest full week, and the change over four weeks.
| Topic | Latest week | Four-week change | Recent weeks |
|---|---|---|---|
| LiteLLM | 1 | ||
| OpenRouter | 4 |
X posts
English posts mentioning it, per week (reposts not counted). Latest full week, and the change over four weeks.
| Topic | Latest week | Four-week change | Recent weeks |
|---|---|---|---|
| LiteLLM | Not measured for this topic | ||
| OpenRouter | 5,702 | 0% | |
Each small line is drawn on its own scale, so compare the figures, not the heights. A source that is missing for a topic was not measured for it; that is not zero.
Questions and answers. LiteLLM vs OpenRouter, in short.
What is the difference between LiteLLM and OpenRouter?
LiteLLM: An open-source gateway and Python library that lets software call more than a hundred AI model providers in one common format, with usage tracking, budgets and keys per team. OpenRouter: A service that gives access to many model providers through a single API and account.
How much do LiteLLM and OpenRouter cost?
LiteLLM: The open-source gateway is free and can be self-hosted; enterprise features are priced on request. OpenRouter: Billed by use: you buy credits and pay each provider's list price per model, plus a fee on credit purchases. Some models are free, with a daily limit. Prices come from each maker’s own pages and change; the official sites have the last word.
Who makes LiteLLM and OpenRouter?
LiteLLM is made by BerriAI. OpenRouter is made by OpenRouter.
What do LiteLLM and OpenRouter run on?
LiteLLM runs on Python, Command line, Docker, API. OpenRouter runs on Web, API.
Which is getting more attention, LiteLLM or OpenRouter?
This month, LiteLLM has a heat of 32 and OpenRouter has a heat of 57. Attention to OpenRouter is growing faster. Heat runs from 0 to 100 and measures how fast attention is growing, not quality; 50 means no change.