GLM-5.4
glm-5.4
GLM-5.4 is Z.ai's newest flagship reasoning model, built for complex software engineering, coding agents and long-horizon agent tasks.
Price / 1M
Guts AIOfficialInput$0.108$1.40Output$0.324$4.40Cached$0.027
Context1MTokens
Max output128KTokens
Latency2.2s76 tokens/s
1curl https://api.gutsai.id/v1/chat/completions \
2 -H "Authorization: Bearer $GUTS_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "glm-5.4",
6 "messages": [{"role": "user", "content": "Hello"}]
7 }'
1import os
2from openai import OpenAI
3
4client = OpenAI(base_url="https://api.gutsai.id/v1", api_key=os.environ["GUTS_API_KEY"])
5res = client.chat.completions.create(
6 model="glm-5.4",
7 messages=[{"role": "user", "content": "Hello"}],
8)
1import OpenAI from "openai";
2
3const client = new OpenAI({ baseURL: "https://api.gutsai.id/v1", apiKey: process.env.GUTS_API_KEY });
4const res = await client.chat.completions.create({
5 model: "glm-5.4",
6 messages: [{ role: "user", content: "Hello" }],
7});
Availability, last 24h
24h ago
Operational
Degraded
Down
No traffic
Now
Specifications
Context window
1,000,000Tokens
Max output
131,072Tokens
Knowledge cutoff
--
Released
Nov 23, 2026
Input
TextImagePDFVideoAudio
Output
Text
Open weights
No
Capabilities
ReasoningTool callingStructured outputPrompt cachingFile attachmentsTemperature
Pricing
Input, cached input and output each have their own price, charged from your balance.
InputPrompt tokens sent to the model
≈ Rp 2.000$0.108Cached inputPrompt tokens served from cache
≈ Rp 500$0.027OutputGenerated tokens, including reasoning
≈ Rp 6.000$0.324
Read from cache
Estimated cost per month
Performance
Measured on Guts AI traffic over the last 24 hours.
| Metric | P50 | P90 | P99 |
|---|---|---|---|
| Time to first token | 2.2s | 12.8s | 54.4s |
| End-to-end latency | 8.3s | 33.7s | 60.6s |
| Throughput | 76 tok/s | 52 tok/s | 43 tok/s |
API
Mapped from the model's capabilities. Everything else follows the OpenAI SDK.
- max_tokens
- Up to 131,072
- response_format
- JSON schema
- temperature
- Supported
- reasoning_effort
- low · high · max
- tools, tool_choice
- Supported
- stream
- Supported
Usage
Input + output tokens processed by GLM-5.4 on Guts AI, per week (UTC).
Apps using GLM-5.4
Top public apps sending GLM-5.4 traffic through Guts AI this week.