Skip to content
01

Providers + pricing

CapabilitiesProvider details
● Your own key · billed by your provider · AnyRouter fee $0
AIHubMix
aihubmix-byok
$1.40list$4.40list
—
Unavailable
Z-AI
z-ai-byok
$1.40list$4.40list
—
Unavailable
DeepInfra
deepinfra-byok
$1.40list$4.40list
$0
Unavailable
OpenRouter
openrouter-byok
$0.97list$3.04list
$0
Unavailable
Z-AI
z-ai-coding-byok
$1.40list$4.40list
—
Unavailable
Ollama Cloud
ollama-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
● 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.1"),  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.1

  • AIHubMix
  • Z-AI
  • DeepInfra
  • OpenRouter
  • Z-AI
  • Ollama Cloud
  • OpenCode Zen
  • OpenCode Zen Go
  • SiliconFlow
  • CommandCode
Texttext → text128Ktoken context
Context
128K
Input
$0.97
Output
$3.04
TTFT
400ms
Uptime
—
Routes
10
04

Your access

Credits
Your own key · AnyRouter fee $0

Run GLM-5.1 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 length128,000 tokens
Max output128,000 tokens
ArchitectureTransformer
Categorytext
ReleasedJun 1, 2026
Modalities
Capabilities
05

About

GLM-5.1 is Z-AI's flagship foundation model for long-horizon autonomous tasks. With a 200K context and 128K output window, it scores 58.4 on SWE-Bench Pro and supports thinking mode, function calling, and MCP integration. Overall capability aligns with Claude Opus 4.6 across reasoning, coding, and agentic benchmarks.

Released 2026-06-01

API & code
Share cards
GLM-5.1 share card
GLM-5.1
AIHubMix upstream share card
AIHubMix upstream
Z-AI upstream share card
Z-AI upstream
DeepInfra upstream share card
DeepInfra upstream
OpenRouter upstream share card
OpenRouter upstream
Z-AI upstream share card
Z-AI upstream
Ollama Cloud upstream share card
Ollama Cloud 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
Back to models