wowprompt
OpenCode logo

OpenCode

by Anomaly

An open-source coding agent for the terminal, desktop and IDE that works with 75 or more model providers, including free models

Visit OpenCode
  • PricingFree
  • PlatformsmacOS, Windows, Linux +1
  • CategoryDeveloper
  • Best forterminal-first developers

What OpenCode does

OpenCode is an open-source AI coding agent that runs in the terminal, as a desktop app and as an IDE extension. It loads the right language servers for your project automatically, can run several agent sessions on the same codebase in parallel, and lets you share a link to any session for review or debugging. It is model-agnostic: it connects to more than 75 providers through Models.dev, including local models, and you can sign in with an existing GitHub Copilot or ChatGPT Plus or Pro account instead of paying again. Some free models are included. For people who want a curated option, the Zen service offers benchmarked coding models on pay-as-you-go pricing, and the Go subscription gives low-cost access to a set of models. It suits developers who prefer the terminal, want to avoid lock-in to one model vendor, or work where code must not be stored by the tool. It differs from Claude Code or Codex mainly in being open and provider-neutral.

How to use OpenCode

  1. Install with the one-line script, npm, Homebrew or another package manager, then run opencode in a project folder.
  2. Connect a provider or sign in with an existing subscription, describe a task, and review the diffs it proposes.
  3. Many developers keep it in a terminal pane next to their editor for refactors, bug fixes and quick scripts during the day.

Best for

  • terminal-first developers
  • using an existing Copilot or ChatGPT subscription for agent work
  • switching between many model providers
  • privacy-sensitive codebases

Pros and cons

What it does well

  • Open source and free, with no required subscription.
  • Works with 75 or more providers and local models.
  • Parallel sessions and shareable session links help with larger tasks.

Where it falls short

  • Output quality depends heavily on which model you connect.
  • The terminal-first workflow suits some developers more than others.
  • Managing several providers and keys adds setup work.

OpenCode pricing

FreePrices as listed by the maker; check the site for the latest.
  • Free and open source, with some free models included
  • optional Go subscription 10 USD a month or Go Plus 40 USD a month
  • Zen models billed pay-as-you-go at provider prices
ai coding agentopen sourceterminalmodel agnosticclilocal models

Alternatives to OpenCode

All developer tools