OpenCode
Open-source AI coding agent for the terminal.
Category: Development & Code · Coding assistants & IDEs
Features
opencode is an open-source AI coding agent for terminal environments that calls Anthropic Claude, OpenAI, Google Gemini, and xAI Grok using your own API key. Features include file, shell, diagnostics, and fetch tools plus a share function.
The MIT core is free. Alongside BYOK and local models, Zen is optionally available as OpenCode's own usage-based gateway; Go is a separate subscription with no published rate.
- Open-source AI coding agent for the terminal with no proprietary lock-in
- Supports Anthropic Claude, OpenAI, Google Gemini, xAI Grok, and more via your own API key
- Tools: file management, shell execution, search, diagnostics, and fetch
- Share feature for conversations with other developers
- MIT core free; optional Zen is usage-based and Go a separate subscription with no published rate
- LSP-powered diagnostics and symbol search for precise code navigation
Prices and plans
| Tier | Price | Period | What you get |
|---|---|---|---|
| Open Source | free | Permanent | Terminal, IDE, and desktop use BYOK for 75+ model providers |
Limits
The OpenCode core is open source under MIT. BYOK and local models remain available. Optionally, OpenCode Zen is OpenCode's own usage-based gateway with credits; OpenCode Go is a separate subscription whose current documentation does not publish a rate.
Similar tools
FAQ
Is OpenCode available for free?
Yes. A permanently free plan is published, not a time-limited trial.
Where is OpenCode's vendor based?
Anomaly, based in USA. For data processing and privacy terms the vendor's own contract governs.
Is OpenCode still active?
Live-checked against the official vendor page.
How many plans are documented for OpenCode?
The catalog documents 1 plans with price, billing period, and included features.
Which use case is OpenCode categorized for?
OpenCode is listed in the catalog under “Development & Code.”
Where do the details about OpenCode come from?
Prices, limits, and product details are documented against the listed official vendor page.
How we compare
We compare free access, paid entry, plan limits, features and the listed official sources. Unsourced figures stay marked as not published.
Only confirmed entries appear in the catalog. Prices, plans and limits come from listed official vendor pages. Missing figures stay marked as not published. Result lists are alphabetical by default and can be switched to Free access first; neither is a quality ranking. The vendor page always wins.
Edited and checked by the AI Compare team
Sources
- https://github.com/anomalyco/opencode
- https://opencode.ai
- https://opencode.ai/docs
- https://dev.opencode.ai/docs/zen
- https://dev.opencode.ai/docs/providers
Visit site (opens in a new tab)
Spotted an outdated figure? Vendor pages change without notice. Report an error