CoPaw is an open-source Chinese AI agent developed by Alibaba Cloud's Tongyi Lab. CoPaw supports integrating any third-party model service compatible with the OpenAI protocol through its "Custom Provider" feature. Models from the Tencent Cloud Token Plan Enterprise Edition can be integrated into CoPaw using the following configuration.
This document describes how to configure and use the Tencent Cloud Large Language Model Token Plan Enterprise Edition in CoPaw.
Prerequisites
Before you start the configuration, ensure that you have completed the following preparations:
Steps
Step 1: Start CoPaw and Go to the Model Configuration Page
After starting the CoPaw application (for installation details, see the CoPaw official website), access http://127.0.0.1:8088 (the default port) in your browser. Then, click Settings > Models in the left sidebar to go to the model configuration page. Step 2: Add a Custom Provider
On the model configuration page, click Add Provider > Settings, fill in the following information, and then click Create.
|
Provider ID | tencent-token-plan-ent
|
Display Name | Tencent Cloud Token Plan Enterprise Edition |
After the creation is successful, you can see the newly added provider card on the page.
Step 3: Configure the Provider
Click Settings on the newly added provider card and fill in the following connection parameters:
|
Base URL | Guangzhou: https://tokenhub.tencentcloudmaas.com/plan/v3; Singapore: https://tokenhub-intl.tencentcloudmaas.com/plan/v3 |
API Key | Enter your dedicated API Key. |
After completing the form, save the settings.
Step 4: Add a Model
Click Models on the Custom Provider card, enter the Model ID in the Model ID input box, and then click Add Model. The following models are supported:
|
Auto | auto
|
GLM-5.2 | glm-5.2
|
MiniMax-M3 | minimax-m3
|
Kimi K2.7 Code | kimi-k2.7-code
|
Kimi K2.7 Code HighSpeed | kimi-k2.7-code-highspeed
|
DeepSeek-V4-Flash | deepseek-v4-flash
|
DeepSeek-V4-Pro | deepseek-v4-pro
|
DeepSeek-V4-Flash (Vendor Direct) | deepseek-v4-flash-202605
|
DeepSeek-V4-Pro (Vendor Direct) | deepseek-v4-pro-202606
|
Step 5: Select and Use a Model
In the LLM Configuration area at the top of the page, select the custom provider you just added, choose the corresponding model, and click Save to start a conversation.