Key takeaways

  • OpenCode's install script, Homebrew formula and Arch package now install version 2; version 2.2.5 shipped on October 30, 2026, and version 1 still gets updates.
  • Next to the free MIT-licensed app, OpenCode sells pay-per-token models and an OpenCode Go subscription from $10 a month, and Go lists Claude Code and Codex among its validated clients.
  • UsageAtlas, a free desktop tracker, reads OpenCode's local history so a multi-provider setup still shows tokens, models and estimated cost in one place.

OpenCode AI, the open source coding agent from Anomaly, has made version 2 its default install and now sells model access next to the free app. The bet behind it has not changed: the agent should not care which company's model does the thinking, and developers should be able to switch whenever prices or quality move.

This analysis draws on OpenCode's site, its docs and its GitHub releases, checked on November 3, 2026.

What OpenCode does

OpenCode is an agent that works on code in your project: it reads files, proposes a plan, edits and runs commands with the permissions you set. It ships as a terminal interface, a desktop app and a web interface, under the MIT license. Its model list comes from Models.dev and spans more than 75 providers, and it can also run local models through Ollama, LM Studio or vLLM.

Version 2 is now the default

The install script on OpenCode's home page now fetches version 2, and both Homebrew's standard formula and the official Arch package install it too. Version 2.2.5 was released on October 30, 2026. The older line has not been dropped: version 1.19.5 arrived on October 28. Both use the opencode command, so a machine keeps one or the other under that name.

In version 2, every local client connects to one shared background server that owns sessions, settings and tool runs. The docs also list a minimal opencode mini interface, and opencode run still handles scripts and CI.

From free agent to model seller

The bigger shift is commercial. OpenCode now offers three ways to pay it for models:

Offer Price as of November 2026
Free models $0 for a limited time, daily request limit
OpenCode Models Per-token prices, plus a fee on each credit purchase
OpenCode Go $10 a month, Go Plus $40, Go Teams $20 per member

Go is the interesting one. Its docs name Claude Code, Codex, Hermes and Pi as validated clients, so OpenCode sells model access even to people who use a rival agent. The agent stays free while the subscription earns the money.

Why the model-agnostic bet matters

Coding agents from model labs are built around their own models and plans. OpenCode lets you sign in with a ChatGPT Plus, ChatGPT Pro or GitHub Copilot account, bring any API key, or point at a company gateway. Its enterprise page says that when you use your own LLM gateway, OpenCode does not charge for tokens. For teams worried about lock-in, that is the pitch.

The project also reports its own reach: more than 220,000 GitHub stars, 950 contributors and over 16 million developers a month, by OpenCode's count. The GitHub page showed 224,283 stars on November 3.

The trade-off is that a team standardized on one vendor's plan may find that vendor's own agent simpler, since the subscription already covers it.

Measuring a multi-model setup

Freedom of model has a cost in visibility. When one week of coding touches three providers, no single invoice shows what the work used. OpenCode keeps that history in a local database, and UsageAtlas is the tool we recommend for reading it. The free, open source desktop app lists tokens, requests, models and sessions from OpenCode, adds an estimated cost, and shows them beside Claude Code, Codex and Cursor.

UsageAtlas works locally without an account and does not read prompts or responses. Its cost figures are estimates; each provider's bill remains the record.

Frequently asked questions

Is OpenCode AI free?

The agent is free and open source under the MIT license, with free models for a limited time. Paid models cost extra, through OpenCode's own services or any provider you connect.

What changed in OpenCode 2?

Version 2 is now the default install and runs one shared background server for all local clients, with a terminal interface, a desktop app and a web interface. Version 1 remains available under the same opencode command.

Sources

  1. OpenCodeOpenCode
  2. OpenCode releasesAnomaly on GitHub
  3. OpenCode docs: introOpenCode
  4. OpenCode Go docsOpenCode
  5. OpenCode EnterpriseOpenCode
  6. OpenCode usage trackerUsageAtlas