Model

GLM 5.1.
5% under list.

by Z.ai

Call GLM 5.1 with the same key and base_url as the rest of the catalog. Billed per token from your prepaid balance.

z-ai/glm-5.1Try it in the console
Price per 1M tokens
Inputprompt tokens$1.40$1.33-5%
Outputcompletion tokens$4.40$4.18-5%
Cache readcached prompt tokens$0.25

Struck through: Z.ai list price. Bold: what Utopixel charges your balance.

Quick facts
Model id
z-ai/glm-5.1
Provider
Z.ai
Context
205K
Max output
131K
Modalities
text to text
APIs
OpenAI SDKAnthropic SDK
Billing
Prepaid balance, usage.cost on every response
About this model

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

Request

Call GLM 5.1 today.

Same request shape across the catalog. Swap the base_url, keep your SDK, set model to the id.

OpenAI SDKbase_url https://utopixel.online/api/v1
main.pyopenai
1import os
2from openai import OpenAI
3
4client = OpenAI(
+ base_url="https://utopixel.online/api/v1",
6 api_key=os.environ["UTOPIXEL_API_KEY"],
7)
8r = client.chat.completions.create(
9 model="z-ai/glm-5.1",
10 messages=[{"role": "user", "content": "Hello"}],
11)
12print(r.usage.cost)
Anthropic SDKbase_url https://utopixel.online/api
main.pyanthropic
1import os
2import anthropic
3
4client = anthropic.Anthropic(
+ base_url="https://utopixel.online/api",
6 api_key=os.environ["UTOPIXEL_API_KEY"],
7)
8m = client.messages.create(
9 model="z-ai/glm-5.1",
10 max_tokens=1024,
11 messages=[{"role": "user", "content": "Hello"}],
12)
cURL
1curl https://utopixel.online/api/v1/chat/completions \
2 -H "Authorization: Bearer $UTOPIXEL_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{"model": "z-ai/glm-5.1", "messages": [{"role": "user", "content": "Hello"}]}'
Availability

Where to call it.

Latency appears once a channel has enough measured requests.

RouteContextInput / MOutput / MCache read / M
Utopixel
OpenAI ChatAnthropic Messages
205K$1.33$4.18$0.25
Supported parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
01Cost example

What a call
costs you.

Tokens times the Utopixel price, with the same tokens at Z.ai list price for comparison. Every response returns its own usage.cost.

Cost example, GLM 5.1

Per requestPer month
List price$0.003220$322.00
Saved, -5%$0.000161$16.10
Saved per month$16.10
02Fallback

Use GLM 5.1
as a backup.

Put GLM 5.1 in a models array. If the first model's upstream errors, Utopixel sends the same request to the next one. You pay only for the call that answers.

See fallback docs
request.jsonPOST /v1/chat/completions
1{
- "model": "openai/gpt-6.1-sol",
+ "models": [
+ "openai/gpt-6.1-sol",
+ "z-ai/glm-5.1"
+ ],
7 "messages": [ ... ]
8}
openai/gpt-6.1-solattempt 1, upstream error502
z-ai/glm-5.1attempt 2, answered200
Similar models

Same key, other picks.

Prices per 1M tokens, input and output. Swap the model id, nothing else changes.

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.