Claude App Setup
Connect the Claude desktop app to UnioAPI through Configure Third-Party Inference and call Claude models over the official Anthropic protocol — or switch with CC Switch.
The Claude desktop app (macOS / Windows) can send inference requests to a custom gateway. Once connected, chats and
the built-in Code feature call Claude models on UnioAPI over the Anthropic protocol (POST /v1/messages).
Menus depend on your app version
Menu names below reflect the app version at the time of writing. If Anthropic moves an entry, search the settings for "Developer" or "Inference".
Prerequisites
- The Claude desktop app, downloaded from Anthropic's website.
- A topped-up UnioAPI account and an API key; see Console & top-up.
Option 1: configure it in the app
Enable Developer Mode
From the menu bar choose Help → Troubleshooting → Enable Developer Mode. A Developer menu appears.
public/docs/screenshots/claude-desktop-developer-mode.png · 1600×1000Configure third-party inference
Open Developer → Configure Third-Party Inference, choose the Gateway connection type and fill in:
| Field | Value |
|---|---|
| Gateway base URL | https://api.unioapi.com (no /v1) |
| Gateway API key | Your UnioAPI key |
| Auth method (if shown) | Bearer |
| Custom inference headers | Leave empty |
| Models | If the list is empty, add them manually, e.g. claude-sonnet-5, claude-opus-5-5 |
public/docs/screenshots/claude-desktop-gateway.png · 1600×1000Save and restart
Save and apply, then fully quit the app (⌘Q on macOS, quit from the tray icon on Windows) and open it again.
Verify
Start a new chat, pick one of the models you added and send a message. If it replies and the call shows up in Request logs in the UnioAPI console, you are connected.
Option 2: switch with CC Switch
If you also use Claude Code or Codex, CC Switch manages them in one place: add a UnioAPI configuration on its Claude Desktop page, enable it, and restart the app.
FAQ
| Symptom | Check |
|---|---|
| No Developer menu | Developer Mode is off; enable it as in step 1 and restart |
| 404 or connection failure | The gateway base URL has an extra /v1, or is missing https:// |
| 401 | The key is incomplete or revoked; check it in the console |
| 402 | The balance is too low; redeem a CDKEY under Wallet first |
| Empty model list | Add model IDs manually; see GET /v1/models for the list |
| Some features won't start on Windows | Some features rely on system virtualization components; turn them on under "Turn Windows features on or off" as the app suggests and restart |
To go back to the official subscription, turn off third-party inference on the same screen.
Next steps
- Claude Code setup
- Prompt caching: repeated context in long chats can be billed at the cache price