# OpenCode

[BASE product page](<https://base.akulich.dev/en/library/avc-85-opencode/>) · [Resource](<https://opencode.ai/>)

ID: avc\-85\-opencode · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

OpenCode is an open\-source terminal coding agent supporting multiple sessions, LSP, and different model providers\. Work in a local repository and choose inference independently of the interface\.

## Type

Tool

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-access>)

OpenCode code is free under MIT\. Choose your own cloud or local provider and check its terms and costs separately\. Zen also lists free models, some for a limited time; this does not promise every model is free\.

## [Paid features and costs](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-access>)

Zen is an optional pay\-as\-you\-go gateway with per\-request billing; Go is a separate $10/month subscription, and Go Plus is $40/month, with model\-specific limits\. Your own APIs are paid to the provider, while local use consumes your infrastructure\. This does not change the agent code's free availability\.

## [Access and limitations](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-access>)

OpenCode code is free under MIT\. Choose your own cloud or local provider and check its terms and costs separately\. Zen also lists free models, some for a limited time; this does not promise every model is free\. Zen is an optional pay\-as\-you\-go gateway with per\-request billing; Go is a separate $10/month subscription, and Go Plus is $40/month, with model\-specific limits\. Your own APIs are paid to the provider, while local use consumes your infrastructure\. This does not change the agent code's free availability\.

## [Use cases](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-tasks>)

- Develop a project in the terminal with multiple sessions
- Connect your own cloud or local model

## Category IDs

- ai
- integrations
- software

## Subcategory IDs

- ai\.cli
- ai\.orchestration
- integrations\.management
- software\.cli

## Tags

- LSP

## [Selection purpose](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-selection>)

Develop a project in the terminal with multiple sessions

## [Choose this when](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-selection>)

- Develop a project in the terminal with multiple sessions
- Connect your own cloud or local model

## [Consider alternatives when](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-selection>)

- When choosing for this topic, compare OpenCode with Gemini CLI\. A candidate to compare under the topic: Terminal agents, Connection management\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- When choosing for this topic, compare OpenCode with OpenAI Codex CLI\. A candidate to compare under the topic: Terminal agents, Connection management\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.

## [Requirements](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-selection>)

- TUI requires a modern terminal emulator and configured access to the selected model\. Windows options include NPM/Chocolatey/Scoop/Mise and ready\-made binaries; WSL is recommended for compatibility\. The specific runtime depends on the installation method\.

## [Limitations](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-selection>)

- Costs and limits of free use: Zen is an optional pay\-as\-you\-go gateway with per\-request billing; Go is a separate $10/month subscription, and Go Plus is $40/month, with model\-specific limits\. Your own APIs are paid to the provider, while local use consumes your infrastructure\. This does not change the agent code's free availability\.
- Terms of use: MIT for OpenCode code: use, modification, and distribution are permitted with copyright and permission notices retained\. Code is provided without warranties; model services have separate terms\.
- A standalone agent, not a Codex plugin\.

## [Questions before use](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-faq>)

### What can you use for free in OpenCode?

OpenCode code is free under MIT\. Choose your own cloud or local provider and check its terms and costs separately\. Zen also lists free models, some for a limited time; this does not promise every model is free\.

### What additional costs might arise with OpenCode?

Zen is an optional pay\-as\-you\-go gateway with per\-request billing; Go is a separate $10/month subscription, and Go Plus is $40/month, with model\-specific limits\. Your own APIs are paid to the provider, while local use consumes your infrastructure\. This does not change the agent code's free availability\.

### What terms of use matter for OpenCode?

MIT for OpenCode code: use, modification, and distribution are permitted with copyright and permission notices retained\. Code is provided without warranties; model services have separate terms\.

### How do you get started with OpenCode?

For the task “Develop a project in the terminal with multiple sessions,” open the required project and let the agent examine the affected implementation before editing\. A possible sequence: first /init for AGENTS\.md and Plan mode to discuss a solution, then Build mode after checking the plan\. Assign a bounded task with a completion criterion; review the proposed changes and how they address the requirement\. Run an appropriate project check and compare behavior before and after the change\.

### What should you consider when choosing OpenCode?

NPM/Chocolatey/Scoop options are officially available for Windows; WSL is recommended for better compatibility\. Bun support on Windows is still in progress\.

### How can multiple solutions be compared in OpenCode?

The official page describes multiple concurrent sessions in one project and links for sharing sessions\. Models can be chosen separately, including custom providers and local models\.

### Which commands and changes require confirmation?

permission specifies allow, ask, or deny, including command and path patterns; the last matching rule wins\. Most permissions default to allow; external\_directory and repeated identical calls default to ask; reading \.env is prohibited, with an exception for \.env\.example\. \-\-auto approves ask but does not override an explicit deny\. These are access settings, not a promise of hardware isolation\.

### Is an OpenCode session link public?

Yes: /share synchronizes history with the server and creates a link available to anyone who has it\. Sharing defaults to manual; share=auto enables automatic publication, and share=disabled disables it\. /unshare removes public access and associated data; check history for secrets before publishing\.

### How can Zen spending be limited, and what happens when Go is exhausted?

Zen supports workspace/member limits, but balance auto\-reload can separately charge more than the usage limit: by default, $20 when the balance falls below $5; it can be changed or disabled\. Go has limits over 5 hours, a week, and a month that vary by model\. With Use balance enabled, requests beyond those limits are charged to the Zen balance; otherwise, a paid fallback is not promised\.

### Do all models have the same data processing rules?

No: Zen and Go publish separate tables and exceptions by model\. Some free/contributor models permit prompts/completions to be used for improvement or training\. For a sensitive project, first check the terms of the specific model and sharing; a free model does not imply a uniform data retention policy\.

## Related resources selected by editors

- avc\-68\-gemini\-cli: A candidate to compare under the topic: Terminal agents, Connection management\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- avc\-67\-openai\-codex\-cli: A candidate to compare under the topic: Terminal agents, Connection management\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- avc\-60\-aider: A candidate to compare under the topic: Terminal agents, Command line\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.

## Sources for the selection guide

- [https://opencode\.ai/](<https://opencode.ai/>)
- [https://opencode\.ai/docs/](<https://opencode.ai/docs/>)
- [https://github\.com/anomalyco/opencode](<https://github.com/anomalyco/opencode>)
- [https://raw\.githubusercontent\.com/anomalyco/opencode/HEAD/LICENSE](<https://raw.githubusercontent.com/anomalyco/opencode/HEAD/LICENSE>)
- [https://opencode\.ai/docs/zen/](<https://opencode.ai/docs/zen/>)
- [https://opencode\.ai/docs/go/](<https://opencode.ai/docs/go/>)
- [https://opencode\.ai/docs/permissions/](<https://opencode.ai/docs/permissions/>)
- [https://opencode\.ai/docs/share/](<https://opencode.ai/docs/share/>)
- [https://opencode\.ai/docs/windows\-wsl/](<https://opencode.ai/docs/windows-wsl/>)

## [Possible workflow](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-scenario>)

Example workflow with OpenCode: Develop a project in the terminal with multiple sessions\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A repository, a description of one change, and a reproducible example of the expected behavior\.
- Project context: affected files, constraints, and the established validation method\.

## Steps

1. For the task “Develop a project in the terminal with multiple sessions,” open the required project and let the agent examine the affected implementation before editing\. A possible sequence: first /init for AGENTS\.md and Plan mode to discuss a solution, then Build mode after checking the plan\.
2. Set a bounded task with completion criteria; review the proposed changes and how they address the requirement\.
3. Run the appropriate project checks and compare behavior before and after the change\.

## Check your result

- The change solves the stated task and does not touch unrelated files unnecessarily\.
- Investigate check failures; review generated code, configuration, and data access permissions\.

## [License](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-license>)

MIT for OpenCode code: use, modification, and distribution are permitted with copyright and permission notices retained\. Code is provided without warranties; model services have separate terms\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## Related resource IDs

- avc\-67\-openai\-codex\-cli
- avc\-59\-anthropics\-claude\-code
- avc\-68\-gemini\-cli
- avc\-60\-aider

## [Usage details](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-notes>)

Windows NPM/Chocolatey/Scoop options are officially available, with WSL recommended for better compatibility; Bun on Windows is still in progress\. A standalone agent, rather than a Codex plugin\.

## [Sources](<https://base.akulich.dev/en/library/avc-85-opencode/#resource-sources>)

- [Official website](<https://opencode.ai/>)
- [Documentation](<https://opencode.ai/docs/>)
- [Source code](<https://github.com/anomalyco/opencode>)
- [Code license](<https://raw.githubusercontent.com/anomalyco/opencode/HEAD/LICENSE>)
- [Zen models, pricing, and data](<https://opencode.ai/docs/zen/>)
- [Go subscription and limits](<https://opencode.ai/docs/go/>)
- [Tool permissions](<https://opencode.ai/docs/permissions/>)
- [Public session links](<https://opencode.ai/docs/share/>)
- [Windows and WSL](<https://opencode.ai/docs/windows-wsl/>)

## Editorial review date

2026\-10\-03

## Editorial review scope

Purpose and published terms were reviewed against the cited primary sources\. This product page does not confirm execution or testing in every environment\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
