OpenCode

ToolAdvancedFree with your own API keyTerminal coding agentOpen source

An open-source coding agent in the terminal that works with more than 200 model providers, including local models.

Terminal coding agentCategory
Free with your own API keyPricing
Windows, macOS, LinuxOperating systems
MITLicence
Anomaly (anomalyco; formerly under sst/opencode)Developer

Best for

An open-source terminal agent that works with many providers, including local models.

OpenCode is an open-source coding agent with a terminal interface (TUI) that is not tied to a single provider, supporting more than 200 providers through Models.dev. It includes built-in agents (build for full execution and plan for read-only work), and supports MCP, plugins, skills, custom commands and running several agents in parallel.

Recorded capabilities

MCP supportYes
Local workYes
Local modelsYes
Git integrationNot documented
Works in the terminalYes
Works in the browserYes
SubagentsYes
Multiple modelsYes

Key features

  • An open-source coding agent with a terminal interface (TUI)
  • Not tied to a provider: more than 200 providers through Models.dev
  • Built-in agents: build (full permissions), plan (read-only) and a general subagent
  • MCP servers, plugins, custom agents, skills and custom commands
  • Running several agents in parallel on the same project
  • A desktop app (beta), a web link, mobile apps and an SDK

Limitations

  • Package managers on Windows are not supported (standalone executables are available)
  • Access to paid models is billed separately unless you use the free models or the Go plan
  • The desktop app is in beta

Use cases

  • Coding from the terminal with any model provider
  • Using local models for private coding
  • Planning and analysis with the read-only plan agent
  • Building integrations through the SDK

Pricing and limits

Free plan
The software is free, and some free models are available without an account.
Usage limits
Go plan: a monthly dollar cap per model with 5-hour, weekly and monthly quotas, plus optional pay-as-you-go extra usage.

Links

This tool's data comes from the AI coding guide, last reviewed on 15 November 2026. Prices and features change; check the official website before deciding.

Sources

  1. Official source — opencode.ai
  2. Official source — opencode.ai
  3. Official source — opencode.ai
  4. Official source — github.com