logo OpenCode

OpenCode

Anomaly · Terminal & CLI Agents · Updated
Visit site

OpenCode is a model-agnostic, open-source AI coding agent that runs in the terminal, desktop, and IDE. It allows developers to connect 75+ LLM providers and execute coding tasks while maintaining privacy and avoiding vendor lock-in.

Recent releases (v1.18.x) finalized the Desktop v2 migration, introduced improved Right-to-Left layout support, enhanced MCP server compatibility, and added default subagent execution constraints to prevent uncontrolled recursion.

As of

  • Model-agnostic architecture supporting 75+ providers
  • Dual-mode agent system: Build (active) and Plan (read-only)
  • Native LSP integration for self-correcting diagnostics
  • Git-based snapshotting with undo/redo capabilities
  • Full local execution support via Ollama or LM Studio
✓ Best For

Developers who need complete model flexibility, privacy-sensitive environments requiring local model execution, and users seeking to avoid vendor lock-in with transparent per-token costs.

✗ Not Ideal For

Users who prefer a polished, all-in-one commercial product with first-party support or those who require deep, pre-configured integration with specific platforms like GitHub or ChatGPT.

Freemium

The core CLI/agent is open-source and free to use. Users can BYO-key (pay provider directly), use OpenCode Zen (pay-as-you-go gateway), or subscribe to OpenCode Go ($10/month) for access to curated open-weight models.

OpenCode is the leading open-source alternative for developers who prioritize control and model-agnosticism. While it requires more initial configuration than closed-source rivals, its ability to run locally and swap models mid-session makes it a powerful, cost-effective tool for daily development.
AI Coding AgentOpen SourceTerminal-basedModel AgnosticSelf-hosted
Is OpenCode free?

OpenCode is Freemium. The core CLI/agent is open-source and free to use. Users can BYO-key (pay provider directly), use OpenCode Zen (pay-as-you-go gateway), or subscribe to OpenCode Go ($10/month) for access to curated open-weight models. Check the official site for current plans.

What is OpenCode best for?

Developers who need complete model flexibility, privacy-sensitive environments requiring local model execution, and users seeking to avoid vendor lock-in with transparent per-token costs.

Who makes OpenCode?

OpenCode is developed by Anomaly. It is listed in the Terminal & CLI Agents category on ai.dosa.dev.

Track OpenCode in your AI stack

Sign in with GitHub or Google to Zap tools, vote, and get a README badge showing your stack.

See all OpenCode alternatives

Content on this page is AI-generated. Please verify details with the vendor's website for accuracy.