Skip to content

OpenCode

Open-source terminal coding agent with free models.

Anomaly · open source · checked Oct 22, 2026

What it is

OpenCode is a fully open-source coding agent (terminal, desktop and web) that works with any provider, including Claude, GPT and Gemini, and includes a set of free models usable without an account.

Use cases

  • →Provider-agnostic agent setups
  • →Developers who want open source
  • →Trying an agent at zero cost

Pros

  • +Open source, any model
  • +Free models out of the box
  • +Active community

Cons

  • −You manage provider keys/costs
  • −Less hand-holding than commercial tools

Where it ranks

On the Release Radar

OpenCode v1.19.4

Security-focused patch: upgrades the bundled Bun runtime to 1.4.4, which carries fixes for Brotli, TLS, HTTP/1.1, HTTP/2, HTTP/3, WebSocket and fetch, and refreshes root certificates.

Verdict: Every OpenCode user: a quick update for the runtime security fixes.

Worth trying OpenCode OpenCode releases (GitHub)

FAQ

How much does OpenCode cost?

100% free and open source; includes free models. You pay your model provider if you connect one. (As checked on 2026-10-22; confirm on https://opencode.ai/.)

What is OpenCode best for?

#5 in Best Coding Agents & CLI Agents: Open-source, provider-agnostic setups.

What are the best alternatives to OpenCode?

Claude Code (Anthropic's agentic coding tool for terminal, IDE and cloud); Aider (The original open-source AI pair programmer for the terminal); Cline (Open-source coding agent for VS Code and CLI).

Is OpenCode open source?

Yes, OpenCode is open source (or has an open-source core).

esc

↑↓ to navigate · enter to open

Daily email

Get the daily Release Radar

The builder releases worth your time, each with a one-line verdict. One email a day, no spam.