# Qoder

[Qoder](https://qoder.com) is an AI coding tool from Alibaba. It comes in several forms: an IDE, the Qoder desktop app, a command-line tool (Qoder CLI), and a JetBrains plugin.

!> Currently, only the **Qoder desktop app** lets you enter a custom Base URL. The Qoder IDE and the JetBrains plugin can only use built-in model providers and cannot connect to BeeRoute.

## 1. Get an API Key

Open the [API Keys](https://beeroute.ai/keys) page, click **Create API Key**, set **Group** to `default`, and copy the key (it starts with `sk-`).

## 2. Add a Model in the Qoder Desktop App

1. Open **Settings** and select **Models** on the left.
2. Click **Add model**, open **Provider**, select **OpenAI Compatible** under **Custom**, then select **Chat Completions API**.
3. Fill in the fields as shown below:

| Setting | Value |
| :--- | :--- |
| Base URL | `https://beeroute.ai/v1` |
| API key | Your BeeRoute key `sk-xxx` |
| Model ID | The model ID on BeeRoute, for example `claude-sonnet-5-5`. Click **Add Model ID** to add more, such as `gpt-6.2-sol` and `kimi-k3.1-pro` |

4. Set the optional fields to match the model's actual capabilities: **Display name**, **Context window**, **Vision** (turn on if the model supports image input), **Thinking** (turn on if the model supports thinking, then choose the thinking effort), and **Maximum output tokens**.
5. Click **Validate and add model**. Qoder checks each model ID you entered and saves automatically once all of them pass.
6. Select the newly added model in the chat view to start using it.

?> For GPT models, you can also choose **Responses API**. The Base URL is also `https://beeroute.ai/v1`.

## 3. Qoder CLI

In Qoder CLI, enter `/model`, switch to the **Custom** tab, select `Add custom model...`, and follow the wizard. If the wizard offers an OpenAI Compatible option, fill in the Base URL, key, and model ID as described in the previous section. According to Qoder's official documentation, the providers available in the CLI are whatever the wizard actually shows; do not edit `settings.json` manually.

## 4. Usage Notes

- Custom models are currently available only on individual plans;
- When you use custom models, charges are deducted from your BeeRoute account and do not consume Qoder Credits;
- Repo Wiki always uses Qoder's own models and consumes Qoder Credits;
- Custom models cannot use image or video generation features.

## 5. FAQ

**Failed to add a model?**

- Is Base URL set to `https://beeroute.ai/v1`, and is the protocol set to **OpenAI Compatible → Chat Completions API**?
- Is the key complete, with no extra spaces?
- Does the model ID match the one on BeeRoute exactly (see the [Pricing](https://beeroute.ai/modellist/) page)?
- Does your BeeRoute account have sufficient balance?

**Cannot find the custom option in Qoder IDE?**

Qoder IDE does not currently support a custom Base URL. Use the Qoder desktop app instead.

For more details, see the official Qoder documentation: [Custom models](https://docs.qoder.com/qoder/custom-models).
