GLM 4.6

glm-4.6 · Z.AI

GLM-4.6 is Zhipu’s latest flagship model (total parameters 355B, activation parameters 32B), comprehensively surpassing GLM-4.5. Its coding capability is aligned with Claude Sonnet 4, making it a top domestic coding model; the context window has been expanded from 128K to 200K, better suited for long code and agent tasks; inference capabilities have been significantly enhanced and support tool invocation during processing; improvements have been made in tool calling, search agents, writing style, role play, and multilingual translation. The model is named glm-4.6 and is provided by three vendors, with calls prioritized to the Sophnet platform.

API Pricing

Input$0.274 / 1M tokens
Output$1.096 / 1M tokens
Cache read$0.055 / 1M tokens

Specifications

Context205K tokens
Modalitiestext
Featuresthinking, tool calling, function calling, structured outputs

Frequently asked questions

What is GLM 4.6?

GLM-4.6 is Zhipu’s latest flagship model (total parameters 355B, activation parameters 32B), comprehensively surpassing GLM-4.5. Its coding capability is aligned with Claude Sonnet 4, making it a top domestic coding model; the context window has been expanded from 128K to 200K, better suited for long code and agent tasks; inference capabilities have been significantly enhanced and support tool invocation during processing; improvements have been made in tool calling, search agents, writing style, role play, and multilingual translation. The model is named glm-4.6 and is provided by three vendors, with calls prioritized to the Sophnet platform.

What is the context length of GLM 4.6?

GLM 4.6 has a 204,800 token context window.

How much does GLM 4.6 cost?

On AIHubMix, GLM 4.6 costs $0.274 per million input tokens and $1.096 per million output tokens. Cached input reads are billed at $0.055 per million tokens.

What modalities does GLM 4.6 support?

GLM 4.6 accepts text input.

What capabilities does GLM 4.6 support?

GLM 4.6 supports thinking, tool calling, function calling and structured outputs. Per-protocol parameter support is listed in the capability table on this page.

How do I call GLM 4.6 via API?

GLM 4.6 is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to glm-4.6 — no other code changes needed.

Who created GLM 4.6?

GLM 4.6 is developed by Z.AI. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

More models from Z.AI

See all Z.AI models →

GLM 5.3

by Z.AI

GLM-5.3 is Z.AI’s coding and agentic reasoning model, built for complex software…

$1.127 $1.014/1M in · $3.944 $3.549/1M out
10% off · 00:00–23:59 UTC
1,000,000 tokens context

Coding GLM 5.3

by Z.AI

GLM-5.3 is Z.ai’s reasoning model for coding and agentic workflows, designed for complex…

$0.06/1M in · $0.22/1M out

GLM 5.2

by Z.AI

GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable…

$1.127/1M in · $3.944/1M out
1,000,000 tokens context

GLM 5.2 Fast Preview

by Z.AI

GLM-5.2-Fast-Preview is the high-speed version of Zhipu AI’s flagship model GLM-5.2…

$2.254/1M in · $7.889/1M out
1,000,000 tokens context

Coding GLM 5.2 (free)

by Z.AI

coding glm 5.2 free (coding-glm-5.2-free) is a free coding-focused API route offered by…

Coding GLM 5.2

by Z.AI

Currently, the special resources for this model are limited, but due to its popularity…

$0.06/1M in · $0.22/1M out

Use GLM 4.6 via the AIHubMix unified API — one interface for every major LLM.