Coding GLM 5.2 (free)

coding-glm-5.2-free · Z.AI

coding glm 5.2 free (coding-glm-5.2-free) is a free coding-focused API route offered by AIHubMix, powered by Z.ai’s open-source flagship GLM-5.2 model. It is suitable for code generation, debugging, project-level development, tool use, and long-running agent tasks, with support for reasoning, function calling, and structured outputs. Compared with GLM-5.1, it offers stronger coding capabilities and a 1-million-token context window. Each account is limited to 5 requests per minute, 500 requests per day, and 1 million free tokens per day.

Specifications

Context1M tokens
Max output131K tokens
Modalitiestext
CapabilitiesThinking, Streaming, Tool calling, Structured outputs, Prompt caching

Frequently asked questions

What is GLM 5.2 (free)?

coding glm 5.2 free (coding-glm-5.2-free) is a free coding-focused API route offered by AIHubMix, powered by Z.ai’s open-source flagship GLM-5.2 model. It is suitable for code generation, debugging, project-level development, tool use, and long-running agent tasks, with support for reasoning, function calling, and structured outputs. Compared with GLM-5.1, it offers stronger coding capabilities and a 1-million-token context window. Each account is limited to 5 requests per minute, 500 requests per day, and 1 million free tokens per day.

What is the context length of GLM 5.2 (free)?

GLM 5.2 (free) has a 1,000,000 token context window. It supports up to 131,072 output tokens.

What modalities does GLM 5.2 (free) support?

GLM 5.2 (free) accepts text input.

What capabilities does GLM 5.2 (free) support?

GLM 5.2 (free) 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 5.2 (free) via API?

GLM 5.2 (free) 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 coding-glm-5.2-free — no other code changes needed.

Who created GLM 5.2 (free)?

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

When was GLM 5.2 (free) released?

GLM 5.2 (free) was released on June 16, 2026 by Z.AI.

Paid version: Coding GLM 5.2

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

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

GLM 5.1

by Z.AI

GLM-5.1 is Zhipu's latest flagship model, with greatly enhanced coding capabilities and…

$0.845/1M in · $3.38/1M out
200,000 tokens context

Use Coding GLM 5.2 (free) via the AIHubMix unified API — one interface for every major LLM.