Use OpenCode Console and OpenCode Go models directly from the GitHub Copilot Chat model picker in Visual Studio Code.
This native VS Code LanguageModelChatProvider registers Console and Go as separate provider groups and streams their responses into Copilot Chat without a local proxy. VS Code 1.125 exposes the provider-entry configuration through the built-in Language Models UI; the packaged extension does not enable proposed APIs.
- Separate OpenCode Console and Go model groups
- Service-account API keys and Console device-code authentication in VS Code Secret Storage
- Credential-scoped live discovery, with six-hour persisted models.dev enrichment for Console and Go
- Streaming text, reasoning, image inputs, and agent-mode tool calls
- Model-specific Thinking Effort and Qwen thinking-budget controls
- Bounded gateway retries and context-aware token limits
- Provider-entry-scoped inference-token tracking and secret-safe diagnostics
- Install OpenCode Bridge for Copilot Chat from the Visual Studio Marketplace. You need VS Code 1.125 or newer and GitHub Copilot Chat.
- Alternatively, run
code --install-extension grikomsn.opencode-bridge-for-copilot-chat. For manual installation, download the.vsixfrom the latest GitHub release and runcode --install-extension ./opencode-bridge-for-copilot-chat-<version>.vsix --force. - For Console or Go, open Manage Language Models, choose Add Models, select the provider, name the entry, and paste its service-account API key (Console entries can omit the key and use a device-code profile instead).
- For Console device-code sign-in, run OpenCode: Add Console Account, choose a profile ID, then add an OpenCode Console entry with the same ID in Manage Language Models. Go can also sign in with the same Console device-code flow from the Manage Connection menu.
- Repeat either flow for another account or key, then enable the models you want in Copilot Chat.
Marketplace installations receive updates through VS Code. Manual VSIX installations can be updated by installing the newest release asset.
Version 1.0.0 starts a new listing with ID grikomsn.opencode-bridge-for-copilot-chat. Disable or uninstall grikomsn.opencode-bridge-copilot-chat before installing the new extension to avoid duplicate providers and commands. Sign in again or re-enter your API keys in the new extension; its Secret Storage and local usage state are separate. Existing opencode.* workspace settings retain their names.
Composer controls override workspace defaults; ordered effort controls default to High, binary controls default On, and Qwen defaults Auto. Console and Go use each entry's authenticated live catalog, while a Console device-code profile shows only models enabled for that profile's selected organization. Click the OpenCode status-bar item to inspect tokens for the most recently used entry.
- Setup, commands, settings, and troubleshooting
- Models and pricing
- Credential handling and security
- Development and releases
- Codex Bridge for Copilot Chat
- Grok for GitHub Copilot Chat
- Ollama Cloud for GitHub Copilot Chat
- Poolside for GitHub Copilot Chat
Unofficial project; not affiliated with OpenCode, GitHub, or Microsoft. OpenCode account limits and charges still apply. Licensed under MIT.
