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

About this model

Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex...

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-4.6",    "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

1.429 TND

per 1M tokens

Output tokens

5.815 TND

per 1M tokens

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

Specifications

Provider
Z.ai
Context window
204,800 tokens
Input modality
Text
Added
Sep 30, 2025
Supported parameters
frequency_penaltyinclude_reasoninglogit_biasmax_tokensmin_ppresence_penaltyreasoningrepetition_penalty