PriceIndex
Z.

GLM 5.2 Pricing & API Specs

glm-5.2

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,... Built by Z.ai.

Prices updated

Input price

$0.20

per 1M tokens · Standard

Output price

$5.80

per 1M tokens · Standard

Input limit

1M

tokens

Output limit

944K

tokens

Input formats

TextImageVideoAudioPDF

Output formats

TextImageVideoAudioPDF
Compare

GLM 5.2 price history

50 price records since 9/25/2026 · 48 changes

GLM 5.2 cost calculator

Input20M tokens
Output5M tokens

$33/month

Standard pricing

    Overview

    What is GLM 5.2?

    GLM 5.2 is a text & reasoning model from Z.ai priced at $0.20 input and $5.80 output per 1M tokens, with a 1M context window. Its low input price suits high-volume work and it scores 33.7 on AA Intelligence.

    Price: GPT-3.5 Turbo Instruct (+$0.025)Price: Grok 4.20 (−$0.038)Price: Grok 4.20 Multi-Agent (−$0.038)Score: Muse Spark 1.1 (AA +0)Score: Qwen3.8 27B (AA +0)Score: Gemini 3.6 Flash (AA +0)

    Benchmarks

    GLM 5.2 benchmarks & speed

    How GLM 5.2 scores on standardized evaluations, and where it lands among every model we track.

    33.7

    Intelligence Index

    Better than 77% of 153 models

    94tok/s

    Output speed

    Better than 51% of 119 models

    1285

    DesignArena Elo

    Better than 79% of 95 models

    Reasoning

    GPQA Diamond

    89.5%

    Graduate-level scientific reasoning · top 30%

    HLE

    41.1%

    Humanity's Last Exam · top 19%

    Coding

    SciCode

    51.2%

    Python for scientific computing · top 46%

    Latency & design

    Time to first token
    2.93s
    DesignArena win rate
    50.3%
    Design battles judged
    58,115

    Independent scores from Artificial Analysis and DesignArena · updated 10/30/2026. Higher is better; ranks compare against every model we track with that score.

    Rates

    GLM 5.2 pricing

    Pricing is based on token usage. Provider-specific caching, batch, regional, and tool charges may affect the final cost.

    Input · Standard

    $0.20

    Per 1M tokens

    Cached input · Standard

    $0.0060

    Per 1M tokens

    Capabilities

    GLM 5.2 Tools

    Tools available when using GLM 5.2 through supported provider APIs.

    Where to run it

    GLM 5.2 API providers

    25 providers serve GLM 5.2. Prices are per 1M tokens; uptime is the last 24 hours.

    Relacefp4
    Input
    $0.0069
    Output
    $2.61
    Cached
    $0.13
    Context
    1M
    Uptime
    100%
    Waferfp4
    Input
    $0.0070
    Output
    $6.80
    Cached
    $0.0060
    Context
    1M
    Uptime
    100%
    Baidufp8
    Input
    $0.19
    Output
    $0.59
    Cached
    $0.04
    Context
    1M
    Uptime
    100%
    Waferfp4
    Input
    $0.19
    Output
    $8.00
    Cached
    $0.18
    Context
    1M
    Uptime
    100%
    StreamLakefp8
    Input
    $0.28
    Output
    $0.88
    Cached
    $0.05
    Context
    1M
    Uptime
    100%
    DeepInfrafp4
    Input
    $0.45
    Output
    $1.44
    Cached
    $0.08
    Context
    1M
    Uptime
    100%
    DeepInfrafp4
    Input
    $0.56
    Output
    $1.80
    Cached
    $0.10
    Context
    1M
    Uptime
    98.31%
    CoreWeavefp4
    Input
    $0.62
    Output
    $2.42
    Cached
    $0.14
    Context
    1M
    Uptime
    100%
    Morphfp8
    Input
    $0.64
    Output
    $1.98
    Cached
    $0.22
    Context
    1M
    Uptime
    100%
    SiliconFlowfp8
    Input
    $0.65
    Output
    $2.05
    Cached
    $0.13
    Context
    1M
    Uptime
    99.72%
    DigitalOcean
    Input
    $0.70
    Output
    $2.20
    Cached
    $0.10
    Context
    1M
    Uptime
    99.85%
    Novitafp8
    Input
    $0.77
    Output
    $2.42
    Cached
    $0.14
    Context
    1M
    Uptime
    99.91%
    Featherless
    Input
    $0.84
    Output
    $2.64
    Cached
    $0.16
    Context
    262K
    Uptime
    100%
    DeepInfrafp4
    Input
    $0.84
    Output
    $2.70
    Cached
    $0.16
    Context
    1M
    Uptime
    98.64%
    Alibabafp8
    Input
    $0.97
    Output
    $3.04
    Cached
    $0.19
    Context
    1M
    Uptime
    100%

    Showing 15 of 25

    Strengths and limitations

    Strengths

    • Price rank 226 of 330 tracked models (1 = cheapest, by blended price).
    • Blended price at 3 input : 1 output is $1.60 per 1M tokens.
    • 1M input + 250K output tokens costs about $1.65.
    • Context window 1M vs a median of 262K (4.0× larger).

    Limitations

    • Generated tokens cost 29× more than input tokens, which matters for verbose responses.
    • Large context capacity does not guarantee consistent retrieval across the entire prompt.
    • Benchmarks are directional; test accuracy, latency and reliability on your own workload before committing.

    Public listed prices, checked Dec 4, 2026. Benchmarks as published by their sources. Confirm with the provider.

    Same provider

    More models from Z.ai

    View provider →
    131K

    $0.60 in · $2.20 out

    View model
    131K

    $0.20 in · $1.10 out

    View model
    66K

    $0.60 in · $1.80 out

    View model
    203K

    $0.50 in · $2.00 out

    View model

    Frequently asked questions about GLM 5.2

    GLM 5.2 is a text & reasoning model from Z.ai. GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

    GLM 5.2 costs $0.20 per million input tokens and $5.80 per million output tokens on standard pricing. A workload of 20M input and 5M output tokens a month is about $33.

    GLM 5.2 accepts up to 1,048,576 tokens (1M) of input and can return up to 943,718 tokens in one response.

    Yes, GLM 5.2 supports function/tool calling and structured (JSON) outputs. Supported tools: Function calling, Structured outputs, JSON mode, Reasoning, Log probabilities, Deterministic seed, Prompt caching.

    GLM 5.2 accepts Text as input and produces Text as output.

    GLM 5.2 is available from 25 API providers: Relace, Wafer, Baidu, Wafer, StreamLake, DeepInfra, DeepInfra, CoreWeave and more. Prices can differ by provider.

    GLM 5.2 was released by Z.ai in 2026-06-16.