GLM 5

GLM 5.
From coding to engineering

Z.ai · announced February 12, 2026

Z.ai says GLM 5 is designed for complex system engineering and long range agent tasks, shifting the focus from coding to engineering. On Utopixel you call it from the OpenAI or Anthropic SDK, with fallback to other labs when you need it.

modelz-ai/glm-5Get a key
Input / 1M$1.00
Output / 1M$3.20
Context203K
Max output131K
ReleasedFebruary 12, 2026
Why GLM 5

What it is good at. Per Z.ai.

Agentic engineering

Z.ai says GLM 5 is built for complex system engineering and long running agent tasks, with strength in backend architecture, algorithms and bug fixing.

Lower deployment cost

Z.ai says GLM 5 integrates DeepSeek Sparse Attention to cut deployment cost while keeping long context quality.

Open weights under MIT

Z.ai releases GLM 5 under the MIT license, with 744B total parameters and 40B active, trained on 28.5T tokens.

Price

GLM 5. Per 1M tokens.

What Utopixel charges as of December 3, 2026, from a prepaid balance with no subscription.

UtopixelInputOutputCached inputContext
GLM 5z-ai/glm-5$1.00$3.20-203K
1,000 × Chat reply (2K in, 500 out)$3.60
1,000 × Long document Q&A (100K in, 1K out)$103.20
1,000 × Code generation (8K in, 4K out)$20.80

Z.ai list price per 1M tokens: $1.00 input, $0.20 cached input, $3.20 output. Cached input storage is free for a limited time. Context 200K tokens, max output 128K.

Benchmarks

The published numbers. From Z.ai.

Results as reported by Z.ai on February 12, 2026, not measured by Utopixel. Source: Z.ai: New Released (GLM-5).

SWE-bench Verified77.8Z.ai GLM-5 model card
Terminal Bench 2.056.2Terminus 2, Z.ai GLM-5 model card
GPQA Diamond86.0Z.ai GLM-5 model card
BrowseComp62.0Z.ai GLM-5 model card
τ²-Bench89.7Z.ai GLM-5 model card
HLE with tools50.4Z.ai GLM-5 model card
Setup

Two lines. Then it is GLM 5.

Set the base URL and the model id. Everything else in your code stays the same.

PythonOpenAI SDK
from openai import OpenAI
client = OpenAI(base_url="https://utopixel.online/api/v1", api_key="sk-vb-...")
r = client.chat.completions.create(
model="z-ai/glm-5",
messages=[{"role": "user", "content": "Hello, GLM 5"}],
)
print(r.choices[0].message.content)
curlREST
curl https://utopixel.online/api/v1/chat/completions \
-H "Authorization: Bearer $UTOPIXEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "z-ai/glm-5", "messages": [{"role": "user", "content": "Hello"}]}'
Q1How much does GLM 5 cost?
Z.ai lists $1.00 per 1M input tokens, $0.20 per 1M cached input tokens and $3.20 per 1M output tokens. On Utopixel you pay per token with no subscription.
Q2How do I call GLM 5 with the OpenAI SDK?
Point the OpenAI SDK at base_url https://utopixel.online/api/v1, use your Utopixel key, and set the model to z-ai/glm-5.
Q3How does GLM 5 compare to GLM 5.1?
Z.ai says GLM 5.1, released in April 2026, is designed for long horizon tasks and can work on its own for up to 8 hours in a single run. Z.ai lists GLM 5 at a lower price: $1.00 input and $3.20 output per 1M tokens, against $1.40 and $4.40 for GLM 5.1.
Q4Is this Z.ai's official API?
No. Utopixel is an independent service and is not affiliated with Z.ai.
Q5Do you store my prompts?
No. Utopixel keeps only billing metadata such as token counts, not your prompts or completions.

Start building in minutes.

One API key for the models of OpenAI, Google, DeepSeek, Moonshot AI, Qwen, xAI, Z.ai, Meta, Amazon, AionLabs, Anthropic, Baidu, ByteDance Seed, Cohere, Elorian, Fireworks AI, IBM, inclusionAI, Inference.net, KT, Liquid AI, Meituan, Meta, MiniMax, Mistral AI, Moondream, Motif Technologies, Nex AGI, NVIDIA, Particle AI, Perceptron, Prism ML, Reflection AI, Reka, Relace, Ricursive AI, Sakana AI, StepFun, Tencent, Thinking Machines, Unbiased, Upstage, Writer and Xiaomi. Start free, no card needed.