WINDOWS · AI
Claude Desktop with CC Switch and OpenCode Go: Windows setup
AI 瘋 · WINDOWS
Claude Desktop
CC SwitchKeep the Claude Desktop interface while sending supported requests to models provided by OpenCode Go. CC Switch runs between the desktop app and Go. This is a community integration, not Claude Pro or an official OpenCode-certified Claude Desktop setup.
1. Download the software and check availability
Get the right Windows installer from the official Claude download page and the current version of CC Switch. Choose x64 for most Intel and AMD PCs, or Arm64 for Windows on Arm. Cowork requires the MSIX installation and working Windows virtualization. A managed PC may require IT approval.
Hong Kong was not listed in Anthropic’s supported regions when checked. An installer is not the same as an eligible first-party account. Check that your device permits third-party inference and that you can use Go before paying. For public Wi-Fi privacy, NordVPN is optional (we may earn a commission through this link); it does not change account eligibility. If the desktop integration does not work, use an OpenCode-listed client.
First launch: stay signed out of Claude
- After installing Claude Desktop, open it and stop at the welcome or sign-in screen. Do not select Get started to sign in or create an Anthropic account. If you are already signed in, sign out to return to this screen.
- From the top-left app menu, choose ☰ → Help → Troubleshooting → Enable Developer Mode. This is a Claude Desktop menu, not Windows Developer Mode.
- Open ☰ again and look for Developer → Configure Third-Party Inference…. This is where Claude Desktop exposes third-party inference. Do not add a manual configuration or enter an API key here just yet: create a Go key in the next section, then let CC Switch write the local profile.
2. Generate an API key in the Go workspace
- In OpenCode Console, select the workspace with an active Go subscription. Go is separate from Claude subscriptions. Keep Extra Usage off if you do not want overage charges.
- Open Account → Personal API keys → Add API key, choose the same workspace, and grant Models → Request where scoped permissions are offered. Save the secret somewhere safe; never publish or screenshot it.
- If you choose DeepSeek, confirm the workspace permits Global under Settings → Privacy → Regions. Do not override company policy. Key documentation · Model and region documentation
3. Add the OpenCode Go provider in CC Switch
Select Claude Desktop, not Claude Code. Click + / Add Provider and search for OpenCode Go. Do not choose OpenCode Zen or Claude Desktop Official.

- Select the Go preset and paste the API key. Keep the preset’s Model Mapping mode.
- For troubleshooting, compare the upstream URL with
https://opencode.ai/inference/go/anthropic; do not append/v1/messagesto the base URL. The format is Anthropic Messages, which does not mean the upstream model is Claude. - Save and click Switch. Check that the provider is in use and local routing shows Running. The default Claude Desktop local route is
http://127.0.0.1:15721/claude-desktop. Do not expose it publicly. Go endpoints
4. Start Claude Desktop in third-party inference mode
Why? A normal Anthropic sign-in does not read CC Switch’s local Go route. The third-party mode reads a local profile that points to CC Switch. Clicking Switch writes that profile on this PC automatically and starts the local router in Model Mapping mode. This is not cloud sync, nor does it sync MCP, Skills or subscriptions.
- Quit Claude Desktop fully from the tray or app menu, then reopen it. Closing the window may not quit the app. Keep CC Switch running.
- On the sign-in screen, choose the third-party option if offered (for example, Start in Cowork on 3P), rather than standard Anthropic sign-in. If restarting only shows the official sign-in, return to first launch to check Developer Mode. Confirm that CC Switch has activated the provider and that Claude Desktop was fully quit and reopened. Do not paste your Go key into Claude Desktop again.
- Check the local gateway CC Switch wrote. Do not replace its loopback address with the Go endpoint or enter the Go key again in Claude Desktop. On a managed device, consult IT if the mode is unavailable. Anthropic: single-machine setup · CC Switch: profile and restart
5. Test, troubleshoot and restore
In a new session, ask for ROUTE-OK with no tools or file access. Compare the timestamp, workspace, and model with routing information and Console usage. The model’s answer alone does not prove which upstream handled the request.
- Wrong model or official sign-in: check that you selected the third-party mode and fully restarted Claude Desktop after switching.
- Connection refused: keep CC Switch and local routing running. 401/403: check the key, workspace and model access. 429: inspect usage and the reset times rather than retrying repeatedly.
- To restore: switch to Claude Desktop Official in CC Switch and restart. Revoke an unused Go key separately. Switching does not cancel Go or change account eligibility.
The setup follows public documentation; it is not an end-to-end test for every account or region. Third-party inference sends request data to the upstream provider. Review the Go data policies before using sensitive data.
