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.

opencodelitellm
DescriptionThe 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
AuthoranomalycoBerriAI
Stars22909563883
LanguageTypeScriptPython
LicenseMITOther
Last update2026-11-25T12:48:18Z2026-11-25T12:50:33Z
Sourcehttps://github.com/anomalyco/opencodehttps://github.com/BerriAI/litellm
Stars this week+1,373+404

Which should you choose?

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 details · litellm details · All MCP Clients & Apps

Data last updated . Stars and downloads are refreshed every day from GitHub and npm.

Contact MCP Harbor

We reply by email. You can also write to hello@mcpharbor.app.