Back to Models
GLM-4.6
Activeglm-4.6Z.ai GLM-4.6 — flagship OpenAI-compatible model with a 200K context window, optional thinking mode (reasoning tokens counted inside completion tokens), and automatic context caching.
Technical Specifications
Context Length200K tokens
Max Output131K tokens
Available Providers1
Lowest Input Price$0.60/1M tokens
Lowest Output Price$2.20/1M tokens
Capabilities
chatcodefunction_calling
Provider Availability & Pricing
| Provider | Provider Model ID | Input Price (per 1M tokens) | Output Price (per 1M tokens) | Status |
|---|---|---|---|---|
Z.ai (Zhipu) | glm-4.6 | $0.60 | $2.20 | active |
Code Examples
curl https://api.tokligence.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "glm-4.6",
"messages": [
{
"role": "user",
"content": "Hello, how are you?"
}
],
"max_tokens": 1024
}'Ready to use GLM-4.6?
Try it out in our interactive playground or integrate it into your application with just a few lines of code.