> ## 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.

# Cline | AI Gateway

> Route Cline through the Orq.ai AI Gateway to access the full model catalog, including Claude, with a single API key.

[**Cline**](https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev) is a VS Code extension for AI-assisted coding. Configure it with an OpenAI Compatible provider pointing to the **AI Gateway** to access every model in the catalog, including Anthropic Claude models.

## Prerequisites

* **Cline** extension installed in VS Code (`saoudrizwan.claude-dev`)
* Active **Orq.ai** account
* [**Orq.ai** API key](/docs/ai-studio/organization/api-keys)

## Setup

Open the **Cline** panel → <Icon icon="gear" /> **Settings** → **API Provider** → select `OpenAI Compatible`.

Fill the fields:

| Field        | Value                          |
| ------------ | ------------------------------ |
| **Base URL** | `https://api.orq.ai/v3/router` |
| **API Key**  | `<ORQ_API_KEY>`                |
| **Model ID** | `anthropic/claude-sonnet-4-6`  |

Save and start using **Cline**.

<Warning>
  Always use the `provider/model_id` format for model IDs (e.g. `anthropic/claude-sonnet-4-6`, not `claude-sonnet-4-6`). Bare IDs return a `400 invalid model format` error.
</Warning>

## Troubleshooting

<AccordionGroup>
  <Accordion title="400 invalid model format">
    The model ID is missing the provider prefix. Change `claude-sonnet-4-6` to `anthropic/claude-sonnet-4-6`, `gpt-4o` to `openai/gpt-4o`, and so on.
  </Accordion>

  <Accordion title="Requests not appearing in Orq.ai Traces">
    Verify the **Base URL** is set to `https://api.orq.ai/v3/router`. Requests sent to a provider's own endpoint bypass the **AI Gateway** and produce no **Traces**.
  </Accordion>
</AccordionGroup>

## Verification

Send a message in the **Cline** panel. The response appears in the chat and the request appears in [**Orq.ai** Traces](/docs/ai-studio/observability/traces) with the model identifier `anthropic/claude-sonnet-4-6` (or whichever model was selected).
