FAQ
The response is 401
The request has no token, or the token is invalid, disabled, or expired. The header must be:
Authorization: Bearer sk-your-tokenThere is one space between Bearer and the key. The key comes from this site's console, not from another platform.
The model is missing, or no channel is available
model is outside this token's allow list, or the name does not match. Call the model list with the same token and use a returned id.
Quota is not enough
The token or account cannot pay for this call. Check the balance in the console. Task models and per-call models are priced before the call. If that estimate fails, the request is rejected too.
A chat call to one model always fails
Check the catalog to see if it is a dynamically billed task model. Video and music models need task usage and do not belong on chat completions. Pictures belong on image generation. For conversation, use a per-token text model such as qwen-plus.
The charge does not match a price in this guide
This guide does not publish unit prices. The charge uses the catalog price at request time and the actual usage. Cache hits, per-call prices, and dynamic expressions will not match "token count times one rate".
A Claude client calls /v1/v1/messages
The Anthropic SDK and Claude Code already request /v1/messages. Set base_url or ANTHROPIC_BASE_URL to https://uni.sointech.com.cn, with no extra /v1. Either x-api-key or Authorization: Bearer is accepted. See Claude-compatible.
Where the console Docs link goes
It opens this guide: https://uni.sointech.com.cn/docs/. English pages are under /docs/en/.
