OpenCode · official sources checked 2026-10-14 · not FreeBench verified
Set up OpenCode v2 with Console models
Connect OpenCode v2 to an OpenCode Console workspace and check the current model, billing and privacy terms before making any request.
Before you connect: OpenCode lists some models as free for a limited time, but account billing settings still matter. Its current catalog includes a contributor model whose prompts and completions may be used to train future Meta models. Model-specific data terms vary; do not send private code unless the selected model's data use is acceptable. Check the live model price, account credits and auto-reload settings first, and stop if a paid fallback is possible.
Before you start
- A supported terminal and Node.js/npm. OpenCode v2 and v1 use the same `opencode` command and configuration locations; check existing installations before switching versions.
- An OpenCode Console account only if you have reviewed and accepted its current billing and model-specific data terms.
Setup steps
- Read the current OpenCode v2 Console model, pricing and privacy pages. Confirm the exact model is currently listed at $0 for input and output, note whether the free offer is temporary, and review its data-use terms. The catalog's contributor model terms allow prompts and completions to be used to train future Meta models.
- Install v2 using the official package command: npm install -g @opencode/cli. If you already use OpenCode v1, review the migration guide and preserve your configuration before changing the shared installation.
- From your project directory, run opencode. In the TUI, use /connect and choose your OpenCode Console workspace; follow the current account and connection instructions only if their billing and privacy terms are acceptable.
- Use /models to select the exact current free listing and confirm its full provider/model ID. Do not select OpenCode Go, a metered model, or a paid fallback for a free-only setup.
- Before any request, recheck the displayed model price, credits, usage limit and auto-reload controls. If the listing or account behavior is unclear, stop and treat the offer as unverified.
Verify and know when to stop
- Confirm the running CLI is OpenCode v2 and the model picker shows the exact intended provider/model ID.
- Confirm current account terms, model pricing and model-specific data use before every new setup; this guide does not create an account, set a budget, send a request, or qualify a benchmark route.
Official sources
- OpenCode v2 installation
- OpenCode v2 migration from v1
- OpenCode v2 providers
- OpenCode Console model list, pricing and privacy
- OpenCode Console overview and connection flow
Guide facts checked 2026-10-14; vendor offers and instructions can change.