跳至主要內容

Claude Desktop (Cowork) Integration

Route Claude Desktop requests through LiteLLM Proxy to get unified logging, budget controls, and access to any model.


Quick Reference

SettingValue
Gateway URL<LITELLM_PROXY_BASE_URL>
API KeyYour LiteLLM Virtual Key

Step 1: Enable Developer Mode

In Claude Desktop, go to Help → Claude → Help and click Enable Developer Mode.


Step 2: Open Configure Third-Party Inference

Click the menu bar icon to open the Claude menu.

Click Developer.

Click Configure Third-Party Inference…


Step 3: Enter Your LiteLLM Gateway URL and API Key

The inference settings dialog opens. Enter your LiteLLM Proxy URL in the Gateway URL field.

https://your-litellm-proxy.com

Next, get your virtual API key from the LiteLLM Dashboard. Go to Virtual Keys → + Create New Key, copy the key, then paste it into the API Key field.

Save the settings.


Step 4: Verify Your Setup

Restart Claude Desktop. Open a new conversation and send a message. All requests now route through your LiteLLM Proxy.

You can verify traffic is flowing by checking the LiteLLM Dashboard under Usage — you should see requests attributed to your virtual key.


🚅
LiteLLM Enterprise
SSO/SAML, audit logs, spend tracking, multi-team management, and guardrails — built for production.
Learn more →