Back to products
opencode

opencode

Your terminal's AI agent, with any model you want

Overview

What it is

opencode is an open-source AI coding agent built for the terminal. It features a native TUI, multi-session support, and is model-agnostic, letting you use Claude, OpenAI, Google, or even local models.

Intent

I need it when

Write and refactor code faster with AI assistance in terminal or IDE

OpenCode is an open source AI coding agent available as terminal interface, desktop app, or IDE extension that helps developers write, refactor, and understand code. It supports 75+ LLM providers including Claude, GPT, and Gemini, allowing users to leverage their existing AI subscriptions or free models.

Maintain code privacy and security while using AI coding tools

OpenCode does not store code or context data, operating with privacy-first design. It processes locally or through direct API calls to user-selected providers, making it suitable for privacy-sensitive environments and organizations with strict data governance requirements.

Access reliable AI models optimized specifically for coding tasks

OpenCode Zen provides handpicked, tested, and benchmarked AI models specifically optimized for coding agents. This eliminates inconsistent performance across providers and offers validated models without requiring separate AI subscriptions.

Deploy AI coding agent across organization with centralized control

OpenCode Enterprise offers per-seat pricing with centralized config, SSO integration, and internal AI gateway support. Organizations can enforce single configuration across all users, disable external providers, and ensure code never leaves infrastructure.

Share and debug code sessions with team members

OpenCode supports shareable conversation links via /share command, allowing developers to share debugging sessions and code discussions with teammates for reference and collaboration without storing data by default.

Drop

Not a fit when

  • User requires guaranteed SLA or commercial support without enterprise contract
  • Organization prohibits open source software or requires proprietary-only solutions
  • User needs real-time collaborative coding with multiple developers in single session
  • Project requires air-gapped deployment without any external API connectivity
  • User wants managed hosting without self-hosting or terminal-based setup
Commercials

Pricing

Free open source with optional paid Zen service for curated models; Enterprise per-seat pricing available