OpenCode
An open-source coding agent that runs in the terminal, as a desktop app or via SDK, and works with 200+ model providers including local models.
Overview
- Best for
- terminal workflows, bring-your-own-model, local models, reusing existing AI subscriptions
- Input
- text, code, image
- Output
- code, text
- Context window
- Not listed
- Access
- Open weights
- License
- MIT open-source tool, bring your own model
- Company
- OpenCode (Anomaly)
Strengths and limitations
Good at
- Model-agnostic: 200+ providers via Models.dev, including local models
- Can log in with an existing ChatGPT Plus/Pro or GitHub Copilot subscription
- Free models available with no account
- Terminal UI, desktop app, iPhone app (TestFlight) and SDK
Watch out for
- No official IDE extensions listed
- Quality depends on the model you choose
- Mobile app still in testing; Android not yet available
Where to use it
Pricing
- Apps and plans
- Free (open source, includes free models); OpenCode Go from $10/mo for curated models
- API
- Not listed
- Good to know
- Otherwise you pay your chosen model provider.
Checked November 11, 2026. Prices change often; confirm on the official site before you pay.
Similar coding models
An open-source autonomous coding agent for VS Code, with a CLI and desktop app, that plans, edits files and runs commands with your approval. You pay only for the model you connect.
A 128B dense open-weight model that replaced Devstral 2 as the engine of Mistral's Vibe CLI coding agent and Vibe remote cloud agents. It targets agentic coding with self-hosting as an option.
Anthropic's agentic coding tool that reads your codebase, edits files, runs commands and opens pull requests. It runs in the terminal, IDEs, a desktop app and the browser.