Skip to content
01

Providers + pricing

CapabilitiesProvider details
● Your own key · billed by your provider · AnyRouter fee $0
Z-AI
z-ai-coding-byok
$1.40list$4.40list
—
Unavailable
AIHubMix
aihubmix-byok
$1.13list$3.94list
—
Unavailable
Z-AI
z-ai-byok
$1.40list$4.40list
—
Unavailable
OpenRouter
openrouter-byok
$0.48list$1.50list
—
Unavailable
Ollama Cloud
ollama-byok
$1.40list$4.40list
—
Unavailable
Fireworks
fireworks-byok
$1.40list$4.40list
—
Unavailable
OpenCode Zen
opencode-zen-byok
$1.40list$4.40list
$0
Unavailable
OpenCode Zen Go
opencode-go-byok
$1.40list$4.40list
$0
Unavailable
SiliconFlow
siliconflow-byok
$1.40list$4.40list
—
Unavailable
CommandCode
commandcode-byok
$1.40list$4.40list
—
Unavailable
Ramp Router
router-byok
$2.10list$6.60list
—
Unavailable
● Free pool · donated keys · not available for this model — donate a key
02

Try it

POST /api/v1/chat/completions
import { createAnyRouter } from "@anyr/ai-sdk-provider"import { generateText } from "ai" const anyrouter = createAnyRouter() const { text } = await generateText({  model: anyrouter("z-ai/glm-5.2"),  prompt: "Say hi in 3 words.",})console.log(text)
Set ANYROUTER_API_KEY · edits on the demo update this code
Live demo

Type a prompt and run it on this model.

03

Uptime + latency

—recent checks · all routes

No health checks recorded for this model yet.

24h
No traffic in the last 24h.
More performance detail
Usage analytics

Loading usage…

Uptime & Health
No uptime data yet

These providers haven't been health-probed for this model yet. The router still routes around upstreams that fail live requests — uptime fills in once probe history accrues.

GLM-5.2

  • Z-AI
  • AIHubMix
  • Z-AI
  • OpenRouter
  • Ollama Cloud
  • Fireworks
  • OpenCode Zen
  • OpenCode Zen Go
  • SiliconFlow
  • CommandCode
  • Ramp Router
Texttext → text1Mtoken context
Context
1M
Input
$0.48
Output
$1.50
TTFT
400ms
Uptime
—
Routes
11
04

Your access

Credits
Your own key · AnyRouter fee $0

Run GLM-5.2 on your own key — your requests are billed by the provider. Pool callers pay AnyRouter credits.

No BYOK keys configured for this model yet.

Share a key with the pool to earn credits for every request it serves, covering your plan cost.

Free poolnot in pool yetDonate key →
Create API key for this model
Text generation
Context length1,000,000 tokens
Max output131,072 tokens
Latency400ms
Reasoning effortreasoning_effort
"low""medium""high""max"

Default "high"

ArchitectureTransformer
Categorytext
ReleasedJun 13, 2026
Modalities
Capabilities
05

About

GLM-5.2 is Z-AI's flagship reasoning model with a 1M-token context and 128K output window. It supports controllable thinking effort, function calling, and MCP integration, and targets long-horizon autonomous coding and agentic tasks. Pair it with Claude Code over BYOK for a Claude-grade coding agent.

Released 2026-06-13

API & code
Share cards
GLM-5.2 share card
GLM-5.2
Z-AI upstream share card
Z-AI upstream
AIHubMix upstream share card
AIHubMix upstream
Z-AI upstream share card
Z-AI upstream
OpenRouter upstream share card
OpenRouter upstream
Ollama Cloud upstream share card
Ollama Cloud upstream
Fireworks upstream share card
Fireworks upstream
OpenCode Zen upstream share card
OpenCode Zen upstream
OpenCode Zen Go upstream share card
OpenCode Zen Go upstream
SiliconFlow upstream share card
SiliconFlow upstream
CommandCode upstream share card
CommandCode upstream
Ramp Router upstream share card
Ramp Router upstream
Back to models