GLM-5.1 is available through APIAny with unified billing and usage tracking.
Model:
Sampling temperature. Lower is more deterministic.
USD estimate $0.0065-$0.013: highest recharge package uses $1 = 2,000 credits; entry package uses $1 = 1,000 credits.
History
Saved locally in this browser
0 running · 0 completed
输入
≈ $0.0014-$0.0028
输出
≈ $0.006-$0.012
缓存读取
≈ $0.0019-$0.0038
上下文
最大输出
API
curl /api/v1/chat/completions \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.1",
"messages": [
{
"role": "user",
"content": "Summarize the following text in three concise bullet points:"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'