GLM-5.4 API
NewLLMGLM-5.4 is Z.ai's newest GLM coding route in the OmniaKey catalog, served with a 1M context window and tool use at exactly the GLM-5.3 rate.
- Input · USD / 1M tokens$0.7 USDOfficial price
$3.5 USD - Output · USD / 1M tokens$2.2 USDOfficial price
$11 USD - Savings80%
- Context1M
- View tool pricing and billing rules
What are we making today?
Bring an idea, a question, or a first draft.
01
What this model is for
GLM-5.4 is Z.ai's newest GLM coding route in the OmniaKey catalog, served with a 1M context window and tool use at exactly the GLM-5.3 rate.
GLM-5.4 is the newest model in Z.ai's GLM line, and OmniaKey serves it next to GLM-5.3 at the same per-token rate. Switching between the two changes which model answers, not what the tokens cost.
The route we serve takes a 1M context window and tool use over the OpenAI-compatible protocol. That pairing is what most coding agents need: a large repository in one request and a model that can call the editor's own tools.
Z.ai announced the release in a coding-plan post that also mentions new visual input. The vendor's public pages had no GLM-5.4 specification, rate card or model card when we added the route, so this page describes our own endpoint rather than a vendor data sheet.
Best-fit coding workloads
Moving off GLM-5.3 with no budget change
Point an existing GLM-5.3 integration at GLM-5.4 and the token maths stay identical, so the swap is a model name and nothing else.
Long-horizon coding agents
A 1M window keeps a whole service and its tests in one request, which is where long coding runs spend most of their context.
Tool-driven repository work
Function calling is available, so editors and agent frameworks can hand the model file reads, edits and test runs as tools.
02
Technical specification
Catalog facts and integration details verified for this route.
- Model ID
- glm-5.4
- Context
- 1M
- Inputs and tools
- Tool use
- API endpoint
- /v1/chat/completions
- Cache hit / 1M
- $0.13 USD
- Coding clients
- Codex · Cursor · Cline · Aider
Limits to plan around
- Z.ai had not published a GLM-5.4 API page, price list or model card when the route went live; the release-day sources were a coding-plan post and the client setup names.
- The announcement mentions visual input, but image requests on our endpoint have not returned a usable answer yet, so this page does not offer vision as a feature.
- Throughput and speed were not part of the announcement. If latency is the constraint, GLM-5.3-FlashX remains the fast sibling on the same vendor line.
- Only the OpenAI-compatible endpoint is enabled here, so a client that needs the Anthropic or Gemini protocol has to stay on a route that speaks it.
03
Compare nearby models
Compare workload fit and current listed token rates before choosing a route.
| Model | Best for | Context | Input | Output |
|---|---|---|---|---|
| GLM-5.4This page glm-5.4 | Newest GLM coding route, billed at the GLM-5.3 rate, with a 1M window and tool use. | 1M | $0.7 USD Official price $3.5 USD | $2.2 USD Official price $11 USD |
| GLM-5.3 glm-5.3 | The previous flagship at the same rate and window, with the vendor documentation and model card that GLM-5.4 still lacks. | 1M | $0.7 USD Official price $3.5 USD | $2.2 USD Official price $11 USD |
| GLM-5.3-FlashX glm-5.3-flashx | The fast, cheaper sibling for high-volume text work, and the better pick when latency matters more than newest weights. | 1M | $0.1 USD Official price $0.5 USD | $0.5 USD Official price $2.5 USD |
04
SDK quickstarts
Use one base URL and model ID from cURL, Python, or TypeScript.
curl https://api.omniakey.com/v1/chat/completions \
-H "Authorization: Bearer $OMNIAKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.4",
"messages": [
{"role": "user", "content": "Review this pull request"}
],
"stream": true
}'05
Estimate token cost
Enter expected input and output tokens to compare current listed rates.
- OmniaKey estimate
- $0.114
- Official-rate estimate
- $0.57
- Estimated savings
- $0.456
Estimate covers input and output tokens only. Cache usage, retries, tools, and client-side token accounting can change the final charge.
06
Related coding guides
Deeper selection, setup, and troubleshooting guidance for this model family.
GLM-5.4: Coding Plan Access, Vision and Weekly Quota
Zixuan Li of Z.ai says GLM-5.4 is live for every GLM Coding Plan user, with new vision capabilities and a larger weekly allowance. Here is what that changes for your setup today.
Read guideGLM-5.5 Release Date: Not Announced Yet, What to Use Now
Z.ai has never named GLM-5.5. Here is where the talk started, what can be checked, and which GLM model to call today.
Read guide07
Sources and verification
Model facts and links were checked on 2026-11-23. Provider documentation remains the authority for upstream behavior.
Frequently asked questions
How much does GLM-5.4 cost on OmniaKey?
OmniaKey currently charges $0.7 USD per 1M input tokens and $2.2 USD per 1M output tokens, in USD. Direct provider rates are separate and may change with input context length.
What is the context window for GLM-5.4?
The listed context window is 1M. Actual usable limits can also depend on the client and upstream request format.
Is GLM-5.4 more expensive than GLM-5.3?
No. Both routes are billed at the same per-token rate on OmniaKey and neither adds a long-context surcharge, so a switch does not change the cost of a request.
Does GLM-5.4 accept images on OmniaKey?
Not as a supported feature. Z.ai's release post mentions visual input, but image requests on our endpoint have not produced a usable answer, so treat the route as text-only.
Why is there no measured table on this page?
Because upstream capacity was intermittent during testing: some requests completed and others came back with no available channel. Measurements are only published from a stable run.
Should I switch from GLM-5.3?
Switch when you want the newest GLM weights and your client speaks the OpenAI-compatible protocol; the cost of a request stays the same. Stay on GLM-5.3 if you depend on vendor documentation, a model card, or the Anthropic and Gemini protocols, and revisit once Z.ai publishes them.