Egor Urvanov

OpenCode

Coding agents · Open Code

OpenCode is a free, open-source coding agent that runs in the terminal; there is also a desktop app and a web app. You pick the model: Claude, GPT, Gemini and dozens of others through an API, or a local one; you pay only the model provider. Modes: Build edits code, Plan only plans and does not change files. It reads project rules from AGENTS.md, and the /init command creates that file from the repo.

LLMany model or a local oneyouagentyour projecttaskeditsAGENTS.mdproject rulesterminalmainIDEwhere it works● model, people, systems, data  ● agent and harnessAn open-source agent in the terminal, model of your choice, local included

Frequently asked questions

What is OpenCode?

A free open-source coding agent in the terminal, with a desktop app and a web app too. You pick the model and pay only its provider.

Which models work in OpenCode?

Claude, GPT, Gemini and dozens of others through an API, as well as a local model on your computer.

How do you install OpenCode?

On macOS and Linux: curl -fsSL https://opencode.ai/v2/install | bash; with Homebrew: brew install anomalyco/tap/opencode-v2; with npm: npm install -g @opencode/cli. On Windows package managers are not supported: download the binary from the OpenCode site.

How much does OpenCode cost, and is there a free way?

The agent itself is free; you pay only for the model. There is the OpenCode Go subscription at $10 a month and OpenCode Console with pay-per-token pricing; Console has free models, some for a limited time. A local model on your computer also works for free.

How is OpenCode different from Claude Code?

They are built the same way: both read the project, edit files and run commands. OpenCode is open source and works with any model, Claude Code only with Claude models.

Source: OpenCode docs

Read more: Claude Code, Codex, Cursor and Hermes Agent: which to pick

Where it appears · 6

More 1

Related terms

Whole glossary

© 2026 Egor Urvanov