OpenCode is an MIT-licensed open-source terminal coding agent that is fully BYOK, with optional hosted model access via Zen and Go.

SEC.01

What it does

  • 01BYOK
  • 02Open source (MIT)
  • 03Zen (free + PAYG models)
  • 04Go ($10/mo open models)
  • 05Large community
SEC.02

Who it's for

Leading OSS terminal agent; cheapest path to open coding models.

PRICING

Pricing

Free (OSS) + BYOK; Zen PAYG; Go $10/mo. List prices as checked against the vendor's pricing page on 2026-09-25; plans change often, so confirm before deciding.

ALT

Other CLI agents (14)

Claude Code

Anthropic · cli-agent

cli/editor/api · local · Included in Claude Pro $20/mo and Max ($100/$200); API pay-per-token

Codex CLI

OpenAI · cli-agent

cli/editor/api · local/cloud · Included in ChatGPT Free/Go/Plus/Pro/Business/Enterprise; credits for extra usage

Aider

Community / OSS · cli-agent

caution
cli · local · Free (OSS) + your model API costs

Amp

Amp Inc. · cli-agent

cli/editor · local · Hobby free (BYOK / own runners); Megawatt $20/mo; Gigawatt $200

OpenHands

Community / OSS · cli-agent

cli/api/editor · local/cloud · Free OSS self-host; Cloud free tier + $20/mo

Goose

Block · cli-agent

cli · local · Free (OSS) + model costs

Gemini CLI

Google · cli-agent

caution
cli · local · Consumer/free tiers ended Jun 18, 2026; API key or Code Assist Standard/Enterprise only

Warp

Warp · cli-agent

cli · local/cloud · Free; Pro $20/mo; Team $45–50/user; Max $200

Muse Code

Meta · cli-agent

cli/api · local · Contributor free (5h token windows); subs rolling out; API $1.25/M in · $4.25/M out

Grok Build

xAI · cli-agent

cli/editor/api · local · Free to try; SuperGrok $30/mo or X Premium+ $40/mo; API grok-4.6 $2/M in · $6/M out

Kimi Code

Moonshot AI · cli-agent

cli/editor/api · local · Free OSS; Kimi Code managed service or Moonshot API keys (multi-provider)

Qwen Code

Alibaba Cloud · cli-agent

cli/editor/api · local · Free OSS (Apache-2.0); Alibaba Cloud Coding Plan or any compatible provider

Mistral Vibe

Mistral AI · cli-agent

cli/editor · local · CLI open source; models via Mistral API / Le Chat; Devstral Small self-deployable

Crush

Charm · cli-agent

cli · local · Free OSS (FSL-1.1-MIT); BYO provider keys
VENDOR

More from Community / OSS

FAQ

Frequently asked

What is OpenCode?

OpenCode is an MIT-licensed open-source terminal coding agent that is fully BYOK, with optional hosted model access via Zen and Go.

Who is OpenCode for?

Leading OSS terminal agent; cheapest path to open coding models.

How much does OpenCode cost?

Free (OSS) + BYOK; Zen PAYG; Go $10/mo. List prices as checked against the vendor's pricing page on 2026-09-25; plans change often, so confirm before deciding.

Does OpenCode run locally or in the cloud?

OpenCode runs locally on your machine. Its interfaces are a terminal (CLI).

What are alternatives to OpenCode?

Other CLI agent entries in the catalog: Claude Code, Codex CLI, Aider, Amp, OpenHands, Goose, Gemini CLI, Warp, Muse Code, Grok Build, Kimi Code, Qwen Code, Mistral Vibe, Crush. Different categories solve the same problem differently — see the CLI & terminal agents category page for tradeoffs.