Free models included or connect any model from any provider, including Claude, GPT, Gemini and more.
OpenCode is an open source agent that helps you write code in your terminal, IDE, or desktop.
LSP enabled
Automatically loads the right LSPs for the LLM
Multi-session
Start multiple agents in parallel on the same project
Share links
Share a link to any session for reference or to debug
GitHub Copilot
Log in with GitHub to use your Copilot account
ChatGPT Plus/Pro
Log in with OpenAI to use your ChatGPT Plus or Pro account
Any model
75+ LLM providers through Models.dev, including local models
Any editor
Available as a terminal interface, desktop app, and IDE extension
[*]
With over 120,000 GitHub stars, 800 contributors, and over 10,000 commits, OpenCode is used and trusted by over 5M developers every month.
[*]
OpenCode does not store any of your code or context data, so that it can operate in privacy sensitive environments. Learn more about privacy.
Access reliable optimized models for coding agents
Zen gives you access to a handpicked set of AI models that OpenCode has tested and benchmarked specifically for coding agents. No need to worry about inconsistent performance and quality across providers, use validated models that work.
Learn about ZenJoin the waitlist for early access.