Understand an unfamiliar sample codebase.

OpenCode
OpenCode is a coding agent for the terminal. Use Plan to inspect the task, then Build for approved edits. Verify the diff and test results.
- Pricing model
- Free tier
Use cases
Prepare a small reviewed change.
Compare model cost and privacy terms.
Product screenshotsReview a code change in the terminalView 1
Product overview and more use cases
Product overview
OpenCode provides a terminal coding agent and a beta desktop interface. Its built-in build agent can develop with broad access, while plan is intended for analysis with restricted actions by default. The software and model service are separate. OpenCode Console is an optional pay-as-you-go provider; Go offers a separate subscription with model-dependent usage windows.
Capabilities, models and access
Explore code in plan mode.
Develop with the build agent.
Choose a compatible model provider.
Inspect usage and provider budgets.
Check the active agent and permission configuration: build has full access by default, while plan denies edits and asks before shell commands by default. Model calls may leave the local machine. MIT software licensing does not grant free hosted inference. Console token prices, caching and auto-recharge/budgets are separate from Go. Go quotas use five-hour, weekly and monthly windows; displayed request counts are estimates. Privacy varies by model: some Contributor models permit training, some providers retain requests for thirty days, and certain free-model endpoints permit improvement/trial logging. Do not claim universal zero retention or no training. Promotional free models and dated agreements can change.
How to use or connect
Select a model for the project
Open the repository and connect a supported provider. Define the task and repository scope.
Plan before editing
Use Plan to identify files and checks. Switch to Build when ready to make edits.
Review and test changes
Inspect the diff file by file and run the project’s existing tests.
Pricing and access
The OpenCode client is open source. Model usage and billing depend on the provider. Check the rates and limits for your provider, Console or Go. Official pricing reference · Additional terms · Additional terms
Go / Go Plus
10 /40 USD per month
Model-dependent five-hour/week/month usage; estimates are not guaranteed counts. Top-ups and model data terms separate.
Compare all plans and billing rules
Console model rates and auto-recharge/budgets depend on the configured service. Other providers remain available.
Model-dependent five-hour/week/month usage; estimates are not guaranteed counts. Top-ups and model data terms separate.
Usage requirements
- Platforms
- Local installation, Desktop app
Alternatives and relationships
Compare alternatives by need
Research and sources
Frequently asked questions
Is every plan agent action read-only?
No. Plan and build have different default permissions; configuration matters.
Is Go the same as Console token billing?
No. Go is a separate subscription with included usage windows.
Do all models avoid training and retention?
No. Read the selected model’s explicit exceptions.
Product facts
- Product type
- Open-source coding agent
- Where to start
- Terminal or beta desktop client
- Cost
- Software license, provider tokens and Go are separate
- Chinese readiness
- Chinese repository documentation available
- Main condition
- Review active permissions and model data terms
- Official site
- https://github.com/anomalyco/opencode ↗
- Identifiers
- Slug opencode · Product ID ad3b4369-83b2-4b10-8960-3c53bff685aa
Original records and guides
Introduction and use cases
Use OpenCode as an open-source coding agent with your chosen provider, distinguishing build permissions, pay-as-you-go models and Go subscriptions.
Our selection advice
Use a sample repository to compare the chosen model’s useful output, privacy terms and total cost before enabling broad execution.
Capabilities and requirements
Choose agent and model
Confirm client, provider and plan/build behavior.
Set cost/data conditions
Check model-specific retention, quota and budgets.
Review one task
Inspect commands, diffs and tests after a bounded request.
Billing notes
Software / Console
Console model rates and auto-recharge/budgets depend on the configured service. Other providers remain available.
Go / Go Plus
Model-dependent five-hour/week/month usage; estimates are not guaranteed counts. Top-ups and model data terms separate.
Updates, relationships and reviews
Official usage resources checked in this batch. Independent user reviews are still pending verification; no overall sentiment rating is assigned.
Questions and guides
OpenCode agent interfaces and build/plan behavior
Official reference for the workflow and its conditions.
Plan a fictional parser change
In a sample repository, ask plan to explain one parser and propose tests before switching to a reviewed edit workflow.
Check actual permissions, provider route and diff.
Editorial example; no client, model key or command was executed.