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
- 225,683 GitHub stars · GitHub, as of Nov 9, 2026 github.com (source for 225,683 GitHub stars)
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?)
- Works with
- Protocols
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
Show all 13 alternatives
- Claude Code · Anthropic
- Codex · OpenAI
- OpenHands · Community / OSS
- Gemini CLI · Google
- Muse Code · Meta
- Grok Build · xAI
- Amp · Amp Inc.
- Warp · Warp
- Goose · Block
- Mistral Vibe · Mistral AI
- Qwen Code · Alibaba Cloud
- Kimi Code · Moonshot AI
- Crush · Charm
More from Community / OSS: Cline, OpenHands, LiteLLM, Model Context Protocol, Continue, instinct-mcp · coding memory
