Speed
Output tokens / second
Custom pricing for production workloads
GLM 4.6V on AIMLAPI.
z-ai/glm-4.6vhttps://api.aimlapi.com/v1Coding and code review
Generate, debug, and review code across languages, reading whole files or repos in a single prompt.
Agentic and multi-step workflows
Reliable tool-calling and instruction-following suit agent loops that plan, call tools, and iterate.
Complex reasoning
Extended reasoning improves reliability on multi-step math, logic, and technical analysis.
Long-document analysis
Summarize and extract from contracts, papers, and reports without aggressive chunking.
GLM-4.6V is documented as suitable for reading and summarizing long documents, scans, and entire slide decks. It is also suited to identifying and interpreting chart and dashboard screenshots.
The model is documented for frontend and design workflows, including generating or modifying frontend code based on UI screenshots. It is also suited to visual search and multimodal agent tasks that combine images with web retrieval or tools like browser, code execution, and retrieval to complete complex tasks.
See how GLM 4.6V compares in generation speed and latency. Data retrieved Nov 3, 2026.
Output tokens / second
Compare 13 models available on AI/ML API across 5 independent benchmarks.
Expert-written questions across academic subjects.
Graduate-level science questions written to resist web search.
Reasoning across long documents of about 100k tokens.
Following precise instructions about the shape of the answer.
Customer support agent tasks with tool calls.
| Usage | Price | Unit |
|---|---|---|
| Input | $0.3174 | 1M tokens |
| Output | $0.9522 | 1M tokens |
| Cached input | $0.0582 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $0.3174 | $0.9522 | |
| $0.15 | $0.5 | |
| $0.37 | $1.25 | |
| $1.4 | $4.4 | |
| $3.5 | $11 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "z-ai/glm-4.6v",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "z-ai/glm-4.6v",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "z-ai/glm-4.6v",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());GLM 4.6V has a 131,072 tokens context window and can return up to 32,768 tokens.
GLM 4.6V takes image, text as input and returns text.
Use z-ai/glm-4.6v as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
GLM 4.6V costs $0.3174 input and $0.9522 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Yes, GLM 4.6V can stream responses as they are generated.
Yes, GLM 4.6V accepts image input alongside text.
GLM 4.6V was built by Zhipu AI.
Yes. It supports function calling, tool use, and parallel tool calls.