Subscribe

OpenCode

Open-source (MIT) terminal coding agent, also available as a desktop app and IDE extension. Works with 75+ model providers, local models, or its own free models (offered for a limited time).

Last updated

Try OpenCode

Website
https://opencode.ai
Pricing
Free and open source (MIT), any provider. Includes free models offered for a limited time, with no account needed (as of Nov 19, 2026 the docs list 12, including Hy4 flash Free, DeepSeek V4.1 Flash Free and Big Pickle; Pulse Alpha Free was retired Nov 6). Some free models may keep or train on your data, so check OpenCode's privacy list before you send private code, and you can log in with an existing ChatGPT Plus/Pro or GitHub Copilot subscription, or (since v2.2.3, Oct 30, 2026) use a built-in Claude Agent provider that runs on your own Claude Code login (Anthropic hasn't said whether that's allowed; its Agent SDK docs say that unless previously approved, third-party developers can't offer claude.ai login or rate limits for their products). Optional pay-as-you-go credits (formerly OpenCode Zen): a processing fee of 4.6% plus $0.31 is added to each credit purchase, or $1.23 on a $20 top-up (model usage billed per request at provider cost, no markup); refunds possible within 14 days of a charge if those credits are unused (contact OpenCode). Optional OpenCode Go subscription: $10/mo, Go Plus $40/mo with higher limits, or Go Teams $20 per member per month with a 2-member minimum (new Oct 30, 2026: each member gets their own limits, $5 a month higher than Go on every model), for a curated lineup of 30 models (including Kimi K3.1 Pro, Gemini 4 Argon, Claude Haiku 5.5, GPT 6 Luna); usable with OpenCode or any agent, cancel any time. Through Nov 22, 2026, GLM-5.3's monthly limit is raised to $500 on Go and $1,000 on Go Plus (limited time). Price checked 2026-11-04 source · OpenCode pricing breakdown
Affiliate program
none (OSS). Link above is a plain vendor URL.

Rankings

Use caseRankScoreStatus
Best terminal / CLI coding agent4/672Preliminary · based on public info
Best free / open-source / bring-your-own-key3/676Preliminary · based on public info

Hands-on test log

2026-10-14 · Best terminal / CLI coding agent · cli-agent fixed tasks v1 · Run not completed

Environment: opencode 1.19.0 with a local Ollama provider.

Command: opencode run -m ollama/qwen-coder-3b "<task prompt>"

Attempted, but the run never reached the model: the CLI stalled after init in our sandboxed box network (no request reached Ollama). We count this as an environment failure, not a tool result, and the score is unchanged.

Raw logs: ATTEMPT.md · task definitions

Alternatives to OpenCode

Updates

Next steps

Spotted an error? Send a correction.

Free: the AI Coding Cost Cheat Sheet (PDF)

What $0, about $20 and $100+ a month gets you across 22 AI coding tools, with prices copied from vendor pages when we wrote it; plans change often, so check each vendor's page before you buy. Enter your email to download it now. You'll also get our free weekly email: what shipped and which picks or prices moved, about a 2-minute read. Unsubscribe anytime.