Skip to content

The datasheet for every AI agent

Summary

OpenCode is an open source AI coding agent that runs in a terminal interface, a desktop app or an IDE extension. It connects to any LLM provider, or to the vendor's own OpenCode Zen model gateway, and processes code locally.

Best for
Developers who want a genuinely free, fully open-source coding agent that works with any model provider, including their own local Ollama models, without being locked into one vendor's terminal tool.
Not for
Teams that want a single vendor's fully-managed, zero-setup hosted service with a traditional support contract, or anyone who needs to run OpenCode's local server on a shared or untrusted network without extra hardening given its disclosed 2026 security history.
From
Freethen $10/month
Free tier
YesThe agent itself is free and open source with no account needed. On the Zen gateway several models are priced Free for input, output and cached read, but the vendor states each is free 'for a limited time'. Enterprise features and per-seat support are not free.
Visit OpenCode CompareFind alternatives

What it does

Writes code
YesAuthors new features from a plain description, with a Plan mode first that proposes an approach before any file is written.You can ask OpenCode to add new features to your project. Though we first recommend asking it to create a plan.opencode.ai/docs
Debugs and fixes
YesDocumented as fixing issues end to end in GitHub, working on a branch and submitting the change as a pull request.Fix and implement: Ask OpenCode to fix an issue or implement a feature. And it will work in a new branch and submits a PR with all the changes.opencode.ai/docs/github
Reviews code
YesA GitHub workflow can trigger it on every pull request for automated review, and line comments pass it the diff context.Automatically trigger OpenCode when PRs are opened, synchronized, or reopened. Useful for automated reviews.opencode.ai/docs/github
Whole-codebase work
PartlyIt loads language servers and has a read-only Explore subagent for whole-repo search, but the vendor never claims repository-wide migrations.A fast, read-only agent for exploring codebases. Cannot modify files. Use this when you need to quickly find files by patterns, search code for…opencode.ai/docs/agents
Ships it
PartlyIt stops at a branch and pull request in your GitHub Actions runner; no deployment step is documented anywhere on the site.it will work in a new branch and submits a PR with all the changesopencode.ai/docs/github
Done-for-you service
NoYou run the software yourself; the only human engagement offered is an enterprise sales conversation about pricing and rollout, not delivery work.OpenCode is open source and does not store any of your code or context data, so your developers can simply get started and carry out a trial.opencode.ai/docs/enterprise

Not established: Writes tests

How much it does unattended

Runs autonomously
PartlyAn --auto flag approves everything not explicitly denied, but the shipped default asks for approval on external directories and repeat loops.Start OpenCode with --auto to automatically approve permission requests that are not explicitly denied.opencode.ai/docs/permissions
Multi-agent
YesPrimary agents delegate to subagents in child sessions, and the vendor recommends it explicitly for running work in parallel.A general-purpose agent for researching complex questions and executing multi-step tasks. Has full tool access (except todo), so it can make file…opencode.ai/docs/agents
Agent permissions
YesEvery tool is gated by an allow/ask/deny rule, with glob-level rules per bash command or file path and per agent overrides.OpenCode uses the permission config to decide whether a given action should run automatically, prompt you, or be blocked.opencode.ai/docs/permissions

Which models it runs on

Claude
YesAnthropic is a first-class provider, and the vendor's own Zen gateway serves several Claude models with published per-token prices.Once you've signed up, run the /connect command and select Anthropic.opencode.ai/docs/providers
GPT
YesGPT models are listed on the Zen gateway endpoint table with their own model IDs, alongside direct OpenAI and Azure provider support.Free models included or connect any model from any provider, including Claude, GPT, Gemini and more.opencode.ai
Open models
YesOpen-weight families such as Qwen, DeepSeek, GLM and Kimi are served through Zen, and local OpenAI-compatible servers can be configured.OpenCode uses the AI SDK and Models.dev to support 75+ LLM providers and it supports running local models.opencode.ai/docs/providers
Model choice
YesYou choose the provider and model, per agent if you want, and the vendor's own gateway is stated to be optional.Zen works like any other provider in OpenCode. You login to OpenCode Zen and get your API key. It's completely optional and you don't need to use it…opencode.ai/docs/zen

Where you use it

In your editor
YesA VS Code family extension installs itself on first run and adds selection sharing plus file-reference shortcuts.OpenCode integrates with VS Code, Cursor, or any IDE that supports a terminal. Just run opencode in the terminal to get started.opencode.ai/docs/ide
On the command line
YesThe terminal is the primary surface: a TUI by default, plus scriptable subcommands for one-shot runs and server mode.The OpenCode CLI by default starts the TUI when run without any arguments.opencode.ai/docs/cli
In your pipeline
YesIt runs inside your own GitHub Actions runner, triggered by comments, PR events, cron schedules or manual dispatch.OpenCode integrates with your GitHub workflow. Mention /opencode or /oc in your comment, and OpenCode will execute tasks within your GitHub Actions…opencode.ai/docs/github
In a browser
PartlyThere is a browser interface, but it is a local server you start yourself rather than a hosted product you log into.OpenCode can run as a web application in your browser, providing the same powerful AI coding experience without needing a terminal.opencode.ai/docs/web

Whose machine it runs on

Self-hosted
YesThe agent runs on your own machine or server and can be pointed exclusively at an internal AI gateway with other providers disabled.OpenCode does not store your code or context data. All processing happens locally or through direct API calls to your AI provider.opencode.ai/docs/enterprise
Open source
YesThe vendor states it plainly on the enterprise page and publishes the repository, releases and a container image publicly.OpenCode is open source and does not store any of your code or context data, so your developers can simply get started and carry out a trial.opencode.ai/docs/enterprise

What it costs to run

How it meters
PartlyThe agent itself is free; inference on the vendor's Zen gateway is metered per token, while the enterprise offer is priced per seat instead.We support a pay-as-you-go model. Below are the prices per 1M tokens.opencode.ai/docs/zen
Free tier
YesThe software installs and runs without any purchase, and several gateway models are priced at zero for input and output.Free models included or connect any model from any provider, including Claude, GPT, Gemini and more.opencode.ai
API access
YesA headless HTTP server exposes sessions, messages and tools behind an OpenAPI 3.1 spec used to generate its own SDK.The opencode serve command runs a headless HTTP server that exposes an OpenAPI endpoint that an opencode client can use.opencode.ai/docs/server
MCP server
PartlyIt consumes local and remote MCP servers as a client, but the vendor documents no MCP server of its own for other agents to query.You can add external tools to OpenCode using the Model Context Protocol, or MCP. OpenCode supports both local and remote servers.opencode.ai/docs/mcp-servers
Bring your own key
YesYou supply provider API keys yourself, stored locally, and can keep using your own OpenAI or Anthropic keys even inside the Zen workspace.You can use your own OpenAI or Anthropic API keys while still accessing other models in Zen. When you use your own keys, tokens are billed directly…opencode.ai/docs/zen

Buying it for a team

A company can buy it
YesAn organisation can buy an enterprise seat arrangement, and Zen workspaces let a team be invited and billed together.We use a per-seat model for OpenCode Enterprise. If you have your own LLM gateway, we do not charge for tokens used.opencode.ai/docs/enterprise
Seat model
PartlyPer-seat pricing is confirmed but the seat rate is quote-only, and no seat floor or ceiling is published.We offer per-seat enterprise pricing. If you have your own LLM gateway, we do not charge for tokens used.opencode.ai/enterprise
Pooled budget
YesA Zen workspace shares one balance, with a workspace-wide monthly ceiling and separate per-member limits set by an admin.You can also set a monthly usage limit for the entire workspace and for each member of your team.opencode.ai/docs/zen
Admin controls
YesConfig-level permission rules constrain tools and paths, and an enterprise central config can force one gateway and disable other providers.With the central config, OpenCode can also be configured to use only your internal AI gateway. You can also disable all other AI providers, ensuring…opencode.ai/docs/enterprise
Single sign-on
PartlySSO is offered only through the enterprise central config, arranged by contacting sales, and no SAML or OIDC protocol is named.Through the central config, OpenCode can integrate with your organization's SSO provider for authentication.opencode.ai/docs/enterprise

Not established: Audit log

What happens to your code

Opt out of training
PartlyZen providers are zero-retention and non-training by default, but named free and contributor models explicitly use your data to improve models.Our providers follow a zero-retention policy and do not use your data for model training, with the following exceptions:opencode.ai/docs/zen
Data residency
PartlyZen inference is stated to be US-hosted only; for other providers residency is whatever your own provider or internal gateway gives you.All our models are hosted in the US.opencode.ai/docs/zen
Getting out
PartlySessions and code stay on your own disk and the vendor disclaims ownership, but nothing is published about expiry of unused Zen balance.You own all code produced by OpenCode. There are no licensing restrictions or ownership claims.opencode.ai/docs/enterprise
Certifications
PartlyA SOC 2 Type 2 report is available under NDA through the Trust Center, whose framework list shows SOC 2 Type 1 and Type 2 only.Our Trust Center has everything: SOC 2 Type 2 report, security policies, subprocessor list, and answers to common security questions.opencode.ai/enterprise

33 sourced claims on this page. Checked 2026-09-21. How we check.

Alternatives

Where we would send a reader instead, in that listing's own words.

  • Aider

    Open-source terminal AI pair programmer that edits files in your local git repo and commits the changes.

  • Warp

    Agentic development environment: a terminal, a standalone agent CLI, and unattended cloud coding agents.

Filed under

APIAutonomousClaudeFree tierGPTMulti-agentOpen modelsOpen sourceSelf-hosted

Advertise here

Reach buyers mid-decision. Reach builders choosing their next agent. Promote your brand with a display placement or bring your listing into focus with Featured.

Explore owner options →Advertise on this page →

The digestFree

Which agents actually ship.

What we re-checked, what got added, and one number from the index. Tuesdays.

144 agents trackedOne-click unsubscribe