DeepSeek V4.1 Flash Uncensored · Try it →
Catalog
Z.aiPartner-hosted · no ZDR

GLM 5.2

GLM 5.2 is the previous generation of Z.ai's GLM line, released before GLM 5.3. Through our API it takes text, reasons before answering, calls tools and returns structured output over a context of up to a million tokens. It is in the catalogue for workloads already tuned to it; for new projects, compare it with GLM 5.3 and GLM 5.3 Flash. It is served by a third-party inference provider through our partner, not on Heabsy hardware: the same key and the same invoice, but no zero data retention, and the request may be processed outside the EEA.

model id: glm-5.2

from openai import OpenAI client = OpenAI(    api_key="hb-...",    base_url="https://api.heabsy.com/v1",) r = client.chat.completions.create(    model="glm-5.2",    messages=[{"role": "user", "content": "Hello"}],)print(r.choices[0].message.content)

Use it in Claude Code · OpenCode · Cline · Kilo Code · SillyTavern · n8n

Models we run ourselves, behind the same key

GLM 5.2 on this page is partner-hosted: no zero data retention, and the provider handles the request under its own policy. The same API key also reaches models we serve on our own GPUs without storing prompts or completions — Qwen3.8 27B for coding and agents, which also runs Claude Code through our Anthropic-compatible endpoint, and MiMo V2.6 Flash with a million-token context.

This page · partner-hosted
GLM 5.2
$0.84 / $2.64
input / output per 1M tokens
Heabsy · EEA
Qwen3.8 27B
$1.05 / $3.15
input / output per 1M tokens

Our flagship for coding, agents and documents; every speed figure on this site was measured on it.

Heabsy · EEA
MiMo V2.6 Flash
$0.50 / $1.50
input / output per 1M tokens

Xiaomi's agent model with a million-token context, image input, reasoning and tool calling.

Context
1M tokens
Serving
Partner provider · no ZDR
Tool calling
Reasoning
Structured output
Input
$0.84/ 1M
Cached input
$0.117/ 1M
Output
$2.64/ 1M

Price list, updated 30 October 2026. No minimum spend, no subscription.

Technical details

Context window
1M tokens
Max output
131,072 tokens
Throughput limit
—
Tokenizer
Other
Streaming
yes
Open weights
—
Supported parameters
max_tokens
1 … 131072
Partner-hosted: same key and invoice, no ZDR

This model is served by a third-party inference provider through our partner, not on Heabsy hardware. You keep one key and one invoice from an EU company, but there is no zero data retention: the provider handles the request under its own policy, and processing may take place outside the EEA. For personal or regulated data, use a model on Heabsy hardware.

Questions about this model

›Where is GLM 5.2 computed?

At a third-party inference provider that serves this model through our partner, outside our own infrastructure. Where exactly the request is computed is not fixed and may be outside the EEA. The contract and the invoice stay with our EU company.

›Does GLM 5.2 store prompts and completions?

There is no zero-data-retention guarantee for this model: the request goes to a third-party provider, which handles it under its own policy and may keep logs. For personal or regulated data, use a model on Heabsy hardware.

›How large is the GLM 5.2 context window?

1M tokens, with up to 131,072 tokens of output.

›What does GLM 5.2 cost?

$0.84 per million input tokens and $2.64 per million output tokens. No minimum spend and no subscription; the same price list covers the API and the invoice.

›Is there a throughput limit on GLM 5.2?

The catalog does not report a throughput limit for this model.

Compare with similar models

ModelDeveloperParametersContextLicenceInput / 1M
GLM 5.2Z.ai—1M—$0.84
GLM 5.3 FlashZ.ai320B / 18B1MMIT$0.20
GLM 5.3Z.ai—1M—$1.20
GLM 5.3 Uncensoreddealignai753B / 18B1MMIT$1.575

36 more models behind the same key and the same invoice.

Browse the catalog