OpenCode
OpenCode is an open-source command-line tool for AI-assisted coding, built by Anomaly (released 2024-12). OpenCode's verified model list is still being expanded, so this page emphasizes runtime shape, pricing, and comparable AI coding harnesses. It's free and open source. Engineers run it from a terminal, where it can inspect repositories, edit files, call tools, and drive repeatable agentic coding workflows across local projects.
Overview
Open-source coding agent available as a terminal interface, desktop app, and IDE extension, with LSP context, parallel sessions, and multi-provider model support.
Compare OpenCode side-by-side with other CLI, IDE, cloud, and framework agents on pricing, model coverage, and release cadence.
Best LLMs for this agent
Pricing and Provider Comparison
Hosted agents expose plan pricing. Bring-your-own-key agents pass the main cost through the model provider route you configure.
Featured Model Specs
Model Compatibility Matrix
Underlying Models
Compare to Similar Harnesses
FAQ
What is OpenCode?
OpenCode is an open-source command-line tool for AI-assisted coding, built by Anomaly (released 2024-12). Engineers run it from a terminal, where it can inspect repositories, edit files, call tools, and drive repeatable agentic coding workflows across local projects. It is primarily used for agentic coding from a local shell.
How much does OpenCode cost?
OpenCode is free and open source. You pay only for the underlying model API usage.
Is OpenCode open source?
Yes, OpenCode is open-source software.
What are alternatives to OpenCode?
Alternatives include MiMo-Code, Mistral Vibe, and Gemini CLI.
When was OpenCode released?
OpenCode was released in 2024-12.