…
…
Prices are for the default group, in US dollars. The price that applies is saved on each call’s usage record.
POST /v1/chat/completionscurl https://api.yzware.com/v1/chat/completions \
-H "Authorization: Bearer $YZ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'Replace $YZ_API_KEY with your key, or set it as an environment variable.