GLM-5.2

New
Z.aiAll Z.ai models

Input

$1.40

USD / 1M tokens

Output

$4.40

USD / 1M tokens

Released

2026-06-16

Positioning: Flagship. Price level 2 of 4 among text models.

Newest GLM flagship — 1M-token context for project-scale coding agents, open weights. GLM-5.2 is a Z.ai text model on ATP Token, billed per 1M input and output tokens, with a lower cached-input rate.

ThinkingTools

Pricing

Pay for what you use: credits are deducted only when a request succeeds.
Prices in USD · $1 = 100 credits
Input
$1.40
Cache read
$0.28
Output
$4.40
USD / 1M tokens

Z.ai · Family · USD / 1M tokens

Text models from the same vendor on ATP. Bars fill up to the family's highest price.
All Z.ai models
ModelInputOutput
GLM-5.1glm-5-1$1.54$4.84
GLM-5.2 This pageglm-5-2$1.40$4.40
GLM-5glm-5$1.00$3.20

Cost per 1,000 typical requests

A quick estimate with fixed token counts per request. No caching, no retries. Try the estimator with your own numbers.
WorkloadUSD / 1,000
Short chat turn800 / 400$2.88
RAG answer4,000 / 500$7.80
Agent step with tools20,000 / 1,500$34.60

Benchmarks

Vendor-reported
  • SWE-bench Pro62.1%

    OpenHands, tailored prompt; temperature=1, top_p=1, max_new_tokens=32k, 400K context

    Z.ai
  • Terminal Bench 2.1 (Terminus-2)81.0%

    Terminus-2, timeout 4h, temperature=1.0, 256K context, 4 CPU / 8 GB (82.7 best reported harness, Claude Code)

    Z.ai
  • HLE (w/ Tools)54.7%

    text-only subset; max context 300,000 tokens, no context management

    Z.ai
  • GPQA-Diamond91.2%

    temperature=1.0, top_p=0.95, max generation 163,840 tokens

    Z.ai

Scores as published by each vendor, not measured by ATP. Test conditions vary, so they are not directly comparable across vendors.

Same controls on every model: project keys, per-project model access, credit budgets, and a log of every request.Set up your organization

Cost estimator

Plug in your usage to see roughly what a month costs.
0200
0100
ESTIMATE
$22.80
USD / month
2,280 credits / month
  • Input$14.00
  • Output$8.80

$22.80 USD / month · 2,280 credits / month

An estimate at our USD prices (USD 1 = 100 credits). What each request actually cost shows up in your console's request log. Cached input is billed at the lower cache-read price, so you may spend less.

Quickstart

Keep your SDK. Point it at ATP and use a project key. Read the docs
quickstart.py · OpenAI SDK
from openai import OpenAI

client = OpenAI(
  base_url="https://api.atptoken.ai/v1",
  api_key="atp-•••"
)

r = client.chat.completions.create(
  model="glm-5-2",
  messages=[{"role":"user","content":"hi"}],
)

Compare with similar models

Same type and positioning, from other vendors, closest in price first.
Compare side by side

FAQ

3
Can GLM-5.2 use tools, read images, or think before answering?
GLM-5.2 supports tool calling and extended thinking, but not vision input or audio.
Is cached input cheaper on GLM-5.2?
You pay per 1M input tokens and per 1M output tokens. Cached input costs 20% of the normal input price. You only pay when a request succeeds. $1 = 100 credits. See pricing
How do I call GLM-5.2 on ATP?
Create a project API key and point any OpenAI-compatible SDK at https://api.atptoken.ai/v1. Set model to "glm-5-2" (the API id, not the display name). Make sure the model is turned on for your project.
Get started

Start with $5. Credits never expire.

Create a project key, turn this model on, and pay only for what you use.