New GPT-6.2 Sol is live. Same key. View in catalog

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});

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.108
Cached inputPrompt tokens served from cache
≈ Rp 500$0.027
OutputGenerated tokens, including reasoning
≈ Rp 6.000$0.324

Performance

Measured on Guts AI traffic over the last 24 hours.

MetricP50P90P99
Time to first token2.2s12.8s54.4s
End-to-end latency8.3s33.7s60.6s
Throughput76 tok/s52 tok/s43 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