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

  • Open source
  • 200+ providers
  • Parallel agents
  • Mobile app

Traction

No. 7 of 11 on the Coding agents shortlist

At a glance

Who it's for
Leading OSS terminal agent; cheapest path to open coding models.
What it does
BYOK · Open source (MIT) · Zen (free + PAYG models) · Go ($10/mo open models) · Large community
Where it runs
On your machine. Used through a terminal
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. opencode.ai (source for What do the plans cost?)
Runs in the background
Starts multiple agents in parallel on the same project. A mobile app lets you start, steer and approve sessions from your phone. opencode.ai (source for Runs in the background)
Models
Any of 200+ providers through Models.dev, including local models. Free models are included, or log in with ChatGPT Plus/Pro or GitHub Copilot. opencode.ai (source for Models)
Permissions
You choose which actions run automatically and which need your approval. opencode.ai (source for Permissions)
Who uses it at scale?
OpenCode says 'trusted by 22M+ developers' (vendor claim). opencode.ai (source for Who uses it at scale?)

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 12, 2026. Plans change often, so confirm before you decide.

Can OpenCode run in the background or in the cloud?

Starts multiple agents in parallel on the same project. A mobile app lets you start, steer and approve sessions from your phone.

What are alternatives to OpenCode?

Other CLI agents in the directory: Claude Code, Codex, OpenHands, Gemini CLI, Muse Code, Grok Build, Amp, 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 13 alternatives

More from Community / OSS: Cline, OpenHands, LiteLLM, Model Context Protocol, Continue, instinct-mcp · coding memory