Skip to content
Z.ai
z-ai/glm-5.1

About this model

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

Make a request

OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.

curl https://promptix.tn/api/v1/chat/completions \  -H "Authorization: Bearer $PROMPTIX_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "z-ai/glm-5.1",    "messages": [      {"role": "user", "content": "Hello! What can you do?"}    ]  }'

Pricing

In TND per 1M tokens. VAT and the platform fee are added at top-up.

Input tokens

3.734 TND

per 1M tokens

Output tokens

11.735 TND

per 1M tokens

1,000 requests with 1K input and 500 output tokens cost about 9.602 TND.

Specifications

Provider
Z.ai
Context window
204,800 tokens
Input modality
Text
Added
Apr 7, 2026
Supported parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoning