Context window
200K
Zhipu / GLM API model
Efficient GLM model for fast reasoning, coding, and agent workflows
Specs
Transparent USD pricing. No mainland-China account or phone required. Token-model rates are synchronized from the gateway and may follow providers' official China list prices where configured. Live pricing is authoritative.
200K
Text
$1.2
$4.4571
OpenAI-compatible /v1/chat/completions
Efficient GLM model for fast reasoning, coding, and agent workflows
Pricing
$1.2/M input, $4.4571/M output tokens. Paid in USD. Token-model rates are synchronized from the gateway and may follow providers' official China list prices where configured. Live pricing is authoritative. View live pricing
Quickstart
curl -X POST https://api.chinaapi.ai/v1/chat/completions \
-H "Authorization: Bearer $CHINAAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5-turbo",
"messages": [
{"role": "user", "content": "Summarize the main tradeoffs for this API workload."}
]
}'
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["CHINAAPI_API_KEY"],
base_url="https://api.chinaapi.ai/v1",
)
response = client.chat.completions.create(
model="glm-5-turbo",
messages=[
{"role": "user", "content": "Summarize the main tradeoffs for this API workload."}
],
)
print(response.choices[0].message.content)
Internal links
Use glm-5-turbo through ChinaAPI with an API key and the OpenAI-compatible endpoint shown above.
glm-5-turbo is $1.2/M input, $4.4571/M output tokens, paid in USD. The live pricing page is authoritative. Token-model rates are synchronized from the gateway and may follow providers' official China list prices where configured. Live pricing is authoritative.
No. ChinaAPI provides access without a mainland-China account or phone number and includes a $2 free trial. Check live pricing for the displayed USD rate.