What is OpenCode?
A provider-flexible coding agent with a terminal interface and desktop application. OpenCode can work with different model services while keeping coding sessions and tool workflows in one client.
Edited by AhaFrame · Definition source: Official project ↗
How it works
OpenCode is an open-source coding agent with configurable providers and terminal-led workflows. Evaluate its actual permissions and provider costs in your setup.
Core features
Terminal and desktop interfaces
Configurable model providers
Agent roles for different coding tasks
Repository tools and extensible integrations
Feature reference: Official documentation ↗
What can you use it for?
- Compare providers on the same repository task
- Work interactively from a terminal
- Keep a configurable alternative to a vendor-specific coding client
Your first guided walkthrough
A supported terminal or desktop platform and access to a compatible model.
A non-production repository, a supported model provider and a baseline task already solved with another agent.
- Follow the official getting-started guide and connect a provider using the supported authentication flow.
- Open a test repository and ask for an explanation of the relevant code path before writing.
- Run a bounded change and inspect every proposed write or command permission.
- Compare diff size, test result, elapsed time and billed usage with the baseline.
Try: "Trace this API handler and identify one failing edge case; propose a test before changing code."
EXPECTED RESULT · VERIFY INDEPENDENTLYA reproducible provider configuration and a side-by-side task record.
Editorial guide authored: 2026-10-27. No independent functionality test.
Pricing & running costs
The software can be used from source without a software subscription. Model-provider usage is billed separately.
Check official pricing details ↗Pricing checked 2026-10-27. Confirm currency, billing period, included usage and taxes on the official page.
License & limitations
License applies to this project; connected models and services have separate terms.
- Free hosted models can be temporary or carry separate data policies.
- Provider charges and capabilities differ even when the client stays the same.
Frequently asked questions
Must I use one model vendor?
No. Provider configuration is a central part of OpenCode.
Does open source mean model calls are free?
No. OpenCode software and provider or Console usage are separate.
Official links & sources
Based on the official sources above. Use cases are editorial examples; source checks are not independent functional tests.
Open upstream repository ↗