tencent cloud

문서大模型服务平台 TokenHub

Token Plan Quick Start

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-07-14 16:02:04


Purchasing a Token Plan Personal Edition Package

Go to the Token Plan purchase page to subscribe to the package.

Selecting an AI Tool

Openclaw Tools
Open-source, self-hosted personal AI assistant
Tencent Cloud All-Scenario AI Desktop Agent
Deploy OpenClaw on Tencent Cloud Lighthouse
Local AI agent
Open-source AI agent
Tencent PC Manager Localized AI Assistant
Coding Tools
An intelligent coding tool based on Tencent Cloud AI technology
Open-source AI coding agent tool
Lightweight, High-Performance Coding Tool
A VSCode extension for code completion and debugging
AI-native code editor
Lightweight, High-Performance Coding Tool CLI
An AI terminal coding assistant that supports natural language coding
Intelligent coding agent launched by OpenAI
A development tool with deeply integrated AI capabilities

Configuring an AI Tool

The following section uses Cline as an example to describe how to use Token Plan.

1. Installing Cline

Open VSCode, search for and install Cline from the Extensions Marketplace. For details, refer to the Cline official installation guide.

2. Configuring Token Plan

After the Cline extension is installed, click the settings button in the upper-right corner. Configure the package information. Each model requires a separate configuration. After the configuration is complete, click "Done".
API Provider: Select OpenAI Compatible (the Token Plan API is compatible with the OpenAI standard).
Base URL:https://tokenhub-intl.tencentcloudmaas.com/plan/v3.
API Key: On the Token Plan package page > API Key, generate a dedicated API Key and copy it.

Model ID: Select the Model ID supported by the package for configuration.
Model ID
glm-5.2
kimi-k2.6
deepseek-v4-pro-202606
deepseek-v4-flash-202605
minimax-m3
auto

3. Using Cline

After the configuration is complete, you can view the corresponding model configuration displayed below the dialog box, switch models, and interact with the model through the dialog box.

Other Operations

1. Viewing Package Usage Consumption

You can view the credit consumption and Token usage for your package's current billing cycle in the console. Go to the large language model service platform TokenHub > Token Plan.
Note:
Credit Refresh Rules: After the package credits are exhausted within the subscription month's cycle, no other resource packages or account balances will be consumed. You must wait until the next subscription month for the credits to be automatically restored. Alternatively, you can upgrade to a higher-tier package to enjoy a more generous Token quota.
1.1 View the overall consumption of your package credits in the Remaining Credits section.

1.2 View the daily total usage, minute-level usage, and request-dimension usage in the Usage Details section at the bottom of the page.


2. API Key Management

Copy the API Key
On the large model service platform TokenHub > Token Plan > API Key, click Copy to obtain the API Key.
Reset the API Key
On the large language model service platform TokenHub > Token Plan > API Key, click Reset to regenerate the API Key.
Attention:
Resetting the API Key for the Token Plan Personal Edition package will cause the old API Key to become permanently invalid within 5 minutes. Real-time API calls for all packages will be interrupted immediately and will not resume until you configure the new API Key on all calling clients. Please proceed with caution.
Delete the API Key.
On the large language model service platform TokenHub > Token Plan > API Key, click Delete to delete the API Key.
Attention:
Deleting the API Key for the Token Plan Personal Edition package will cause the old API Key to become permanently and irrecoverably invalid immediately. Real-time API calls for all packages will be interrupted instantly. Please proceed with caution.

Common Error Codes

Error Code
Error Message
Possible cause
Solution
401
unauthorized
URL or API Key configuration error
1. Confirm that the URL is Token Plan URL.
2. Confirm that the API Key is correctly obtained according to the Dedicated API Key.
3. Refer to the OpenClaw and Coding Tools guides to confirm that the URL and API Key are configured correctly.
429
tpm rate limit exceeded
High system load triggers rate limiting.
Please retry 1-2 times or switch to other models.
20033
invalid model
Model Name configuration error
Check whether the model configuration is correct based on the package you subscribed to.
20059
Input length too long
Input length exceeded the allowed range.
The error can be resolved by creating a new session.
20097
month allocated quota exceeded
The request quota for each subscription month has been exhausted.
Wait until the same time of the next subscription month (subscription time) for quota reset, or upgrade to a higher-tier package.

FAQs

For details, see Token Plan FAQs.


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백