OpenCode
Coding agent by Anomaly
ActiveOpen source · MITVerified Oct 22, 2026
Open-source, provider-agnostic AI coding agent with a terminal UI, plus a desktop app (beta) and an IDE integration.
Key facts
- Type
- Coding agent · CLI, Desktop app, IDE extension
- Pricing
- Free tier, paid from $10/mo
- Free tier
- Free and open source. Use your own API keys (75+ providers), existing subscriptions such as GitHub Copilot or ChatGPT Plus/Pro, local models, or the limited-time free models on OpenCode's hosted gateway.
- License
- MIT
- Models
- Claude, GPT, Gemini (via Google Vertex AI), GitHub Copilot models, DeepSeek, Grok, 75+ providers via Models.dev, Local models via Ollama, LM Studio, llama.cpp
- Platforms
- macOS, Linux, Windows
- Bring your own API key
- Yes
- Local models
- Yes
- MCP support
- Yes
- Self-hostable
- No
- GitHub stars
- 219,959
- Last commit
- Oct 22, 2026
OpenCode pricing
Go
$10/month
Optional subscription for a curated list of open coding models. Usage limits are monthly dollar amounts per model, plus 5-hour and weekly allowances. No annual price listed.
Go Plus
$40/month
Higher per-model usage limits than Go. No annual price listed.
Enterprise
Custom
Custom per-seat pricing through sales. No token charges when you use your own LLM gateway.
Best for
- Terminal-first developers who want an open-source agent
- Developers who switch between many model providers or reuse existing subscriptions
- Teams that want to route traffic through their own LLM gateway
Pros
- MIT-licensed, with a very large and active community (about 220k GitHub stars)
- Works with 75+ providers plus local models
- Supports MCP servers and ACP, so it can run inside editors such as Zed
- Optional low-cost subscription for open-weight models
Cons
- WSL is recommended on Windows for the best experience
- Desktop app is still in beta
- Easy to confuse with the archived opencode-ai/opencode project of the same name
How OpenCode compares
Sources (13)
- pricingPlans: https://opencode.ai/go
- pricingPlans: https://opencode.ai/docs/go/
- pricingPlans: https://opencode.ai/enterprise
- license: https://github.com/anomalyco/opencode/blob/dev/LICENSE
- platforms: https://opencode.ai/docs/
- platforms: https://github.com/anomalyco/opencode
- modelsSupported: https://opencode.ai/docs/providers/
- ideIntegrations: https://opencode.ai/docs/ide/
- ideIntegrations: https://zed.dev/docs/ai/external-agents
- mcpSupport: https://opencode.ai/docs/mcp-servers/
- status: https://github.com/anomalyco/opencode
- status: https://github.com/anomalyco/opencode/releases
- launchedAt: https://github.com/anomalyco/opencode/releases