> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Desktop | AI Gateway

> Route Claude Cowork inference through the Orq.ai AI Gateway for fallbacks and EU residency.

Route **Claude Cowork** inference through the **Orq.ai AI Gateway** for fallbacks, EU residency, and cost control.

## Third-party inference (Cowork)

Claude Cowork's third-party inference mode routes all model inference through a configured gateway instead of Anthropic's first-party infrastructure. **Orq.ai**'s **AI Gateway** speaks the Anthropic Messages API and is fully compatible.

<CardGroup cols={3}>
  <Card title="EU data residency" icon="globe">
    Pin traffic to EU-hosted models to meet data residency requirements.
  </Card>

  <Card title="Provider fallback" icon="shuffle">
    Route across providers automatically to avoid rate limits and outages.
  </Card>

  <Card title="Cost control" icon="coins">
    Route to cheaper models for routine tasks by configuring them in Cowork.
  </Card>
</CardGroup>

### Prerequisites

* Claude Desktop installed with a Pro, Max, Team, or Enterprise plan
* Active **Orq.ai** account with an [API key](/docs/ai-gateway/configuration/api-keys)

### Setup

<Steps>
  <Step title="Enable Developer Mode">
    1. Open **Claude Desktop**
    2. Click **Help** in the menu bar
    3. Hover over **Troubleshooting**
    4. Select **Enable Developer Mode**
    5. Restart Claude Desktop

    A **Developer** menu appears in the menu bar after restart.
  </Step>

  <Step title="Open Gateway Configuration">
    1. Click **Developer** in the menu bar
    2. Select **Configure Third-party inference**
    3. Select **Gateway** (Anthropic-compatible)
  </Step>

  <Step title="Enter Gateway Details">
    Fill in the three fields:

    | Field               | Value                             |
    | ------------------- | --------------------------------- |
    | Gateway base URL    | `https://api.orq.ai/v3/anthropic` |
    | Gateway API key     | The **Orq.ai** API key            |
    | Gateway auth scheme | `bearer`                          |

    <Frame caption="Cowork gateway configuration with Orq.ai credentials">
      <img src="https://mintcdn.com/orqai/FacHXQLP5LJLXb8l/images/anthropic-cowork-configuration.png?fit=max&auto=format&n=FacHXQLP5LJLXb8l&q=85&s=860c687f8ebbd063d4ad0cf96c4193c9" alt="Cowork 3P inference gateway configuration screen showing Gateway selected as the connection type, with the Orq.ai base URL, API key, and bearer auth scheme filled in" width="747" height="1112" data-path="images/anthropic-cowork-configuration.png" />
    </Frame>

    Click **Apply locally** to apply the configuration to this machine, or **Export as MDM profile** to deploy across an organization.

    <Tip>
      Get the API key from [**Orq.ai** Settings](https://my.orq.ai/settings/api-keys) under **API Keys**.
    </Tip>
  </Step>

  <Step title="Add Models (optional)">
    Cowork automatically fetches available models from **Orq.ai** via the `/v1/models` endpoint, so no manual configuration is required. To pin a specific subset, add model slugs using the `provider/model-name` format:

    | Model slug                         | Description                        |
    | ---------------------------------- | ---------------------------------- |
    | `anthropic/claude-sonnet-4-6`      | Claude Sonnet via Anthropic direct |
    | `aws/anthropic/claude-sonnet-4-6`  | Claude Sonnet via AWS Bedrock      |
    | `google/anthropic/claude-opus-4-7` | Claude Opus via Google Vertex AI   |
    | `openai/gpt-4o`                    | GPT-4o for routine tasks           |

    For the full catalog, see [Supported Models](/docs/ai-gateway/supported-models).
  </Step>

  <Step title="Verify the Connection">
    A successful connection shows **Cowork 3P | Gateway** in the Cowork status indicator. All inference now routes through **Orq.ai**.
  </Step>
</Steps>

### Troubleshooting

<AccordionGroup>
  <Accordion title="Developer menu not visible">
    Developer Mode is not enabled. Open **Help → Troubleshooting → Enable Developer Mode**, then restart Claude Desktop. The **Developer** menu appears only after a restart.
  </Accordion>

  <Accordion title="Cowork status does not show Gateway">
    The connection did not apply. Reopen **Developer → Configure Third-party inference**, confirm **Gateway** is selected, and verify the base URL is `https://api.orq.ai/v3/anthropic` and the auth scheme is `bearer`.
  </Accordion>

  <Accordion title="No models available in Cowork">
    Cowork fetches the catalog from the `/v1/models` endpoint. Confirm the base URL is `https://api.orq.ai/v3/anthropic` and the API key is a valid **Orq.ai** key. To pin a subset manually, add model slugs in the `provider/model-name` format.
  </Accordion>

  <Accordion title="Inference not routing through Orq.ai">
    Confirm the Cowork status indicator reads **Cowork 3P | Gateway**. If it still shows first-party inference, re-apply the configuration with **Apply locally**.
  </Accordion>
</AccordionGroup>

### See Also

<CardGroup cols={2}>
  <Card title="API Keys" icon="key" href="/docs/ai-gateway/configuration/api-keys" horizontal>
    Create and manage **Orq.ai** API keys.
  </Card>

  <Card title="Supported Models" icon="microchip" href="/docs/ai-gateway/supported-models" horizontal>
    Full catalog of models available through the **AI Gateway**.
  </Card>

  <Card title="AI Gateway" icon="route" href="/docs/ai-gateway/get-started/quickstart" horizontal>
    Get started with the **AI Gateway** for routing, fallbacks, and cost control.
  </Card>

  <Card title="Anthropic Provider" icon="https://mintcdn.com/orqai/d-t0Z04KwFlGVsS1/images/logos/anthropic.svg?fit=max&auto=format&n=d-t0Z04KwFlGVsS1&q=85&s=b097662b141ad6f89f0c8d039ae241dc" href="/docs/ai-gateway/integrations/providers/anthropic" horizontal width="61" height="43" data-path="images/logos/anthropic.svg">
    Configure the Anthropic API key and explore Claude model options.
  </Card>
</CardGroup>
