OpenCode

Code Refactoring
Free

Open-source AI agent for developers, available in the terminal, IDE, and as a desktop application.

Overview

OpenCode

Description of OpenCode AI

OpenCode is an open-source AI agent for developers that runs in the terminal, IDE, and as a desktop app. The tool connects to more than 75 LLM providers, including Claude, GPT, and local models, without tying users to a single vendor. OpenCode supports two working modes (Build and Plan), uses LSP to understand code structure, and also works with MCP servers, /init and /undo commands. With it, you can generate code, refactor, explain snippets, and fix errors directly from the console or a built-in editor with a customizable TUI interface.

OpenCode specifications

CharacteristicValue
TypeAI agent for developers
LicenseMIT (open source)
DeveloperAnomaly (USA)
Working modesBuild (full file access) and Plan (read-only and plan suggestion without edits)
Model provider supportMore than 75 LLM providers (Anthropic, OpenAI, Google, OpenRouter, local models via Ollama, etc.)
Subscription supportGitHub Copilot, ChatGPT Plus/Pro
Free tier availabilityYes (free agent; pay only for provider tokens or use free models in Zen)
Interface languageRussian interface: No, Russian language: Yes
PlatformsWEB, PC, Mobile, IDE, API, CLI, MCP
Business modelFree

Who is OpenCode suitable for?

Developers who value model freedom

OpenCode is suitable for developers who want an agent next to the repository and the ability to choose among dozens of LLM providers. The tool does not tie users to a single vendor, allowing them to switch between cloud

Writing and code generation
Refactoring and bug fixes
Explanation of code fragments
Development automation in the project

Pricing

PlanPriceFeaturesLimits
FreeFreeThe agent itself is free, MIT license, 4 free models in Zen, Zen team workspaces are free in betaFree Zen models may use request data to improve the models

Frequently asked questions

See also

OpenCode — AI agent for developers | review