Integrations
Claude Desktop by CCS
Integration Overview
This page explains how to connect Claude Desktop to UnifyLLM through CC Switch. Add UnifyLLM under Unified Providers, choose the NewAPI preset, enable Claude Desktop, use the root endpoint, and select native Anthropic Messages. Restart Claude Desktop after every switch.
Install Claude Desktop First
Install the macOS or Windows desktop app from the official Claude download page, launch it once, and complete initial setup. CC Switch documents that writing the Claude Desktop third-party profile currently supports macOS and Windows, not Linux.
- macOS: open the DMG and move the app to Applications.
- Windows: run the installer and launch Claude Desktop from the Start menu.
- Linux: CC Switch cannot write the Claude Desktop 3P profile; use Claude Code or another Linux-compatible CLI instead.
Before You Start
- API Base URL: https://api.unifyllm.top
- An active UnifyLLM API key
- A currently available model ID, for example claude-sonnet-4-6. Models, groups, and prices can change; use the live pricing page and console model list as the source of truth.
Configure It in CC Switch
- 1
Install and open CC Switch
Open provider management and select Claude Desktop in the application switcher.
- 2
Open Unified Providers
Click + and add UnifyLLM under Unified Providers, not under an application-specific provider list.
- 3
Choose the NewAPI preset
Set the preset type to NewAPI and name the provider UnifyLLM.
- 4
Choose the format and endpoint
Select Anthropic Messages (native format), use https://api.unifyllm.top, and paste your API key. Never put the key in screenshots, repositories, or public logs.
- 5
Add and select a model
Add claude-sonnet-4-6 or choose the exact ID from Get Models. If the list is empty, check the endpoint, key, and whether /v1 was entered twice.
- 6
Enable the provider
Enable the card and restart the tool as required by Claude Desktop. Add UnifyLLM under Unified Providers, choose the NewAPI preset, enable Claude Desktop, use the root endpoint, and select native Anthropic Messages. Restart Claude Desktop after every switch.
Recommended Values
Protocol: Anthropic Messages (native format)
Endpoint: https://api.unifyllm.top
Example model: claude-sonnet-4-6
1API Base URL: https://api.unifyllm.top2Protocol: Anthropic Messages (native format)3Model: claude-sonnet-4-64Authorization: Bearer <YOUR_API_KEY>Manual Configuration Reference
If you are not using CC Switch, the following is a reference for the common configuration format of this tool. Field names can change between releases, so prefer the tool's own documentation when it differs.
1{ "inferenceProvider": "gateway", "inferenceGatewayBaseUrl": "https://api.unifyllm.top", "inferenceGatewayAuthScheme": "bearer", "inferenceGatewayApiKey": "<YOUR_API_KEY>" }Test and Troubleshoot
Enable the provider, fully quit and reopen Claude Desktop, then send a short message. If you enable model mapping for a non-Claude model, keep CC Switch running and turn on its Claude Desktop local route.
API references: Chat Completions, Responses, Messages, and Generate Content.
- Start with a short request before running a large workload.
- Match the model ID exactly with the pricing page and console, including any group prefix.
- Review console usage logs for delivery, the actual model, token usage, and errors.
- If the tool appends /v1 automatically and you entered /v1 manually, remove the duplicate path.
Official CC Switch References
This guide references the official CC Switch introduction, Add Provider, and Edit Provider, plus the Claude Desktop guide. Field names and paths may change after a CC Switch update; use its latest documentation and application UI as the final reference.
Security Reminder
An API key is an account credential. Use a dedicated key, limit where it is stored, and disable/recreate it immediately if it leaks. Never place it in browser code, a public repository, screenshots, or third-party sync services.