OpenCode

Open-source AI coding agent for the terminal, IDE and desktop

90.0
Score in best terminal coding agents
Check opencode.ai (opens in a new tab)AlternativesCompareShare

Opens the official site in a new tab. Check current plans and terms there; nothing is purchased on listme.name.

Ranked 3 of 13 in best terminal coding agents

MIT-licensed terminal agent with a long provider list, including Ollama and LM Studio, plus MCP servers and built-in subagents. Desktop and IDE front ends are separate from the terminal app.

Best for Open-source agent that switches between many providers

About OpenCode

OpenCode helps write and change code from a terminal, an IDE or a desktop app. The site lists LSP support, which loads language servers for the model, multiple sessions that run agents in parallel on one project, and share links for any session. Desktop downloads are listed for macOS, Windows and Linux.

The site says free models are included and that any provider's model can be connected, including Claude, GPT and Gemini. Logging in with GitHub can use a GitHub Copilot subscription. The repository is MIT licensed and had more than 200,000 stars when checked. Teams that want a hosted agent with fixed plans may compare Cursor in this ranking, while Kilo is another MIT-licensed option.

Key features

  • Terminal, IDE and desktop
  • LSP support
  • Parallel sessions
  • Share links for sessions
  • GitHub Copilot login

Strengths

  • MIT-licensed with a large public repository
  • Works in the terminal, IDE and desktop app
  • Connects models from many providers

Limits

  • Results depend on the model connected
  • Hosted offerings are separate from the free software

Where OpenCode ranks

How OpenCode compares

ProductScorePricePlatformsModel providersLocal modelsBuilt-in MCP support
#1Claude Code93.0SubscriptionCommand lineWebClaude models through Anthropic or cloud hostsNoYes
#2OpenAI Codex91.5Free and open sourceCommand lineOpenAI models plus custom OpenAI-compatible providersYesYes
#3OpenCode90.0Free and open sourceWindowsmacOSLinuxCommand lineMany hosted and local providers, including OllamaYesYes
#4GitHub Copilot87.0Free plan, paid upgradesWebWindowsmacOSLinuxCommand lineCopilot-hosted models, or your own keys (BYOK)YesYes
#5Aider85.5Free and open sourceCommand lineAlmost any cloud or local modelYesNo

The full comparison table for best terminal coding agents has all 13 products.

Questions about OpenCode

Is OpenCode free?
OpenCode can be used without paying: MIT-licensed and free to install; free models included, with separate Zen and Enterprise offerings. Check the vendor’s pricing page for current limits.
Is OpenCode open source?
Yes. OpenCode publishes its source code under the MIT license.
Which platforms does OpenCode support?
OpenCode is available on: Windows, macOS, Linux, Command line.
What is OpenCode best for?
Open-source agent that switches between many providers. In our ranking of terminal coding agents it is number 3 of 13 with a score of 90.0.
What are the best alternatives to OpenCode?
The highest-ranked alternatives on listme.name are Claude Code, GitHub Copilot, OpenAI Codex, Cursor.

Show this ranking on your site

If you make or maintain OpenCode, this badge links back to this page and shows its current rank. It updates when the ranking does.

Ranked #3 of 13 terminal coding agents on listme.name
<a href="https://listme.name/software/opencode"><img src="https://listme.name/badge/opencode.svg" height="28" alt="Ranked #3 of 13 terminal coding agents on listme.name"></a>