opencode is an open-source AI coding agent from Anomaly, released under the MIT license. It runs as a terminal UI, a desktop app for macOS, Windows, and Linux, a mobile app, and an SDK for your own scripts. The agent is free and comes with a set of free models that need no account.
models and pricing
opencode has no fixed model. It lists 200+ LLM providers through Models.dev, local models such as Ollama included, and you can log in with a ChatGPT Plus or Pro or GitHub Copilot subscription. The optional opencode Console adds pay-per-token access to models the opencode team has tested, and opencode Go is a subscription to open-weight models at $10 a month, with Go Plus at $40 a month and Go Teams at $20 per member a month. Nothing requires either. opencode states that your data is only stored when you use its free models.
what it’s good at
A plan agent explores and plans without editing project files, and /undo
and /redo roll recent file and conversation changes back and forward. An
AGENTS.md file gives it persistent project guidance. The same agent is
reachable from the terminal, a desktop app, a phone, or an SDK.
opencode in crystl
opencode runs in a crystl shard with its own model selection, activity visibility, and real approval cards for its tool calls, delivered through a plugin crystl injects into the session. Crystl treats its compatibility as partial because the card only opens on opencode’s own permission event, and a missed answer falls back to opencode’s native prompt.
The profile describes what crystl has tested; it never supplies a command, hook script, or launch setting. Those remain local to the Crystl installation.