Z.aiApr 1, 2024
GLM 4.6
GLM-4.6 is a large language model developed by Z.ai, featuring strong reasoning capabilities and support for multiple languages. Supports a large context window for processing extensive text and detailed analysis.
$0.43/$1.75
per 1M in / out
198K
context window
16K
max output
Quickstart
OpenAI-compatible: point any OpenAI SDK at the Venice base URL with a Venice API key.
curl https://api.venice.ai/api/v1/chat/completions \
-H "Authorization: Bearer $VENICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "zai-org-glm-4.6",
"messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }],
"reasoning_effort": "low"
}'Base URL
https://api.venice.ai/api/v1Parameters
| Parameter | Values |
|---|---|
model | zai-org-glm-4.6 |
messages | text |
max_completion_tokens | Up to 16,384 |
reasoning_effort | low | medium | high |
tools | Function definitions |
response_format | { type: |
stream | true | false |
venice_parameters.enable_web_search | auto | on | off |
Capabilities
What the model takes in, returns and supports through the API.
InText
OutText
Streaming
Function callingstream: truetoolsStructured outputsresponse_formatReasoningreasoning_effort low · medium · highWeb search
Prompt cachingReads at $0.08enable_web_searchNot supportedimage input, video input, audio input, X search and log probabilities
Pricing
Billed per token in USD. Reasoning tokens bill as output.
Input$0.43per 1M tokens
Cached input$0.0881% off input
Output$1.75per 1M tokens
Estimate a workload
$0.0017per request
$17.35for 10,000 requests
Blended price against similar models
Specs
- Model ID
zai-org-glm-4.6- Endpoint
POST /api/v1/chat/completions- Context window
- 198,000 tokens
- Max output
- 16,384 tokens
- Reasoning
low · medium · high· default low- Precision
- FP4
- Privacy
- Private
- Weights
- zai-org/GLM-4.6
- Added
- Apr 1, 2024
Compare
| Model | Input | Output |
|---|---|---|
| GLM 4.6 | $0.43 | $1.75 |
| Qwen 3 Next 80b | $0.35 | $1.90 |
| Llama 3.3 70B | $0.70 | $2.80 |
| Qwen 3 235B A22B Thinking 2507 | $0.45 | $3.50 |
| Qwen3 VL 235B | $0.21 | $1.90 |