opencode vs litellm
opencode is the more adopted project, with 229,095 GitHub stars against 63,883 for litellm (about 3.6x more). Both were last updated on 25 November 2026. opencode is written in TypeScript and litellm in Python.
| opencode | litellm | |
|---|---|---|
| Description | The open source coding agent. | The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropi |
| Author | anomalyco | BerriAI |
| Stars | 229095 | 63883 |
| Language | TypeScript | Python |
| License | MIT | Other |
| Last update | 2026-11-25T12:48:18Z | 2026-11-25T12:50:33Z |
| Source | https://github.com/anomalyco/opencode | https://github.com/BerriAI/litellm |
| Stars this week | +1,373 | +404 |
Which should you choose?
- opencode describes itself as: "The open source coding agent."
- litellm describes itself as: "The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking..."
Stars measure adoption, not fit. Read both READMEs for the tools each server exposes, then try them side by side in your client: the install guide shows how to add both.
Frequently asked questions
Which is more popular, opencode or litellm?
opencode has more GitHub stars: 229,095 against 63,883. This week opencode gained 1,373 stars and litellm gained 404, which says more about current momentum than the all-time total. Both figures are refreshed daily from GitHub.
Are opencode and litellm open source?
opencode: MIT (open source). litellm: Other. An open-source license covers the code: you can read, modify and run it. An app or API that either project connects to can still have its own price, so read each README for the accounts and keys it needs.
Can I use opencode and litellm together?
Yes, if both run as MCP servers. MCP clients such as Claude Code, Cursor and VS Code can connect to several servers at once, and the agent picks tools from each. Give them distinct names in your config, and keep the number of active servers small so tool definitions do not crowd the context window.
Related comparisons
- opencode vs n8n
- opencode vs claude-code
- opencode vs gemini-cli
- opencode vs OmniRoute
- opencode vs cherry-studio
- opencode vs kong
- n8n vs litellm
- claude-code vs litellm
opencode details · litellm details · All MCP Clients & Apps
Data last updated . Stars and downloads are refreshed every day from GitHub and npm.