Back to models

Zhipu GLM-5.2 with a 1M context window, strong Chinese and English coding.

Capabilities:Advanced reasoningLong context (1M)
Modalities
Input / Output Price
$1.40/$4.40/ 1M
Context Length
1M tokens
Released
Jun 16, 2026

Providers

Different companies host the same model. DOS.AI routes your request to one of them based on the routing mode you pick - Balanced (price + speed), Nitro (fastest), or Exacto (highest tool-calling accuracy).

Reasoning effortⓘAll
ProviderInput /1MOutput /1MCache read /M
Latency
ThroughputUptimeContext
Together AI
$1.40$4.40$0.26---1M
Z.ai
$1.40$4.40$0.26---1M
Cloudflare
$1.40$4.40$0.26---262K

Pricing

Rates from the DOS.AI catalog for the billing units shown. Caching and provider discounts mean the price actually paid is often below the listed one.

Weighted Averagei
Weighted Avg Input Price
$1.389/ 1M tokens
-$0.011 /M compared to average list price
Weighted Avg Output Price
$4.40/ 1M tokens
Equal to list price
Cache read
$0.26/ 1M tokens
Rate for cached input tokens
Price History3 verified endpoints
Weighted Average($1.39)
$0.00$0.54$1.09$1.6530d ago24d ago18d ago12d ago6d agoToday
Provider↕
Effective in /M↕
Effective out /M↕
Cache read /M↕
Latency↕
Throughput↕
Uptime↕
Savings↕
Together AI
$1.40$0.72
$4.40$0.26----49%
Z.ai
$1.40$0.72
$4.40$0.26----49%
Cloudflare
$1.40$1.39
$4.40$0.26----1%
Based on settled billing for the last 30d.Effective pricing represents the average price paid for requests to this endpoint, factoring in caching, discounts, and tiered pricing. Listed pricing shows the posted provider list prices.

Observed reliability

Success rate across observed provider requests. This is historical sample data, not live health or an uptime guarantee.

Not enough observations

Last 7 days

There are not enough valid request observations to report a success rate.

Benchmarks

Dated third-party measurements with source links.

Artificial Analysis

Overall · Snapshot captured:

Artificial Analysis Intelligence Index
33.7
Coding Index
68.8
Agentic Index
38.4
Design Arena

Overall · Snapshot captured:

Elo
1304
Win rate
54%
Rank
#15

API Integration

Use the DOS API to integrate GLM-5.2 into your applications. Compatible with standard OpenAI SDKs for easy drop-in migration.

</>Run inference
curl https://api.dos.ai/v1/chat/completions \
  -H "Authorization: Bearer $DOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.2",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }'