OpenCode logo

OpenCode

Coding agentsCommunity / OSS

OpenCode is a free, open-source coding agent for your terminal. You bring your own model keys, or use its optional hosted models.

At a glance

225,683 GitHub stars

GitHubAs of Nov 9, 2026GitHub repository

How we rank

Research
  • Evidence level: GitHub snapshot.
  • Open-source CLI. Stars are the scale signal.
  • GitHub star count from the Nov 9, 2026 snapshot.

Key facts

As of Nov 11, 2026

Who it's for
Leading OSS terminal agent; cheapest path to open coding models.
What do the plans cost?
Free and open source. Bring your own provider or subscription, or use OpenCode Go's curated models from $10/mo.
Who uses it at scale?
OpenCode says 'trusted by 22M+ developers' (vendor claim).
Sources

Common questions

What is OpenCode?

OpenCode is a free, open-source coding agent for your terminal. You bring your own model keys, or use its optional hosted models.

Who is OpenCode for?

Leading OSS terminal agent; cheapest path to open coding models.

How much does OpenCode cost?

Free and open source. Bring your own provider or subscription, or use OpenCode Go's curated models from $10/mo. Checked against the vendor's pages on Nov 11, 2026. Plans change often, so confirm before you decide.

Does OpenCode run locally or in the cloud?

OpenCode runs on your machine. You use it through a terminal.

What are alternatives to OpenCode?

Other CLI agents in the directory: Claude Code, Codex CLI, OpenHands, Amp, Gemini CLI, Aider, Muse Code, Grok Build, Warp, Goose, Mistral Vibe, Qwen Code, Kimi Code, Crush. Different categories solve the same problem differently, so see the CLI & terminal agents category page for tradeoffs.

Compare OpenCode

See the full Coding agents shortlist
Show all 14 alternatives

More from Community / OSS: Aider, Cline, OpenHands, LiteLLM, Model Context Protocol, Continue