E2B vs LiteLLM
E2B (E2B) and LiteLLM (BerriAI) side by side on public data, as of Nov 23, 2026.
LiteLLM has 4.1x the weekly package downloads of E2B (25.9M against 6.2M). LiteLLM has 4.3x the GitHub stars of E2B (63.7K against 15K). Over the last 30 days downloads moved +43% for E2B and +4% for LiteLLM.
Which should you choose?
Choose E2B if
- you work in the terminal
- you want the one gaining users faster (downloads up 43% in 30 days, +5% in the last 7)
Choose LiteLLM if
- you need to run local models
- you want to use your own model API key
- you want to switch between model providers (6 documented against 0)
- you prefer the more widely used tool, with more docs and answers around (Gid Score 72 against 63)
Built from documented features, official prices, status pages and usage data on this page; it does not judge output quality.
Side-by-side numbers
| Metric | E2BPromo | LiteLLM |
|---|---|---|
| Gid Score | 63 | 72 |
| Usage data as of | Nov 23 | Nov 23 |
| Rank by Gid Score | #4 | #1 |
| Downloads, last 7 days | 6.2M | 25.9M |
| Downloads, 7-day change | up 5.4% | up 9.3% |
| Downloads, 30-day change | up 42.9% | up 3.5% |
| VS Code installs | — | — |
| Marketplace rating | — | — |
| GitHub stars | 15K | 63.7K |
| Homebrew installs, 30 days | — | — |
| Hacker News mentions, 30 days | 22 | 26 |
| Latest stable release | 2.24.0 · 10d ago | 1.108.15 · 2d ago |
| Terminal-Bench (best run) | — | — |
| Price | Free + $150/mo | Free (OSS) |
| Incidents, last 30 days | 5 | — |
| License | Apache-2.0 | MIT (enterprise features under a separate licence) |
| First released | August 2023 | July 2023 |
| Interfaces | Python SDK, TypeScript SDK, CLI | Python library, Proxy server, REST API |
| Models | — | — |
A dash means there is no public data for that metric as of Nov 23, 2026.
Trends
E2B
Secure cloud sandboxes where AI agents run code, use a filesystem and terminal, and browse, isolated from your own machines.
Pricing: Hobby is free with a $100 one-time usage credit. Pro is $150/month plus usage costs, with concurrency expandable from 100 to 1,100 concurrent sandboxes via paid add-ons ($500–$1,000/month). Enterprise requires a minimum $2,000/month commitment with 500 concurrent sandboxes included, plus usage costs.
Latest release 2.24.0:
- c0211e9: The CLI now authenticates every request with your login's access token instead of a stored API key.
- e2b auth login opens (or The E2B_DOCS_BASE override is removed.
- Access tokens are refreshed automatically before they expire, including during long-running commands such as sandbox logs --follow, sandbox metrics --follow and an attached sandbox create session.
- project, E2B_PROJECT_ID and the project chosen with e2b auth configure select the project for each request.
LiteLLM
An AI gateway and Python SDK that calls 100+ model APIs through one OpenAI-style interface, with spend tracking, budgets, rate limits, fallbacks, guardrails and logging. The same gateway also serves A2A agents and MCP tools.
Pricing: The SDK and proxy are open source and free. An enterprise edition with SSO, audit logs and support is sold separately.
Latest release 1.108.15:
- Other providers: Set api_key or the provider's key env var on keyless JSON-configured deployments, which now get a 401
- Other providers: Added the ResetData provider and fixed $0 spend on Groq and Meta transcription
- Other providers: Fixed Cohere v2 streamed tool calls arriving as one empty chunk
- Other providers: Fixed Cohere v2 chat ignoring tool_choice and returning 400 for reasoning_effort and json_schema response_format
E2B vs LiteLLM: common questions
How do E2B and LiteLLM prices compare?
E2B: Free + $150/mo. LiteLLM: Free (OSS). Prices come from each vendor's pricing page.
Which is more popular, E2B or LiteLLM?
LiteLLM has a Gid Score of 72 against 63 for E2B. The score combines package downloads, editor installs, GitHub activity and attention, updated daily.
Do E2B and LiteLLM support local models?
LiteLLM documents support for local models; E2B's documentation does not.