Claude Desktop with OpenRouter is only guaranteed to work with the Anthropic first-party provider. For maximum compatibility, we recommend setting Anthropic 1P as top priority provider when using Claude Desktop.
OpenRouter adds a reliability and management layer between Claude Desktop and Anthropic’s API, giving you and your organization several key benefits.
Anthropic’s API occasionally experiences outages or rate limiting. When you route Claude Desktop through OpenRouter, your requests automatically fail over between multiple Anthropic providers. If one provider is unavailable or rate-limited, OpenRouter seamlessly routes to another, keeping your sessions uninterrupted.
For teams and organizations, OpenRouter provides centralized budget management. You can set spending limits, allocate credits across team members, and prevent unexpected cost overruns. This is especially valuable when multiple team members are using Claude Desktop across your organization.
OpenRouter gives you complete visibility into how Claude Desktop is being used across your team. Track usage patterns, monitor costs in real-time, and understand which projects or team members are consuming the most resources. All of this data is available in your OpenRouter Activity Dashboard.
OpenRouter exposes an API that is compatible with the Anthropic Messages API.
https://openrouter.ai/api, the app speaks its native Anthropic protocol directly to OpenRouter. No local proxy server is required.Launch Claude Desktop — you do not need to sign in. Open Help > Troubleshooting and click Enable Developer Mode. This adds a Developer menu to your menu bar.

Click Developer > Configure Third-Party Inference… in the menu bar.

Set the backend to Gateway (Anthropic-compatible) and enter your OpenRouter credentials:

Click Apply locally to save your settings.
Fully quit Claude Desktop and reopen it. On the start screen, choose Continue with Gateway (shown as “Local configuration”). No Anthropic account is needed.
The model picker will now display the models available through your OpenRouter connection.
Claude Code is Anthropic’s separate CLI-based coding agent that also works with OpenRouter. If you prefer a terminal workflow, see our dedicated Claude Code integration guide for environment variable setup, model configuration, fast mode, and GitHub Action integration.
https://openrouter.ai/api and your API key is valid. Make sure the auth scheme is set to bearer.