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. Standard model rates follow providers' international list prices at 100%; some models have a separate Paid rate after the first top-up.
200K
Text
$1.2
$4
OpenAI-compatible /v1/chat/completions
Efficient GLM model for fast reasoning, coding, and agent workflows
Pricing
$1.2/M input, $4/M output tokens. Paid in USD. Standard model rates follow providers' international list prices at 100%; some models have a separate Paid rate after the first top-up. View live pricing
Paid price after first top-up (input / output per 1M tokens): $1.14 / $3.8 (−5%)
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/M output tokens, paid in USD. The live pricing page is authoritative. After the first top-up, the Paid price is $1.14/M input, $3.8/M output tokens (−5%). Standard model rates follow providers' international list prices at 100%; some models have a separate Paid rate after the first top-up.
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.