1. Create an API key in the console.
The key is issued on the official TokenHub side.
Authenticate with a bearer token and call the versioned REST endpoints.
The key is issued on the official TokenHub side.
Authorization: Bearer <api-key>
https://tokenhub-intl.tencentmaas.com/v1/chat/completions
By service region: Singapore/global https://tokenhub-intl.tencentmaas.com/v1; Guangzhou/mainland China https://tokenhub.tencentmaas.com/v1. Cross-region calls are not supported.
curl https://tokenhub-intl.tencentmaas.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "deepseek-v4-pro-0813",
"messages": [{"role": "user", "content": "Hello"}]
}'
Anthropic-compatible endpoint: https://tokenhub-intl.tencentmaas.com/v1/messages (x-api-key header).