Far below the reference price
$0.30 input and $1.15 output per 1M tokens, 73% below the $1.19 / $4.29 other providers quote.
The GLM-5.4 API, Z.ai's newest GLM model for coding, agents and long documents, 73% below the reference price
glm-5.4Updated from openai import OpenAIclient = OpenAI( base_url="https://api.zurelay.com/v1", api_key="YOUR_ZURELAY_KEY",)stream = client.chat.completions.create( model="glm-5.4", messages=[ {"role": "user", "content": "Explain quicksort briefly."}, ], stream=True,)for chunk in stream: if chunk.choices: print(chunk.choices[0].delta.content or "", end="")Base URL https://api.zurelay.com/v1. Works with any OpenAI SDK. Chat API docs
Pricing
Pay as you go from prepaid credit, with no subscription. Top up from $10. Requests that fail are never billed.
| Rate | Zurelay | Z.ai list | You save |
|---|---|---|---|
Input per 1M tokens | $0.30 | 75%off | |
Output per 1M tokens | $1.15 | 73%off | |
Cached input per 1M tokens | $0.05 | 82%off |
One rate at every prompt length, up to the full 1M context window. Streaming, tool calls and structured outputs cost nothing extra.
Every GLM model and priceMove the sliders to your monthly usage.
$910.80 a year
Cost
Typical workloads at Zurelay's live prices, next to the list price.
50,000 requests a month, 1,500 tokens in and 300 out, 30% of the input cached. $0.000682 a request.
20,000 requests a month, 8,000 tokens in and 500 out, 20% of the input cached. $0.00258 a request.
5,000 requests a month, 40,000 tokens in and 1,500 out, 85% of the input cached. $0.00522 a request.
1,000,000 requests a month, 400 tokens in and 5 out. $0.000126 a request.
Overview
GLM-5.4 is Z.ai's newest GLM model, released on November 23, 2026, for coding, agent work and long documents. The Zurelay GLM-5.4 API serves it through one OpenAI-compatible endpoint with a 1M-token context window, at $0.30 input and $1.15 output per 1M tokens.
Z.ai (Zhipu AI) released GLM-5.4 on November 23, 2026, as the successor to GLM-5.3. On Zurelay the model ID is glm-5.4, and it costs $0.30 per 1M input tokens and $1.15 per 1M output tokens. Cached input bills at $0.05 per 1M tokens.
The context window is 1,000,000 tokens. On Zurelay the model reads text and images and writes text, calls tools (functions), and follows a JSON schema in response_format. In our tests it named itself correctly, kept a customer's persona, answered recent dated questions right, read a number in an image and filled a tool call from the question.
GLM-5.4 always thinks before it answers. Set reasoning_effort to low for the least thinking, or high (the default) or max for the most; thinking tokens bill as output. In our tests a short question came back in 3 to 7 seconds, and long answers streamed at 55 to 80 tokens a second.
Z.ai hasn't published its own pay-as-you-go price for GLM-5.4 yet. Against the $1.19 / $4.29 per 1M tokens other providers quote, Zurelay is 73% lower. GLM-5.3 stays available beside it.
Strengths
$0.30 input and $1.15 output per 1M tokens, 73% below the $1.19 / $4.29 other providers quote.
1,000,000 tokens: whole codebases, long contracts and research files in one request.
Tool calls and JSON schema outputs work through the same OpenAI-compatible API your code already uses.
Send screenshots, charts and photos beside the text as image_url parts.
Use cases
Plan, write and fix code across a large repository with tool calls.
Summarize, compare and extract from contracts, reports and transcripts that run to hundreds of pages.
Turn documents and screenshots into JSON that follows your schema.
A capable everyday model at a fraction of the price of the largest frontier models.
Get started
No waitlist and no new SDK. If your code already talks to OpenAI, it already talks to Zurelay.
Sign up, add credit and create an API key. Set a monthly budget or a rate limit per key if you like.
Change the base URL. Everything else in your code stays the same.
https://api.zurelay.com/v1Send chat completions as usual. Streaming, tool calls and usage reporting work as you expect.
glm-5.4Works with the tools you already use
Compare
$0.165 / $1.15 per 1M tokens
Pick GLM-5.3 for the previous GLM at a lower input price.
GLM-5.3 API$0.60 / $1.80 per 1M tokens
Pick Qwen4 Max for Alibaba's flagship, with video input and thinking you can switch off.
Qwen4 Max API$0.23 / $0.62 per 1M tokens
Pick DeepSeek V4 Pro for DeepSeek's large reasoning model.
DeepSeek V4 Pro 0813 APIZurelay charges $0.30 per 1M input tokens and $1.15 per 1M output tokens, with cached input at $0.05 per 1M. That's 73% below the $1.19 / $4.29 other providers quote; Z.ai hasn't published its own pay-as-you-go price yet. Thinking tokens bill as output.
Create a Zurelay API key, set the base URL to https://api.zurelay.com/v1 and use the model ID glm-5.4 in chat.completions. Your existing OpenAI code works unchanged, streaming, tools and response_format included.
No. GLM-5.4 always thinks a little before it answers. Set reasoning_effort to low for the least thinking and the fastest answers, or to high (the default) or max for harder problems.
1,000,000 tokens of context. Long prompts are billed per token like short ones, and repeated prompt prefixes bill as cached input at $0.05 per 1M.
Yes. Send images as image_url parts in a user message, as https links or base64 data URLs. Video and audio aren't supported on Zurelay.
GLM-5.4 is Z.ai's newer model and reads images as well as text, where GLM-5.3 on Zurelay is text only. GLM-5.3 stays available at a lower input price; if GLM-5.4 is down and smart routing is on, GLM-5.3 answers instead.
Create a key in seconds, point the SDK you already use at Zurelay, and every request costs up to 90% less from the first token.