identity

open weights
Z.ai logo

GLM-4.6Z.ai

in /1M$0.60input tokens
out /1M$2.20output tokens
context200K128K out
trainingnoon your prompts
api
chat
hosting
Singapore
model lab
Z.AI
weights
open
added
September 2025
model id
zai/GLM-4.6

capabilities 2/8

visionreasoningtoolscachingweb searchjson schemacomputer useimage gen

2 providers serve glm-4.6. This page is one of them. Compare all endpoints

pricing

no markup
input
$0.60
output
$2.20
cache write
-
cache read
-

worked cost

Estimated cost for three request volumes
volumecost
100K in + 10K out$0.0820
1M in + 100K out$0.82
10M in + 1M out$8.20

Requesty charges what the upstream provider charges, with no markup and no per-request fee. Prompt caching and smart routing cut the effective cost further on repeated context. Gateway pricing

provider price, passed throughper 1M tokens

measured

through Sep 11

no measured traffic for this endpoint yet. pricing above is the provider's own

benchmarks

artificial analysis
Benchmark scores, each normalised to 100
evalScore as a share of 100/100
Math Index86.0
AIME 202586.0
MMLU Pro82.9
GPQA Diamond78.0
τ²-Bench70.5
LiveCodeBench69.5
Coding Index45.8
Terminal-Bench Hard25.0
Intelligence Index18.5
Humanity's Last Exam14.5
10 evalsmean57.7

Scores from Artificial Analysis and public leaderboards, normalised to 100. Bar colour is the band, not the rank: green 80 and up, blue 55 and up, amber 30 and up. Benchmarks measure narrow skills, so test on your own workload before committing. Released 2025-09-30.

policy

data terms
retention
none
trains on prompts
no
hosted in
Singapore

Terms are the provider's, not Requesty's: routing a request here puts it under them. Z AI Privacy Policy

Need every request to stay in one jurisdiction? EU hosting routes only through EU-hosted providers.

quickstart

openai compatible
zai/GLM-4.6

this id pins the z.ai deployment, with no routing and no failover. the managed id on the canonical page routes across all 2 providers instead

main.py
from openai import OpenAI client = OpenAI(    api_key="YOUR_REQUESTY_API_KEY",    base_url="https://router.requesty.ai/v1",) response = client.chat.completions.create(    model="zai/GLM-4.6",    messages=[        {"role": "user", "content": "Explain quantum computing in one paragraph."},    ],) print(response.choices[0].message.content)

Change the base url to https://router.requesty.ai/v1, use your Requesty key, set the model to the id above. Existing OpenAI SDK code needs no other edit, and the same key reaches every other model in the catalog. Browse all models

notes

reference

GLM-4.6 is Z AI’s latest flagship model, designed to push agentic and coding performance further. It expands the context window from 128K to 200K tokens, improves reasoning and tool-use capabilities, and delivers stronger results in coding benchmarks and real-world development workflows. GLM-4.6 demonstrates refined writing quality, more capable agent behavior, and higher token efficiency (≈15% fewer tokens vs. GLM-4.5). Evaluations show clear gains over GLM-4.5 across reasoning, agents, and coding, reaching near parity with Claude Sonnet 4 in practical tasks while outperforming other open-source baselines. GLM-4.6 is available through the Z.ai API platform, OpenRouter, coding agents (Claude Code, Roo Code, Cline, Kilo Code), and soon as downloadable weights on HuggingFace and ModelScope.

questions 6

How much does GLM-4.6 cost?
GLM-4.6 is priced at $0.60 per million input tokens and $2.20 per million output tokens when accessed via Requesty. Requesty charges exactly what the upstream provider charges, we don't add markup.
What is the context window of GLM-4.6?
GLM-4.6 has a context window of 200K tokens, with a maximum output of 128K tokens per response. That is roughly 267 words of input you can fit in a single prompt.
How does GLM-4.6 perform on benchmarks?
GLM-4.6 scores 86.0% on Math Index, 86.0% on AIME 2025, 82.9% on MMLU Pro. The benchmarks pane shows every published result, each normalised to 100.
What can GLM-4.6 do?
GLM-4.6 supports tool calling, extended reasoning. You can call it through any OpenAI-compatible client by pointing base_url to Requesty.
How do I use GLM-4.6 with the OpenAI SDK?
Install the OpenAI SDK, set base_url to "https://router.requesty.ai/v1", set your API key to your Requesty key, and set the model to "zai/GLM-4.6". The quickstart pane shows Python, JavaScript and cURL snippets.
Can I run GLM-4.6 through Requesty?
Yes. GLM-4.6 runs through Requesty's OpenAI-compatible API, served from Z.ai. You do not host the model yourself: point base_url at Requesty, set the model to "zai/GLM-4.6", and requests are routed to the upstream provider with automatic failover. The same key gives you 600+ other models too.

more from z.ai 7

Other Z.ai endpoints
endpointctxin /M
glm-5.3-flash1M$0.15
glm-5.31M$1.40
glm-5.21M$1.40
glm-5.1200K$1.40
GLM-5200K$1.00
GLM-4.7200K$0.60
GLM-4.5131K$0.60

call glm-4.6 through one endpoint

One key for this endpoint and 600+ other models. No markup on provider prices, automatic failover when a provider degrades, and prompt caching built in. Methodology

GLM-4.6z.aiin $0.60 /1Mout $2.20 /1Mctx 200Khosted Singapore2 providers serve this model