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

GLM 5.2

glm-5.2

Open flagship GLM for long-horizon coding agents and million-token context work

Price / 1M
Guts AIOfficialInput$0.081$1.40Output$0.243$4.40Cached$0.020
Context1MTokens
Max output128KTokens
Latency1.0s75 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.2",
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.2",
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.2",
6 messages: [{ role: "user", content: "Hello" }],
7});

Specifications

Context window
1,000,000Tokens
Max output
131,072Tokens
Knowledge cutoff
--
Released
Jun 13, 2026
Input
TextImagePDFVideoAudio
Output
Text
Open weights
Yes
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 1.500$0.081
Cached inputPrompt tokens served from cache
≈ Rp 375$0.020
OutputGenerated tokens, including reasoning
≈ Rp 4.500$0.243

Performance

Measured on Guts AI traffic over the last 24 hours.

MetricP50P90P99
Time to first token1.0s2.3s13.7s
End-to-end latency12.6s36.6s85.1s
Throughput75 tok/s46 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
high · max
tools, tool_choice
Supported
stream
Supported

Usage

Input + output tokens processed by GLM 5.2 on Guts AI, per week (UTC).

Tokens this week19.8M↓ 16.1% vs last week
Requests this week736↓ 22.2% vs last week
Avg tokens / request27Kinput + output
Weekly rank#26of 35 models · View rankings

Apps using GLM 5.2

Top public apps sending GLM 5.2 traffic through Guts AI this week.

All apps