GLM-4.6

mit

Compared with GLM-4.5, GLM-4.6 brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex agentic tasks. Superior coding performance: The model achieves higher scores on code benchmarks and demonstrates better real-world performance in applications such as Claude Code、Cline、Roo Code and Kilo Code, including improvements in generating visually polished front-end pages. Advanced reasoning: GLM-...

Context
203K
Max output
128K
Input price
$0.5/1M tokens
Output price
$2/1M tokens

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Fine-tuning

Details

Model IDzai-org/GLM-4.6
Provider DeepInfra
FamilyGLM-4.6
Licensemit
Statusactive
Typechat
Input modalitiestext
Output modalitiestext
Open weightYes
Parameters—
Architecture—
Context window203K tokens
Max input—
Max output128K tokens
Reasoning tokensYes
Knowledge cutoff—
Release date—
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Endpoints

Chat CompletionsPOST
Generate chat responses with messageshttps://api.deepinfra.com/v1/openai/v1/chat/completions

Pricing

Input
$0.5
Output
$2
Cache write
—
Cache read
$0.1
Batch in
—
Batch out
—

API

GET/v1/models/deepinfra/zai-org/GLM-4.6