# WorkBuddy Custom Model Setup: Download & Install Guide

Follow the 14 steps below to install the WorkBuddy desktop app on Windows 11 or macOS, sign in to your account, enter QCode's endpoint URL and `cr_` API key under Custom Models, and start chatting with GPT and Chinese models.


**Short answer**: After installing and signing in to WorkBuddy 5.11.3 on Windows 11 or macOS, open `Settings → Models`, click `Add Model`, set the provider to `Custom`, enter `https://api.qcode.cc/openai/v1/chat/completions` as the endpoint URL (`https://api.qcode.cc/openai/v1` also works when `Custom Protocol` is off), paste your QCode API key starting with `cr_`, enter an available GPT or Chinese model ID (such as `gpt-6.2-sol` or `qwen3.8-max`), and save.

| Item | Fill in |
|---|---|
| Endpoint URL (full path, recommended) | `https://api.qcode.cc/openai/v1/chat/completions` |
| Endpoint URL (shorthand with Custom Protocol off) | `https://api.qcode.cc/openai/v1` |
| Settings path | `Settings → Models → Add Model → Custom` |
| Key format | `cr_xxxxxxxx` |
| Common model examples | `gpt-6.2-sol` or `qwen3.8-max` |

Checked on 2026-11-22 · WorkBuddy 5.11.3 · Windows 11


[WorkBuddy](https://www.workbuddy.cn/) is a desktop AI agent from Tencent Cloud's CodeBuddy team, focused on office deliverables such as meeting notes, spreadsheets, slide decks, and light coding (international site: [workbuddy.ai](https://www.workbuddy.ai/)). On first launch, WorkBuddy 5.11.3 requires signing in to a Tencent-ecosystem account before you can enter the main interface or open the `Models` settings page — there is no skip or offline mode.

Note that WorkBuddy's custom models only use the **OpenAI Chat Completions** protocol, which on QCode serves GPT models (such as `gpt-6.2-sol` and `gpt-6.2-astra`) and Chinese models (GLM / Kimi / DeepSeek / Qwen). Claude models run on the Anthropic endpoint (`https://api.qcode.cc/api`) and cannot be called directly as a WorkBuddy custom model; if you need Claude or repo-wide code refactoring, use [Claude Code](/docs/getting-started/installation), [ZCode](/docs/ide/zcode), or [Qoder](/docs/ide/qoder) instead.


- **Applies to**: Windows 10 / 11 (64-bit) and macOS; the screenshots were taken on Windows 11
- **Software version**: WorkBuddy 5.11.3 (China edition, User installer)
- **Screenshots updated**: 2026-11
- **Time needed**: 15 minutes
- **You will need**: a QCode API key starting with `cr_`; a Tencent-ecosystem account (WeChat / WeCom / phone number / SSO / QQ / email); access to `workbuddy.cn`


> **On a Mac?** Follow the same steps. The screenshots were taken on Windows 11, and WorkBuddy on macOS has the same screens and settings. Download the macOS version from the same official page, press ⌘ Cmd wherever a step says Ctrl, and find the app's menus in the menu bar at the top of the screen. On a Mac, pick the Apple silicon or Intel download that matches your Mac.


- A PC running Windows 10 / 11 (64-bit) or a Mac running macOS — Windows 7 / 8 / 8.1 are not supported — with about 1.3 GB of disk space available
- A Tencent-ecosystem account ready to sign in to WorkBuddy (WeChat, WeCom, phone number, SSO, QQ, or email; the international edition requires a Google / GitHub / X account)
- You have already signed up for QCode.cc and copied your API key starting with `cr_` from the [Dashboard](https://qcode.cc/en/dashboard). No account yet? [Sign up for QCode](https://qcode.cc/en/auth/sign-up?utm_source=docs.qcode.cc&utm_medium=tut_before&utm_campaign=knowledge_base&src=docs-ide-workbuddy-before) first, pick a plan on the [pricing page](https://qcode.cc/en/pricing?utm_source=docs.qcode.cc&utm_medium=tut_before&utm_campaign=knowledge_base&src=docs-ide-workbuddy-before), then create a key in the [Dashboard](https://qcode.cc/en/dashboard).
- Your PC can reach `workbuddy.cn` (or `workbuddy.ai` for the international edition), `qcode.cc`, and `api.qcode.cc` (if access from mainland China is unstable, switch to the Asia node `asia.qcode.cc`)
- Set aside about 15 uninterrupted minutes; the desktop installer is about 438.5 MiB, and the default "Install just for me" option needs no administrator privileges


## Download and install

WorkBuddy is a standalone Windows desktop GUI application — you do not need Node.js or the command line. It comes as two separate installers: the **China edition** (<https://www.workbuddy.cn/>) and the **international edition** (<https://www.workbuddy.ai/>). Their account systems, UI labels, and local config file paths differ, so do not mix them.

On Windows 11, the official website provides a **Windows x64 (ARM64 compatible)** user-level installer by default, with a filename like `WorkBuddy-win32-x64-user-5.11.3.43806934-ecace0f7.exe` (about 438.5 MiB). It carries a valid Tencent digital signature, installs by default to `%LOCALAPPDATA%\Programs\WorkBuddy` under the current user, does not trigger a UAC admin prompt, and does not trigger SmartScreen.

Here are the recommended edition and ingress point choices by region — pick yours first:

**Europe / Japan**

- For an English UI and international sign-in (Google / GitHub / X), open the international site [workbuddy.ai](https://www.workbuddy.ai/) and download the **Windows x64 (ARM64 compatible)** installer; if you prefer Tencent sign-in, you can also download the China edition from [workbuddy.cn](https://www.workbuddy.cn/).
- Use `api.qcode.cc` by default when setting up QCode, or pick `us.qcode.cc` / `asia.qcode.cc` depending on your location.


**Mainland China**

- Open the China edition homepage at [workbuddy.cn](https://www.workbuddy.cn/) and click `立即下载 WorkBuddy` (Download WorkBuddy now) in the center to get the Windows x64 (ARM64 compatible) installer.
- The China edition and international edition (`workbuddy.ai`) are separate product installers with separate config directories; for everyday office use in China, install the China edition directly.
- When configuring QCode, use `api.qcode.cc` by default; if access from mainland China is unstable, switch the endpoint to the Asia node `asia.qcode.cc` (full URL `https://asia.qcode.cc/openai/v1/chat/completions`). The same key works across all nodes.


**Arab countries**

- Open the international site [workbuddy.ai](https://www.workbuddy.ai/), download the **Windows x64 (ARM64 compatible)** installer, and follow the wizard.
- Use the default ingress domain `api.qcode.cc` when configuring QCode.


**Russia / Iran**

- Open [workbuddy.ai](https://www.workbuddy.ai/) and verify that the installer downloads normally.
- First launch of the international edition requires signing in with Google, GitHub, or X, which depends on local access to those services; if you cannot complete vendor sign-in, use a client that supports custom endpoints without that login gate (such as [Claude Code](/docs/getting-started/installation) or [Cline](/docs/ide/cline)) to connect to QCode.


## Follow the screenshots: Windows 11 installation and setup

There are 14 steps below, each doing one thing. Steps 1–9 walk through downloading from the official site, running the setup wizard, signing in on first launch, and verifying the version using real Windows 11 screenshots — the orange numbers on each picture match ①② in the text one to one. Once you have signed in to your own account, follow steps 10–14 to enter the QCode endpoint URL and key under `Settings → Models` and start chatting.



### Open the download page and click "Download WorkBuddy now"

Open [workbuddy.cn](https://www.workbuddy.cn/) in your browser and click the primary black button `立即下载 WorkBuddy` (Download WorkBuddy now) at ① in the center of the page. Your browser will automatically download the Windows x64 (ARM64 compatible) installer for this device. If you need an installer for Mac, HarmonyOS PC, or Linux, hover over the `下载` (Download) button at ② in the top-right corner to open the multi-platform menu.

![WorkBuddy China edition homepage workbuddy.cn: highlights the central primary Download WorkBuddy now button (1) and the top-right Download multi-platform menu (2)](https://docs.qcode.cc/static/images/tut/workbuddy/202611/zh/01-download-page.webp)


Done right you will see: after clicking `立即下载 WorkBuddy` (Download WorkBuddy now), your browser's top-right downloads icon shows progress and `WorkBuddy-win32-x64-user-…exe` appears in the downloads list.


**Stuck? Not sure whether the main button downloaded the Windows build**

Hover over the `下载` (Download) button in the top-right corner — the entry marked `当前设备` (Current device) labeled `Windows x64 (兼容 ARM64)` is the universal Windows 10 / 11 installer. Click it directly to start the download.




### Wait for the installer to finish downloading and open it

The installer is about 438.5 MiB, so give it a minute or two depending on your connection. Press `Ctrl + J` to open your browser's downloads panel, check at ① that the filename is `WorkBuddy-win32-x64-user-5.11.3.43806934-ecace0f7.exe` (the trailing version number increases with updates), and click `打开文件` (Open file) below it to launch the setup wizard.

![Browser downloads panel showing the completed WorkBuddy-win32-x64-user-5.11.3.43806934-ecace0f7.exe installer (1)](https://docs.qcode.cc/static/images/tut/workbuddy/202611/zh/02-download-done.webp)


Done right you will see: the download progress bar disappears, the panel shows the full `.exe` filename, and clicking it opens the `WorkBuddy 安装` (WorkBuddy Setup) wizard without an administrator UAC prompt.


**Stuck? Windows shows "Windows protected your PC"**

The official installer carries a valid Tencent digital signature and normally does not trigger SmartScreen. If local security policy still raises a warning, confirm the file came from <code>workbuddy.cn</code>, then click "More info" and "Run anyway" to continue.




### Keep "Install just for me" selected and continue

On page 1 of the `WorkBuddy 安装` (WorkBuddy Setup) wizard, `安装选项` (Installation Options), `仅为我安装` (Install just for me) at ① is already selected by default — it installs only for the current Windows user and needs no administrator privileges. Leave the default untouched and click `下一步(N) >` (Next) at ② in the bottom-right corner.

![WorkBuddy Setup wizard Installation Options page: highlights the default selected Install just for me option (1) and the bottom-right Next(N) > button (2)](https://docs.qcode.cc/static/images/tut/workbuddy/202611/zh/03-installer-options.webp)


Done right you will see: after clicking `下一步(N) >` (Next), the setup wizard moves to the `选择安装位置` (Choose Install Location) page.




### Confirm the default install location and start installing

On the `选择安装位置` (Choose Install Location) page, the default path at ① points to your user directory `%LOCALAPPDATA%\Programs\WorkBuddy`, and the space required below reads about 1.3 GB. Once you confirm the target drive has enough room, leave the path as is and click `下一步(N) >` (Next) at ② in the bottom-right corner to unpack and install.

![WorkBuddy Setup wizard Choose Install Location page: highlights the default install folder field (1) and Next(N) > button (2), showing 1.3 GB required space below](https://docs.qcode.cc/static/images/tut/workbuddy/202611/zh/04-installer-location.webp)


Done right you will see: the window shows an installation progress bar, which finishes in roughly 30 to 60 seconds and switches to the completion page automatically.




### Finish installation and launch WorkBuddy right away

When the progress bar finishes, you will see `正在完成 WorkBuddy 安装向导` (Completing the WorkBuddy Setup Wizard), and a `WorkBuddy` shortcut is created on your desktop automatically. Leave `运行 WorkBuddy(R)` (Run WorkBuddy) at ① checked, and click `完成(F)` (Finish) at ② in the bottom-right corner to close the wizard and open the app immediately.

![WorkBuddy installation completion page: highlights the default checked Run WorkBuddy(R) box (1) and the bottom-right Finish(F) button (2)](https://docs.qcode.cc/static/images/tut/workbuddy/202611/zh/05-installer-finish.webp)


Done right you will see: the setup wizard closes and the WorkBuddy desktop client opens automatically a few seconds later.




### First launch: click "Sign in" to start account authentication

WorkBuddy 5.11.3 opens straight onto the `WorkBuddy，我帮你` sign-in gate, with no "Skip" or "Sign in later" option. Click the `登录` (Sign in) button at ① in the center of the page to launch browser authentication. If your PC needs a proxy to reach the internet, click `网络代理` (Network Proxy) inside the bottom bar `隐私政策 | 服务条款 | 网络代理` (Privacy Policy | Terms of Service | Network Proxy) at ② first.

![WorkBuddy 5.11.3 first-launch sign-in gate: highlights the single central Sign in button (1) and the bottom Privacy Policy | Terms of Service | Network Proxy bar (2)](https://docs.qcode.cc/static/images/tut/workbuddy/202611/zh/06-first-launch-login.webp)


Done right you will see: clicking `登录` (Sign in) automatically opens the WorkBuddy authentication page in your default browser.


**Stuck? Can I skip signing in and enter my QCode key directly?**

No. While signed out, you cannot enter the main interface and the `Models` settings menu does not appear. You must sign in with a Tencent-ecosystem account first (or Google / GitHub / X on the international edition) before configuring custom models.




### Complete Tencent account sign-in in your browser

Once your browser opens `workbuddy.cn/login`, scan the `微信扫码登录` (WeChat QR code sign-in) QR code at ① with WeChat on your phone to authorize. If WeChat is not convenient, click `其他登录方式` (Other sign-in methods) at ② below it to sign in with WeCom, phone number, SSO, QQ, or email instead. After signing in, allow the browser to redirect back to the WorkBuddy desktop client.

![Browser on workbuddy.cn/login authentication page: highlights the central WeChat QR code sign-in area (1) and Other sign-in methods below (2)](https://docs.qcode.cc/static/images/tut/workbuddy/202611/zh/07-web-login-gate.webp)


Done right you will see: the webpage reports authorization succeeded and hands control back to WorkBuddy; the client leaves the sign-in screen, opens the main chat interface, and displays your account entry in the bottom-left corner.


**Stuck? The browser did not redirect back to WorkBuddy after sign-in**

Check below the browser address bar for an "Open WorkBuddy?" confirmation prompt and click Allow to return to the app. If it stays stuck on the webpage, refresh the login page to authorize again, or switch back to the WorkBuddy window and click `登录` (Sign in) once more.




### Note the logged-out Settings boundary and UI language switcher

If you pressed `Ctrl + ,` before signing in (or clicked `网络代理` / Network Proxy at the bottom), a standalone Settings window opens: the left sidebar at ① shows only three items — `通用` (General), `快捷键` (Shortcuts), and `获取帮助` (Get Help) — with **no `Models` entry**, so make sure to complete sign-in in the previous step first. Both before and after signing in, you can switch the UI language using the `常规 → 语言` (General → Language) dropdown at ② on the right (defaults to Simplified Chinese).

![Standalone Settings window opened with Ctrl+, while signed out: left sidebar shows only General, Shortcuts, and Get Help with no Models menu (1), and right pane highlights General to Language switcher (2)](https://docs.qcode.cc/static/images/tut/workbuddy/202611/zh/08-logged-out-settings.webp)


Done right you will see: once you sign in and reopen Settings, the left sidebar shows `模型` (Models) in addition to `通用` (General), `快捷键` (Shortcuts), and `获取帮助` (Get Help).




### Check your WorkBuddy version number

Click `关于(A) → 关于 WorkBuddy` (About → About WorkBuddy) in the top menu bar to open the version dialog. Verify at ① that your build is `5.11.3 (ecace0f7)` or newer (version 5.1.1 and later support hot-reloading custom model configs with no restart needed), then close the dialog.

![Version dialog opened via top menu About(A) to About WorkBuddy, highlighting version number 5.11.3 (ecace0f7) (1)](https://docs.qcode.cc/static/images/tut/workbuddy/202611/zh/09-about-version.webp)


Done right you will see: the dialog clearly lists `版本: 5.11.3 (ecace0f7)` (Version: 5.11.3) or a newer build, confirming you are running a current desktop release.




### After signing in, open "Settings → Models" and choose the "Custom" provider

Once signed in to the main interface, click your account entry at the bottom left → `设置` (Settings) → `模型` (Models) in the left sidebar (on the international edition: `Avatar > System Settings > Models`). In the custom models section, click `添加模型` (Add Model) and set `提供商` (Provider) to `自定义` (Custom) — do not select built-in plans like Tencent Cloud Token Plan.


Done right you will see: the custom model form expands with fields for Endpoint URL, API Key, and Model Name, plus a collapsible `高级配置` (Advanced Settings) section.




### Enter the QCode endpoint URL

In the Endpoint URL (`接口地址`) field, enter QCode's full OpenAI Chat Completions path (**with no trailing slash `/`**):

- **Global endpoint (default, recommended)**: `https://api.qcode.cc/openai/v1/chat/completions`
- **Asia node (optional when mainland China access is unstable)**: `https://asia.qcode.cc/openai/v1/chat/completions`
- **North America / Europe optional node**: `https://us.qcode.cc/openai/v1/chat/completions`

This is a WorkBuddy-specific requirement: many tools accept only the base URL (`/openai/v1`) and append `/chat/completions` themselves, whereas WorkBuddy with `Custom Protocol` on sends the URL exactly as entered, so you must use the full path. With the toggle off the shorthand also works, but entering the full path consistently is the least error-prone choice.

When `自定义协议` (Custom Protocol) under Advanced Settings stays off, entering `https://api.qcode.cc/openai/v1` also works because WorkBuddy appends `/chat/completions` automatically; entering the full path works whether the toggle is on or off. Never enter the Anthropic prefix `https://api.qcode.cc/api`.

**Stuck? Not sure whether to turn on the "Custom Protocol" toggle**

Leave it off (the default). QCode uses the standard OpenAI Chat Completions path, so `Custom Protocol` is not needed; make sure to keep <code>/v1</code> and omit any trailing <code>/</code>, otherwise requests may fail with 404.



Done right you will see: the Endpoint URL field holds the exact full URL `https://api.qcode.cc/openai/v1/chat/completions` (or your chosen `asia.qcode.cc` / `us.qcode.cc` host) with no trailing slash or extra spaces.




### Enter your QCode API key

In the `API Key` field, paste your QCode API key starting with `cr_` (placeholder: `cr_xxxxxxxx`), and make sure there are no leading or trailing spaces. The same QCode key works across `api.qcode.cc`, `asia.qcode.cc`, and `us.qcode.cc`, and can be reused across multiple custom model entries.

**Need an API key?**

If you do not have a QCode account yet, [Sign up](https://qcode.cc/en/auth/sign-up?utm_source=docs.qcode.cc&utm_medium=tut_key_step&utm_campaign=knowledge_base&src=docs-ide-workbuddy-key) first. If you prefer to pay by usage, buy a [Pay-as-you-go Pack](https://qcode.cc/en/pay-as-you-go?utm_source=docs.qcode.cc&utm_medium=tut_key_step&utm_campaign=knowledge_base&src=docs-ide-workbuddy-key) first, then create the key in the [Dashboard](https://qcode.cc/en/dashboard). Copy the whole string that starts with `cr_` and paste it back above. You can pay by credit/debit card (Visa / Mastercard), Apple Pay / Google Pay, or cryptocurrency — see [Payment methods](/docs/reference/payment-methods).



Done right you will see: the API Key box contains your complete `cr_` string (usually masked as dots) with no "missing API key" warning.




### Enter the model name, check Advanced Settings, and save

In the Model Name (`模型名称`) field, enter a real, live model ID served on QCode's OpenAI endpoint (**all lowercase, character-for-character**, such as `gpt-6.2-sol`, `gpt-6.2-astra`, or `qwen3.8-max`). Do not enter a display label (such as "GPT 6.2 Sol"), a `claude-` model ID, or retired models (`glm-5.1`, `kimi-k2.6`).

If you expand `高级配置` (Advanced Settings), verify `自定义协议` (Custom Protocol) stays off; enable Tool Calling, Image Input, and Reasoning Mode only according to what your target model actually supports rather than toggling everything on. Double-check all fields and click Save; on the international edition, click `Test Connection` first if the form provides it.


Done right you will see: back in the `Models` list, a new entry for `gpt-6.2-sol` (or whichever model ID you entered) appears with source `Custom` and no warning exclamation icon.




### Select the model in chat and send a test message

Return to the main WorkBuddy chat window, select the `gpt-6.2-sol` entry (or your configured model ID) in the model picker, send `ping` or "Hello", and wait for the first reply.

**Stuck? The new model does not appear in the picker or is greyed out**

If it is missing from the picker, quit WorkBuddy completely (right-click its taskbar system-tray icon and exit rather than just closing the window) and reopen it. If it is greyed out with error code 4100, the entry is missing an endpoint URL or API key — click "Go to configuration" on the warning card, fill in the missing field, and save to restore it immediately.



Done right you will see: the model replies normally in the chat area with no red error card. To confirm traffic is routed through QCode, open [probe.qcode.cc](https://probe.qcode.cc/) and paste the same key — a status `200` record matching the timestamp of your test message will appear at the top of the list.




## Verify it works

When all three of these are true, WorkBuddy is connected to QCode:

- WorkBuddy 5.11.3 is installed and signed in, and `Models` appears in the left sidebar of Settings;
- A custom model entry with source `Custom` is saved under `Settings → Models` with no warning icon or error code 4100;
- Picking your new model (such as `gpt-6.2-sol`) in chat and sending `ping` returns a normal reply (and pasting the same key into [probe.qcode.cc](https://probe.qcode.cc/) shows a matching `200` request record).

If you want to verify from the command line first that QCode's OpenAI path is reachable on your network, run this quick probe in a terminal (replace `cr_xxxxxxxx` with your own key; in mainland China, swap the host to `asia.qcode.cc`):

```bash
KEY="cr_xxxxxxxx"

curl -s -o /dev/null -w '%{http_code}\n' -X POST \
  https://api.qcode.cc/openai/v1/chat/completions \
  -H "Authorization: Bearer $KEY" \
  -H "content-type: application/json" \
  -d '{"model":"gpt-6.2-sol","max_tokens":16,"messages":[{"role":"user","content":"ping"}]}'
# → 200 = the address and the key work
# → 401 = key problem; 404 = wrong path; 400 = check the model name and parameters
```


### All done

Your Windows 11 PC now has WorkBuddy installed and connected to QCode, ready to chat with GPT and Chinese models from the desktop. From here you can:

- [Endpoints and API formats](/docs/getting-started/endpoints-and-api-paths)
- [CodeBuddy custom models](/docs/ide/codebuddy)
- [Model selection guide](/docs/usage/model-selection)
- [Billing](/docs/reference/billing)
- Next: compare plans on the [pricing page](https://qcode.cc/en/pricing?utm_source=docs.qcode.cc&utm_medium=tut_done&utm_campaign=knowledge_base&src=docs-ide-workbuddy-done)
- Go back to the [Dashboard](https://qcode.cc/en/dashboard) to check usage and balance


## Common errors

| Error message | Why | What to do |
|---|---|---|
| `当前选择的自定义模型没有配置接口地址或 API Key，请求不会发出。` | The selected custom model is missing an endpoint URL or API key (error code 4100), so it appears greyed out with a warning icon in the model picker | Click "Go to configuration" on the warning card, fill in `https://api.qcode.cc/openai/v1/chat/completions` and your `cr_` QCode key, and save — it becomes usable immediately with no restart |
| `model_not_available_on_endpoint` | A `claude-` model ID was entered on the OpenAI endpoint, or the model is not currently offered by QCode | WorkBuddy custom models support OpenAI Chat Completions only — enter a live GPT or Chinese model ID (such as `gpt-6.2-sol` or `qwen3.8-max`); for Claude, use [Claude Code](/docs/getting-started/installation), [ZCode](/docs/ide/zcode), or [Qoder](/docs/ide/qoder) |
| `HTTP 404` | The endpoint URL omits `/v1`, has a trailing `/`, mistakenly uses the Anthropic prefix `https://api.qcode.cc/api`, or has `Custom Protocol` turned on while only specifying `/openai/v1` | Set the endpoint URL to the full path `https://api.qcode.cc/openai/v1/chat/completions` (no trailing `/`) and keep `Custom Protocol` off under Advanced Settings |
| `HTTP 401` | The API key is invalid, has extra leading/trailing spaces, or has expired / been replaced | Check that you entered the complete key starting with `cr_` with no extra spaces; verify key status in the Dashboard, and manually update the key under `Settings → Models` after rotating it |

Also note: the `WorkBuddy，我帮你` screen on first launch, and a logged-out Settings sidebar showing only `通用 / 快捷键 / 获取帮助`, are a **normal sign-in gate, not an error**. Complete Tencent-ecosystem (or international) sign-in as in steps 6–7, then open `Settings → Models` from the bottom-left account menu after returning to the main interface.

## FAQ

### Why do I have to sign in when opening WorkBuddy?

WorkBuddy 5.11.3 launches directly onto a sign-in gate with no skip or offline mode. While signed out, even pressing `Ctrl + ,` only reveals `General`, `Shortcuts`, and `Get Help` in the left sidebar — `Models` is hidden. Complete WeChat, WeCom, phone number, SSO, QQ, or email sign-in in your browser (or Google / GitHub / X on the international edition), return to the desktop app, and you can then configure QCode custom models.

### What happens when my key expires?

Two cases:

- A **personal plan** key cannot be renewed when it expires — open a new plan and switch to a new key;
- For a **pay-as-you-go pack**, buy another pack after it expires and the same key is restored automatically.

If you switch to a new key, WorkBuddy does not sync it automatically — return to `Settings → Models`, replace the API Key on that custom model entry with the new key, and save.

### What if the model does not show up in the picker after saving?

Since 5.1.1, WorkBuddy supports hot-reloading `models.json`, so saving usually takes effect immediately. If the model still does not appear in the picker, quit WorkBuddy completely (do not just close the window into the system tray), reopen it, and check `Settings → Models` to make sure the entry was not accidentally deleted.

### How do I fix error code 4100 (missing endpoint URL or API Key)?

Error code 4100 means the selected custom model is missing an endpoint URL or API key, so no request is sent and the model is greyed out with a warning icon in the picker. Click "Go to configuration" on the warning card, fill in the endpoint URL and your `cr_` QCode key, and save — it recovers immediately without restarting. Models pointing to a local address (such as local Ollama) do not require an API key and are unaffected.

### Why can't I find custom models on mobile?

According to WorkBuddy's official mobile documentation, the mobile app does not include an entry for configuring custom models — the model list only displays available models. Configure custom models in the Windows or macOS desktop client instead.

### Do the China and international editions need separate configurations?

Yes. The China edition (`workbuddy.cn`) and the international edition (`workbuddy.ai`) are separate clients with separate local config file paths (see "Config file paths and privacy notes" below), so configure whichever edition you installed. QCode's endpoint URL and `cr_` key are entered identically in both.

### What if requests return 404 or 401?

- **404**: Set the endpoint URL to the full path `https://api.qcode.cc/openai/v1/chat/completions` (no trailing `/`), keep `/v1`, and verify you did not enter `https://api.qcode.cc/api` (that is the Anthropic endpoint). Turning on `Custom Protocol` while entering only `/openai/v1` also triggers 404 because `/chat/completions` is missing.
- **401**: Confirm the API key starts with `cr_` with no leading or trailing spaces, and check its status in the [Dashboard](https://qcode.cc/en/dashboard). WorkBuddy stores keys locally, so after rotating a key you must update it manually in the custom model form.

### What if the model name is filled in, but replies are odd or fail?

`Model Name` must be a live, exact ID currently offered on QCode's OpenAI endpoint (such as `gpt-6.2-sol`) — do not enter a capitalized display name with spaces (like "GPT 6.2 Sol") or an alias from another platform. See the live catalog at [qcode.cc/models](https://qcode.cc/en/models), or call `GET https://api.qcode.cc/openai/v1/models` with your key to inspect the exact set of models available on this endpoint (excluding Claude).

### Do custom models upload my chats and API key to Tencent?

According to the official model documentation, custom model parameters (including your API key) are stored only in a local file and are not uploaded to the cloud; for custom models, WorkBuddy acts as the transport layer forwarding your input to the third-party endpoint you configured. Refer to the [official model configuration docs](https://www.workbuddy.cn/docs/workbuddy/From-Beginner-to-Expert-Guide/Function-Description/Model) and Tencent's user agreement for authoritative terms. Requests sent to QCode can be inspected at [probe.qcode.cc](https://probe.qcode.cc/) using the same key.

### Can WorkBuddy replace Claude Code?

Not as a one-to-one replacement. WorkBuddy targets office deliverables such as notes, spreadsheets, slide decks, and light code, whereas repo-wide refactoring, testing, and CI are better handled by [Claude Code](/docs/getting-started/installation) or [Codex CLI](/docs/ide/codex). You can run both side by side — office work in WorkBuddy and coding in Claude Code switched via [CC Switch](/docs/ide/cc-switch) — sharing one QCode key; see [Billing](/docs/reference/billing) for shared quota and settlement rules.

## Connection overview

| Item | Details |
|---|---|
| Can I use my own key? | Yes. After signing in on desktop, open `Settings → Models`, choose `Custom`, and enter the endpoint URL, API key, and model name manually |
| First-launch requirement | Account sign-in required (China edition: WeChat / WeCom / phone number / SSO / QQ / email; international edition: Google / GitHub / X) |
| Available models | Claude ❌ (custom models support OpenAI Chat Completions only) · GPT ✅ · Chinese models ✅ · Gemini ❌ |
| Protocol and endpoint URL | OpenAI Chat Completions: full path `https://api.qcode.cc/openai/v1/chat/completions` recommended (`https://api.qcode.cc/openai/v1` also works with `Custom Protocol` off) |
| China edition (workbuddy.cn) | Entry: bottom-left account → `Settings → Models`; config path: `%USERPROFILE%\.workbuddy\models.json` (`~/.workbuddy/models.json` on macOS / Linux), compatible with `~/.codebuddy/models.json` |
| International edition (workbuddy.ai) | Entry: `Avatar > System Settings > Models`; config path: `~/.workbuddy-ai/models.json` (`%USERPROFILE%\.workbuddy-ai\models.json` on Windows) |
| Mobile | No entry for configuring custom models; configure on desktop |
| Official docs | [China: Model configuration](https://www.workbuddy.cn/docs/workbuddy/From-Beginner-to-Expert-Guide/Function-Description/Model) · [International: Model Configuration](https://www.workbuddy.ai/docs/workbuddy/From-Beginner-to-Expert-Guide/Function-Description/Model-Configuration) |

QCode.cc is not affiliated with Tencent, WorkBuddy, or CodeBuddy. UI labels follow the WorkBuddy build installed on your machine.

## Endpoint URL and the "Custom Protocol" toggle

The `Custom Protocol` toggle under `Advanced Settings` controls how WorkBuddy processes the endpoint URL you enter:

| Toggle state | Behavior |
|---|---|
| Off (default, recommended) | Automatically validates and normalizes to the standard `/chat/completions` path; either the full path or a base URL ending in `/v1` works, and no other path segments are appended automatically |
| On | Sends requests to the entered URL **as typed**, skipping path validation and auto-completion; you must enter the full path |

When connecting to QCode, enter the full path `https://api.qcode.cc/openai/v1/chat/completions`: it works whether `Custom Protocol` is on or off, and matches the `url` field required when editing `models.json` by hand. Keep three things in mind:

- Keep `/v1`: WorkBuddy only appends `/chat/completions`, not `/openai/v1`;
- **No trailing `/`**, otherwise it may produce `//chat/completions` and return 404;
- Leave `Custom Protocol` off — it only controls path normalization, not API protocol conversion.

All three ingress domains have identical capabilities and differ only in network routing; the same `cr_` key works on all of them:

| Node | Full endpoint URL (recommended) | Shorthand with Custom Protocol off |
|---|---|---|
| Global (default) | `https://api.qcode.cc/openai/v1/chat/completions` | `https://api.qcode.cc/openai/v1` |
| Asia (optional when mainland China access is unstable) | `https://asia.qcode.cc/openai/v1/chat/completions` | `https://asia.qcode.cc/openai/v1` |
| North America / Europe | `https://us.qcode.cc/openai/v1/chat/completions` | `https://us.qcode.cc/openai/v1` |

## Config file paths and privacy notes

Day-to-day adding, editing, and deleting of custom models can be done directly in the UI with no manual file editing. The default local config file paths for both editions are:

| Edition | Default local config file path | Notes |
|---|---|---|
| China edition (workbuddy.cn) | Windows: `%USERPROFILE%\.workbuddy\models.json`; macOS / Linux: `~/.workbuddy/models.json` | Created automatically on first launch (initialized to `[]`), stored locally only and not uploaded; compatible with custom models already configured via `~/.codebuddy/models.json` |
| International edition (workbuddy.ai) | Windows: `%USERPROFILE%\.workbuddy-ai\models.json`; macOS / Linux: `~/.workbuddy-ai/models.json` | If you changed the user config directory, follow the path actually displayed on the Models settings page |

Additional notes:

- Never upload local config files containing API keys to public code repositories;
- Per official credit rules, usage costs for custom models are billed directly by the third-party provider (on QCode, see [Billing](/docs/reference/billing));
- Version 5.1.1 and later support `models.json` hot-reloading, so edits take effect without restarting;
- If you do need to hand-edit `models.json`, add one working entry in the UI first and follow the generated local structure; see [CodeBuddy custom models](/docs/ide/codebuddy) for field references from the sibling coding tool.

## Recommended models to add first

You can add multiple custom models in WorkBuddy with the same QCode key — keep the endpoint URL and API key identical and change only `Model Name`. Below are popular live model IDs on QCode's OpenAI endpoint (check [qcode.cc/models](https://qcode.cc/en/models) for current rates and the full real-time list):

| Model ID | Best for |
|---|---|
| `gpt-6.2-sol` | GPT flagship workhorse for complex office and general tasks |
| `gpt-6.2-astra` | Top-tier GPT flagship for hard reasoning and multi-step planning |
| `glm-5.3` | Zhipu flagship with strong Chinese office performance |
| `kimi-k3.1-pro` / `kimi-k3` | Moonshot flagship with 1M long context for lengthy documents |
| `deepseek-v4-pro` | DeepSeek flagship model |
| `qwen3.8-max` | Qwen flagship model |

Mid-tier and lighter siblings `glm-5.3-flash`, `deepseek-v4.1-flash`, `deepseek-v4-flash`, `qwen3.8-flash`, and `qwen3.7-plus` are also live; previous-generation `glm-5.1` and `kimi-k2.6` are retired and will return an error if entered. See [Model selection guide](/docs/usage/model-selection) for selection tips, and never enter a name that is not listed on [qcode.cc/models](https://qcode.cc/en/models) into `Model Name`.

Reminder: WorkBuddy custom models use the OpenAI Chat Completions protocol — **do not** enter the Anthropic endpoint `https://api.qcode.cc/api` as the endpoint URL, and do not enter `claude-` model IDs here.

## Related docs

- [Endpoints and API formats](/docs/getting-started/endpoints-and-api-paths) — three protocols, three ingress domains, and path reference
- [CodeBuddy custom models](/docs/ide/codebuddy) — the sibling coding tool from the same team and `models.json` field reference
- [CC Switch setup](/docs/ide/cc-switch) — switch the same key between Claude Code and Codex
- [Model selection guide](/docs/usage/model-selection) — picking the right model for everyday tasks
- [Billing](/docs/reference/billing) — shared quota and settlement rules
- Live model IDs and rates: [qcode.cc/models](https://qcode.cc/en/models)