Zhipu

Z.ai: GLM-4.6

Chat
z-ai/glm-4.6
CompareGet Started

GLM-4.6 is Z.ai's GLM-series chat model released on 2025-09-30, offering strong instruction following and an excellent balance of performance and cost, with particular strength on Chinese-language tasks. It supports reasoning, function calling (tool use), prompt caching, and web search. Context: 200K tokens, output: 128K. Pricing is $0.40/M input tokens and $1.90/M output, with cached input reads at $0.11/M. Available via OpenAI and Anthropic protocols.

Context Window
200K
Max Output Tokens
128K
Released
2025-09-30
Capabilities
Function CallingReasoningPrompt CachingWeb Search
Available Providers
ZhipuZhipu
Supported Protocols
OpenAIopenaiAnthropicanthropic

Providers

ZhipuZhipu
Input Tokens
$0.4/M
Output Tokens
$1.9/M
Cache Read
$0.11/M
Web Search
$0.01/R
Protocols
OpenAIopenai/v1/chat/completions
Anthropicanthropic

Code Examples

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.run/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.chat.completions.create(
model="z-ai/glm-4.6",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)

Benchmarks

LMArenaEvaluated as glm-4.6

Z.ai: GLM-4.6 scores 1425 in the Overall category of the LMArena text leaderboard (style control), ranking #86 of 374 models based on 35,623 human preference votes (updated 2026-07-12).

Benchmark scores for glm-4.6 on LMArena
CategoryArena Score95% CIRankVotes
Overall142514211429#86 of 37435,623
Hard Prompts144214371447#93 of 37419,079
Coding145914521466#107 of 3697,478
Math142114081433#91 of 3622,107
Creative Writing140213941411#77 of 3725,087
Instruction Following141514091422#89 of 37410,002
Chinese148214681497#62 of 3441,649

Source: LMArena · CC BY 4.0 · Updated 2026-07-12 · Methodology · Ranks compare models within each category of the LMArena text leaderboard (style control). Scores come from third-party human preference evaluations, not from OFOX.

Frequently Asked Questions

Z.ai: GLM-4.6 on Ofox.ai costs $0.4/M per million input tokens and $1.9/M per million output tokens. Pay-as-you-go, no monthly fees.