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
- 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 case | Rank | Score | Status |
|---|---|---|---|
| Best terminal / CLI coding agent | 4/6 | 72 | Preliminary · based on public info |
| Best free / open-source / bring-your-own-key | 3/6 | 76 | Preliminary · 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
- OpenCode: OpenCode adds HungerG Free, a stealth reasoning model, to OpenCode Go, free for a limited time with no end date given; Qoder also makes HungerG free (0 Credits) for individual users through Nov 30, Singapore time source
- OpenCode: OpenCode Go raises GLM-5.3's monthly limit to $500 on Go ($10) and $1,000 on Go Plus ($40) through Nov 22, 2026 (limited time) source
- OpenCode: OpenCode makes Tencent's Hy4 flash free for about two weeks, and it doesn't count against OpenCode Go limits source
- OpenCode: OpenCode Go: DeepSeek V4.1 Flash monthly limit up 25% ($100 Go, $200 Go Plus, $105 Go Teams; changed between Oct 30 and Nov 1), prices unchanged source
- OpenCode: OpenCode adds Pulse Alpha Free, a limited-time free stealth model (1M context; prompts may be retained to improve it; not available in the EU and some other countries) source
- OpenCode: OpenCode v2.2.3 adds a Claude Agent provider that runs Claude models through your own Claude Code login (no extra OpenCode charge) source
- OpenCode: OpenCode adds Go Teams: $20 per member per month, each member gets their own limits ($5/month higher than Go on every model); Go $10 and Go Plus $40 unchanged source
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.