In short.
This guide is for Claude Desktop users and teams seeking OpenRouter billing and management features, with compatibility guaranteed only for Anthropic's first-party provider. It provides specific Gateway settings and explains advertised provider failover, budget controls and usage tracking. The configuration uses an OpenRouter API key and the Anthropic Messages protocol without a local proxy. Prices, supported application versions and measured reliability are not established, and nothing was executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete documentation text at [https://openrouter.ai/docs/cookbook/coding-agents/claude-desktop-integration.md]: benefits, prerequisites, mechanism, all configuration steps, provider compatibility warning, Claude Code reference, troubleshooting and privacy statement. The sandbox workaround and its broader network-isolation effect are included. Linked documentation, policies, downloads, dashboards and screenshot contents are excluded. No explicit redistribution license appears in the supplied text. Runtime behavior, pricing, failover reliability and installed-version compatibility were not tested.
The overview
Identity
This is OpenRouter's documentation for connecting Claude Desktop to its API gateway [https://openrouter.ai/docs/cookbook/coding-agents/claude-desktop-integration.md]. The resource is a configuration tutorial, with prerequisites, menu instructions, connection fields and troubleshooting. Claude Desktop and OpenRouter are the services it connects.
Assessment
The guide supplies enough detail to attempt the documented setup: it names the menus, endpoint, authentication scheme, credential type and restart procedure. It also explains common failures rather than stopping at a general integration claim.
The central tradeoff is the gap between advertised provider failover and the narrower compatibility guarantee. OpenRouter recommends prioritizing Anthropic's first-party provider. The page does not demonstrate uninterrupted sessions or equivalent behavior across fallback providers.
Users
The guide suits individuals who want to use Claude Desktop with OpenRouter credits and administrators interested in centralized spending and usage visibility. Beginners receive a menu-based setup path; developers receive the protocol and authentication details. Team budget allocation and reporting are described as benefits, but their administrative setup is not taught on this page.
Capabilities
OpenRouter says this connection supports provider failover, organizational spending limits, credit allocation and usage analytics. Its Anthropic-compatible API handles model mapping and passes through thinking blocks and native tool use. Usage appears in the OpenRouter Activity Dashboard [https://openrouter.ai/activity].
These are documented capabilities, not measured results. The page supplies no feature compatibility matrix, failover timing, uptime figures or latency comparison.
Using it
Requirements
The stated prerequisites are Claude Desktop and an OpenRouter API key, obtainable at [https://openrouter.ai/keys]. The troubleshooting guidance also identifies account credits as necessary when models do not appear. The guide says no Anthropic account or initial Claude Desktop sign-in is needed for this Gateway path.
It recommends the latest Claude Desktop release but names no minimum version, supported operating systems or hardware requirements.
Mechanism
Claude Desktop's Gateway backend sends its native Anthropic Messages API requests directly to OpenRouter at [https://openrouter.ai/api]. OpenRouter acts as an intermediary between the desktop application and the model provider, so the documented architecture requires no local proxy server.
The compatibility layer handles model mapping and advanced message features. Authentication uses the supplied OpenRouter key with the bearer scheme, while usage is charged against OpenRouter credits.
Setup
Open Claude Desktop, then use Help > Troubleshooting > Enable Developer Mode. Open Developer > Configure Third-Party Inference and select Gateway. Set Gateway base URL to [https://openrouter.ai/api], enter your OpenRouter API key, set Gateway auth scheme to bearer and set Credential kind to Static API key.
The guide says Static API key keeps authentication tied to the entered key. Leave optional OIDC identity-provider fields blank for this configuration. Save with Apply Changes, called Apply locally in older builds, fully quit the application and reopen it. Choose Continue with Gateway, shown as Local configuration, then select a model.
OpenRouter also recommends making Anthropic's first-party provider the highest-priority provider. The detailed provider-selection instructions are on a linked page and are not included here.
Example
An illustrative use is an administrator connecting Claude Desktop to an organization's OpenRouter account so desktop usage can be monitored alongside other API spending. After entering the documented Gateway settings and restarting, the administrator would check model availability and inspect the Activity Dashboard after a small request. This is a suggested verification scenario; no connection, request or dashboard result was observed.
Assessment & evidence
Limitations
Compatibility is guaranteed only with Anthropic's first-party provider. A model appearing in the picker does not establish that every provider, tool or desktop feature works. WebFetch traffic may also be blocked by workspace egress restrictions; the page directs users to allow the required hosts.
For TLS failures affecting Claude Code inside Claude Desktop, the page suggests setting sandbox.enableWeakerNetworkIsolation to true in a Claude settings file. It explicitly warns that this relaxes isolation for all agent-initiated network traffic within that configuration's scope. It recommends the narrowest effective scope and removing the setting when no longer needed.
OpenRouter states that it does not log prompts unless users opt in. The linked privacy policy was not assessed, and this statement alone does not establish retention rules, downstream provider handling or other data practices.
Fit reasoning
The guide is most useful when centralized billing, spending controls or usage visibility justify adding a gateway to Claude Desktop. Its practical strength is the exact connection recipe. If the main objective is resilience during outages, the limited provider guarantee and absence of failover measurements leave an important uncertainty that should be checked in the intended configuration.
Alternatives
For terminal-based coding, the page names Claude Code as a separate command-line agent and links to its OpenRouter integration guide [https://openrouter.ai/docs/cookbook/coding-agents/claude-code-integration.md]. That guide's environment variables, model configuration, fast mode and GitHub Action instructions are outside this page. No comparison with other gateways or desktop assistants is provided.
Evidence
The evidence is the complete captured text of OpenRouter's Claude Desktop integration page. As documentation from the gateway provider, it supports statements about the intended setup and advertised behavior. It does not supply independent validation, benchmark data or observed application results.
No software, configuration or example was executed. Linked pages and screenshot contents were not assessed.
Access & freshness
Costs
Usage is billed through OpenRouter credits, and the dashboard includes reasoning-token usage. The page directs users to check their balance at [https://openrouter.ai/credits] when models do not appear.
No token prices, fee schedule, subscription prices, minimum purchase or worked cost example are supplied. Total cost and the cost of a particular session are unknown from this evidence. Budget controls do not establish a specific spending limit or price.
Rights
The page contains no explicit license or redistribution grant for its text or linked screenshots. Permission to redistribute those materials is therefore unknown. It also does not establish Claude Desktop's software terms, OpenRouter's service terms or rights in generated outputs.
Freshness
The page was captured on 2026-11-14 at 22:53:37 UTC. It gives no publication date, last-update date or exact supported Claude Desktop version. References to older save-button labels and newer OIDC fields indicate interface variation, but do not establish compatibility with a particular installed build. The capture date does not prove current operation.
Next steps
Check that your installed Claude Desktop build exposes the documented Gateway controls, confirm your OpenRouter credit balance and follow the setup fields exactly. Prioritize Anthropic's first-party provider as recommended. After setup, check model availability, a small request and the corresponding usage charge before wider use.
For blocked web tools, add only the required hosts to the workspace allowlist. Consider the weaker-isolation workaround only for the specific nested Claude Code TLS problem described, using the narrowest effective settings scope. Check current prices and applicable privacy and service terms separately.
