Upvotes
0
Pricing
Open Source
Category
Coding Tools
In the database since
Oct 2026
Overview
About OpenCode
OpenCode is a free, open-source AI coding agent that runs on your own machine. It works in your terminal, desktop app, browser, or IDE. It connects to 75+ model providers. You pick the AI model and pay only for its API usage. The agent reads your full codebase, edits files, and runs shell commands for you. It is built by the team behind SST and carries over 200,000 GitHub stars. Check the official docs for setup, features, and current details.
Key Features
1. Terminal-First Agent
Work inside a polished terminal UI that reads files, edits code, and runs shell commands. The agent narrates each step as it works.
2. 75+ Model Providers
Connect any model through the Models.dev catalog, from Claude and GPT to Gemini and local Ollama models. Switch providers with one config change.
3. Desktop, Browser, and IDE Apps
Use the same agent in a desktop app, browser tab, or IDE extension. One background service keeps sessions running across clients.
4. Plan and Build Modes
Plan mode proposes a strategy before touching code. Build mode then executes changes across files with full context.
5. Deep Code Intelligence
Built-in LSP support gives the agent real understanding of types, references, and symbols instead of plain text matching.
6. Free and Open Source
The agent is MIT-licensed and costs nothing to use. You pay only for the language model you point it at.
FAQ
How much does OpenCode cost?
The agent itself is free and open source. You pay only for the AI model's API usage. A free or local model makes the whole stack cost zero.
Which models can I use?
Over 75 providers, including Claude, GPT, and Gemini, plus local models through Ollama. A "Zen" list highlights models tested for coding agents.
How do I install it?
Run the one-line install script from opencode.ai, or install with npm, brew, or paru. Detailed setup is in the official docs.
Does it store my code?
No. OpenCode runs on your machine. It does not store your code or context data, which suits privacy-sensitive work.
Can it run in automated workflows?
Yes. A headless mode lets you pipe tasks into CI/CD pipelines without human interaction.
How is it different from GitHub Copilot?
Copilot is a paid, closed autocomplete tool tied to one ecosystem. OpenCode is a free, open-source full agent that works with any model.
Conclusion
OpenCode gives developers a full AI coding agent without lock-in or subscription fees. It suits terminal-first developers who want control over their models and data. Bring your own API key. Or run local models for a completely free stack. Setup takes minutes with the one-line install from the official site. Millions of developers already use it through its growing community.
Keep exploring
Similar AI tools
Ranked by the job they do, their capabilities, and how closely they fit this workflow.