InferIndex

ModelsZ.aiGLM 5.2

GLM 5.2

z-ai/glm-5.21M context Compare →
MedianThe median blended price among comparable offers: one price per provider (its cheapest route), standard tier, current prices only. Priority tiers and prices converted from points are not counted.
$2.15
Most expensiveThe highest blended price among comparable offers: one price per provider (its cheapest route), standard tier, current prices only. Priority tiers and prices converted from points are not counted.
$3.78
Offers
169
Providers
62
QualityQuality rank from public evaluations. 1 = best. Data credits
Rank 30 of 86 · score 84.2/100 · Nov 28, 2026
CodeCoding quality rank from public evaluations. 1 = best. Data credits
Rank 26 of 52 · score 70.1/100 · Nov 28, 2026

Via InferIndex

Price checked on Nov 28, 2026, 9:26 PM UTC

$0.66blended / 1M

-21.0%7D
Input
$0.0069
Output
$2.61
Cached
–No data

Price drop observed: The blended price is 67% lower than before this drop; possibly temporary. · Price drop observed since Nov 19, 2026

Use via InferIndex$0.66 The router sends each request to the cheapest verified offer among the provider keys you connect.

Cheaper, similar quality

Score within 3 points out of 100 in the same quality board, blended price at least 10% lower.Let the router switchProPro setting: requests for GLM 5.2 go to the cheapest model of this list that your keys can reach.

OverallRank 30 of 86 · score 84.2/100 · Nov 28, 2026

Cheaper, similar quality · Overall
ModelQualityrankGapptsBlended$/MSaving%Compare
GLM 5.3 Rank 33 of 86 (tied) · score 82.2/100 · Nov 28, 2026 −2.0 0.40 39

CodeRank 26 of 52 · score 70.1/100 · Nov 28, 2026

No model within 3 points is at least 10% cheaper.

Public leaderboards

  • Text Arena, style control · Listed as “GLM-5.2 (Max)”The series the source publishes by default for text since 16 May 2025: ranks corrected for the style of the answers (style control).Max setting #26 of 427Best rank in the source's rank spread, 26th to 58th, given the confidence intervals of all ranked models. 40th by score. 1,475 1,471 to 1,479Arena Score · 53,923 votes published 22 November 2026
  • Code Arena (WebDev) · Listed as “GLM-5.2 (Max)”The Code Arena ranking (WebDev). The source publishes no style-corrected series (as read on 9 October 2026).Max setting #36 of 162Best rank in the source's rank spread, 36th to 44th, given the confidence intervals of all ranked models. 43rd by score. 1,607 1,602 to 1,613Arena Score · 17,818 votes published 23 November 2026
  • Agent Arena aggregate · Listed as “GLM-5.2 (Max)”The Agent Arena aggregate score: a score of another kind (not an Arena score), on a scale of its own; it cannot be compared with the other series.Max setting #28 of 69Best rank in the source's rank spread, 28th to 43rd, given the confidence intervals of all ranked models. 37th by score. −0.004 −0.012 to 0.005IPS score · 9,561,479 observations published 22 November 2026

Source: Arena (opens in a new tab) · Data under the CC BY 4.0 license (creativecommons.org/licenses/by/4.0) · CC BY 4.0 (opens in a new tab) · scores and ranks as published

GLM 5.2: the lowest current price is $0.66 per million tokens (at a 3:1 input:output mix), a promotional price at Relace, checked on ; the median of the 41 comparable offers is $2.15.

Listed offers, by price

Comparable offersOther offersSolid steps are comparable offers; dashed steps are the other offers, which are not counted in cheapest, median or most expensive.Official list price

Offers not counted in cheapest, median or most expensive (128)

  • $0.26 · CompactifAI via Eden AI · cannot be designated the cheapest
  • $0.26 · CompactifAI via Eden AI · cannot be designated the cheapest
  • $0.29 · Baidu via OpenRouter · cannot be designated the cheapest
  • $0.43 · StreamLake via OpenRouter · cannot be designated the cheapest
  • $0.80 · Avian · cannot be designated the cheapest
  • $0.83 · Relace via Kilo Gateway · stale offer
  • $0.83 · Relace via OpenRouter · stale offer
  • $0.87 · DeepInfra via Hugging Face · another route of the same provider
  • $0.87 · DeepInfra via Vercel AI Gateway · another route of the same provider
  • $0.87 · FastRouter via FastRouter · cannot be designated the cheapest
  • $0.87 · DeepInfra via OpenRouter · cannot be designated the cheapest
  • $0.95 · FlexAI via Eden AI · cannot be designated the cheapest
  • $0.95 · FlexAI via LLM Gateway · cannot be designated the cheapest
  • $0.98 · Morph via Kilo Gateway · cannot be designated the cheapest
  • $0.98 · Morph via OpenRouter · cannot be designated the cheapest
  • $0.98 · Scx-ai-gp via LLM Gateway · cannot be designated the cheapest
  • $1.00 · SiliconFlow via OpenRouter · cannot be designated the cheapest
  • $1.07 · CoreWeave via Kilo Gateway · cannot be designated the cheapest
  • $1.07 · CoreWeave via OpenRouter · cannot be designated the cheapest
  • $1.08 · DigitalOcean via Kilo Gateway · cannot be designated the cheapest
  • $1.08 · DigitalOcean via Vercel AI Gateway · another route of the same provider
  • $1.08 · DigitalOcean via OpenRouter · cannot be designated the cheapest
  • $1.16 · DeepInfra via Eden AI · cannot be designated the cheapest
  • $1.16 · DeepInfra via Kilo Gateway · cannot be designated the cheapest
  • $1.16 · Glama via Glama · cannot be designated the cheapest
  • $1.16 · DeepInfra via Requesty · another route of the same provider
  • $1.18 · Novita via OpenRouter · cannot be designated the cheapest
  • $1.24 · Runware via Requesty · another route of the same provider
  • $1.29 · Canopywave via LLM API · cannot be designated the cheapest
  • $1.29 · Featherless via OpenRouter · cannot be designated the cheapest
  • $1.31 · DeepInfra · priority tier
  • $1.31 · DeepInfra via OpenRouter · cannot be designated the cheapest
  • $1.38 · Nous Portal via Nous Portal · stale offer
  • $1.40 · Alibaba via Eden AI · cannot be designated the cheapest
  • $1.48 · Alibaba via OpenRouter · cannot be designated the cheapest
  • $1.71 · Wafer via OpenRouter · cannot be designated the cheapest
  • $1.72 · Alibaba via OpenRouter · cannot be designated the cheapest
  • $1.74 · Runware via Kilo Gateway · cannot be designated the cheapest
  • $1.74 · Runware via Vercel AI Gateway · another route of the same provider
  • $1.74 · DeepInfra via Kilo Gateway · cannot be designated the cheapest
  • $1.95 · Sference via Requesty · cannot be designated the cheapest
  • $1.95 · UCloud · cannot be designated the cheapest
  • $1.95 · Volcengine · cannot be designated the cheapest
  • $1.95 · ShengSuanYun via ShengSuanYun · cannot be designated the cheapest
  • $1.99 · Cortecs via Cortecs · cannot be designated the cheapest
  • $2.00 · SiliconFlow via Kilo Gateway · cannot be designated the cheapest
  • $2.03 · Arkanecloud via Eden AI · cannot be designated the cheapest
  • $2.14 · Wafer via Kilo Gateway · cannot be designated the cheapest
  • $2.14 · Wafer via Kilo Gateway · cannot be designated the cheapest
  • $2.14 · Wafer via Vercel AI Gateway · another route of the same provider
  • $2.14 · Wafer via OpenRouter · cannot be designated the cheapest
  • $2.15 · Featherless · another route of the same provider
  • $2.15 · FPT AI Factory · cannot be designated the cheapest
  • $2.15 · Novita · another route of the same provider
  • $2.15 · Alibaba via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · Alibaba via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · Baidu via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · BaseTen via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · BaseTen via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · BaseTen via Vercel AI Gateway · another route of the same provider
  • $2.15 · Featherless via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · Friendli via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · Friendli via Vercel AI Gateway · another route of the same provider
  • $2.15 · Mistral via Eden AI · cannot be designated the cheapest
  • $2.15 · Mistral via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · Nebius via Eden AI · cannot be designated the cheapest
  • $2.15 · Nebius via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · Nebius via LLM API · cannot be designated the cheapest
  • $2.15 · Nebius via Vercel AI Gateway · another route of the same provider
  • $2.15 · Novita via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · Novita via LLM API · cannot be designated the cheapest
  • $2.15 · Parasail via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · Parasail via Vercel AI Gateway · another route of the same provider
  • $2.15 · StreamLake via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · Tencent via Eden AI · cannot be designated the cheapest
  • $2.15 · Tencent via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · Together via Eden AI · cannot be designated the cheapest
  • $2.15 · Together via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · Together via Vercel AI Gateway · another route of the same provider
  • $2.15 · Venice via Hugging Face · another route of the same provider
  • $2.15 · Venice via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · Z.AI via Eden AI · cannot be designated the cheapest
  • $2.15 · Z.AI via Kilo Gateway · cannot be designated the cheapest
  • $2.15 · Z.AI via LLM API · cannot be designated the cheapest
  • $2.15 · OrcaRouter via OrcaRouter · cannot be designated the cheapest
  • $2.15 · Alibaba via LLM Gateway · another route of the same provider
  • $2.15 · Canopywave via LLM Gateway · cannot be designated the cheapest
  • $2.15 · Nebius via LLM Gateway · cannot be designated the cheapest
  • $2.15 · Nebius via Requesty · another route of the same provider
  • $2.15 · Novita via LLM Gateway · another route of the same provider
  • $2.15 · Tencent via LLM Gateway · another route of the same provider
  • $2.15 · Tencent via Requesty · another route of the same provider
  • $2.15 · Z.AI via LLM Gateway · another route of the same provider
  • $2.15 · Z.AI via Requesty · another route of the same provider
  • $2.15 · BaseTen via OpenRouter · cannot be designated the cheapest
  • $2.15 · BaseTen via OpenRouter · cannot be designated the cheapest
  • $2.15 · Friendli via OpenRouter · cannot be designated the cheapest
  • $2.15 · Mistral via OpenRouter · cannot be designated the cheapest
  • $2.15 · Nebius via OpenRouter · cannot be designated the cheapest
  • $2.15 · Parasail via OpenRouter · cannot be designated the cheapest
  • $2.15 · Together via OpenRouter · cannot be designated the cheapest
  • $2.15 · Venice via OpenRouter · cannot be designated the cheapest
  • $2.15 · Z.AI via OpenRouter · cannot be designated the cheapest
  • $2.15 · AtlasCloud · stale offer
  • $2.25 · TensorX via Eden AI · cannot be designated the cheapest
  • $2.27 · Poe via Poe · price converted from points
  • $2.28 · io.net · cannot be designated the cheapest
  • $2.37 · Mistral via Eden AI · cannot be designated the cheapest
  • $2.37 · Mistral via Kilo Gateway · cannot be designated the cheapest
  • $2.37 · Mistral via Requesty · another route of the same provider
  • $2.37 · Mistral via OpenRouter · cannot be designated the cheapest
  • $2.42 · UCloud · cannot be designated the cheapest
  • $2.52 · Martian via Martian · cannot be designated the cheapest
  • $2.53 · Greenpt via Eden AI · cannot be designated the cheapest
  • $3.01 · Scaleway via Eden AI · cannot be designated the cheapest
  • $3.23 · BaseTen via Kilo Gateway · cannot be designated the cheapest
  • $3.23 · BaseTen via Kilo Gateway · cannot be designated the cheapest
  • $3.23 · BaseTen via Vercel AI Gateway · priority tier
  • $3.23 · Martian via Martian · cannot be designated the cheapest
  • $3.23 · BaseTen via OpenRouter · cannot be designated the cheapest
  • $3.23 · BaseTen via OpenRouter · cannot be designated the cheapest
  • $3.29 · Scx-ai-gp via LLM Gateway · cannot be designated the cheapest
  • $3.55 · Alibaba via Kilo Gateway · cannot be designated the cheapest
  • $3.55 · Alibaba via OpenRouter · cannot be designated the cheapest
  • $3.76 · Chutes · priority tier
  • $4.15 · InferenceNet · priority tier
  • $4.30 · Alibaba via Vercel AI Gateway · priority tier
  • $4.30 · Kilo Gateway via Kilo Gateway · cannot be designated the cheapest

Cheapest that confirms no training on your prompts. The provider's published policy: prompts are not used for training.

DeepInfra

directYou buy access straight from the company that runs the model on its servers. · fp4 · 1M

$0.87 blended / 1M tokens

in
$0.56
out
$1.80
Cached input
$0.11

Price drop observed: The blended price is 25% lower than before this drop; possibly temporary. · Price drop observed since Sep 14, 2026

Price historyThe cheapest offer each day, against the lab's official list price when it publishes one. Each day at 00:00 UTC, the offer the API would have selected as the cheapest, with the same exclusions as /cheapest. Blended price, promotions included.

Cheapest offer and official list price, by day, 30 days
DayCheapest offerOfficial list price
2026-10-30$0.87, DeepInfra$1.95
2026-10-31$0.87, DeepInfra$1.95
2026-11-01$0.87, DeepInfra$1.95
2026-11-02$0.87, DeepInfra$1.95
2026-11-03$0.87, DeepInfra$1.95
2026-11-04$0.87, DeepInfra$1.95
2026-11-05$0.87, DeepInfra$1.95
2026-11-06$0.87, DeepInfra$1.95
2026-11-07$0.87, DeepInfra$1.95
2026-11-08$0.87, DeepInfra$1.95
2026-11-09$0.87, DeepInfra$1.95
2026-11-10$0.87, DeepInfra$1.95
2026-11-11$0.87, DeepInfra$1.95
2026-11-12$0.87, DeepInfra$1.95
2026-11-13$0.87, DeepInfra$1.95
2026-11-14$0.87, DeepInfra$1.95
2026-11-15$0.87, DeepInfra$1.95
2026-11-16$0.87, DeepInfra$1.95
2026-11-17$0.87, DeepInfra$1.95
2026-11-18$0.87, DeepInfra$1.95
2026-11-19$0.87, DeepInfra$1.95
2026-11-20$0.83, Relace$1.95
2026-11-21$0.83, Relace$1.95
2026-11-22$0.83, Relace$1.95
2026-11-23$0.83, Relace$1.95
2026-11-24$0.83, Relace$1.95
2026-11-25$0.83, Relace$1.95
2026-11-26$0.83, Relace$1.95
2026-11-27$0.66, Relace$1.95
2026-11-28$0.66, Relace$1.95

Cheapest offerPromotional priceOfficial list price

Offers

The 25 cheapest of 169 offers

The router picks from these offers, cheapest first, among the keys you connect.
Offers for GLM 5.2, one row per offer, sorted by blended price.
RankProvider · viaYou buy access through an aggregator: one account and one API that forward your requests to other providers. "Via" names the aggregator; the price is the one it charges you. When "via" says "hosted API", no aggregator is involved: the model belongs to a lab and another provider sells it.Input $/MOutput $/MBlended $/MA single price that mixes input and output: 3 input tokens for 1 output token, per million tokens. It makes offers easy to rank; your real cost depends on your own mix.PrecisionHow finely the model's numbers are stored on the provider's servers. Lower precision (fp8, fp4) is cheaper to run and can slightly change answer quality; "unknown" means the provider doesn't say. ContextThe maximum amount of text, counted in tokens, the model can take in and write in a single request. Past this limit, the request is refused or cut.ConditionsWhat a provider says about how it handles your data and who can sign up: training on prompts, processing region, sign-up requirements. Each comes from the provider's published documents; when nothing is published, it stays unknown.SignalsOffer
1 CompactifAIvia Eden AI 0.17 0.54 0.26 –Unpublished –Unpublished Unverified. No public page for this offer: listed, not designated cheapestPrice drop observed: The blended price is 85% lower than before this drop; possibly temporary. · Price drop observed since Oct 22, 2026
: Eden AI (opens in a new tab) No public price page for this model
2 CompactifAIvia Eden AI 0.17 0.54 0.26 –Unpublished –Unpublished United States Unverified. No public page for this offer: listed, not designated cheapestPrice drop observed: The blended price is 85% lower than before this drop; possibly temporary. · Price drop observed since Oct 22, 2026
: Eden AI (opens in a new tab) No public price page for this model
3 Baiduvia OpenRouter 0.19 0.59 Promo: Promotion announced by OpenRouter · −87% vs its usual price · Discount shown by the seller, no end date announced, seen on Nov 28, 20260.29 fp8 1M Price changes often: 24 price changes in 7 days. Over that period: input $0.19 – $1.40, output $0.59 – $4.40 per million tokens. An offer whose price changes this often is not selected as the cheapest.Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Nov 28). Offers are ranked with this fee included.
4 StreamLakevia OpenRouter 0.28 0.88 0.43 fp8 1M Price changes often: 27 price changes in 7 days. Over that period: input $0.28 – $0.61, output $0.88 – $1.93 per million tokens. An offer whose price changes this often is not selected as the cheapest.Price drop observed: The blended price is 80% lower than before this drop; possibly temporary. · Discount shown by the seller, no end date announced, seen on Nov 28, 2026+1Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Nov 28). Offers are ranked with this fee included.
5 Relacevia Hugging Face 0.0069 2.61 Use 0.66 · Cheapest right now fp4 1M Price drop observed: The blended price is 67% lower than before this drop; possibly temporary. · Price drop observed since Nov 19, 2026
6 Avian 0.50 1.73 0.80 –Unpublished 1M Unverified. Neither seller nor price found on its page for 72 hours: listed, not designated cheapest
7 NanoGPT 0.53 1.79 0.85 –Unpublished 1M Thinking: Thinking: a mode of the model, not its standard offer. Never designated cheapest while a standard offer exists
8 DeepInfra 0.56 1.80 0.87 fp4 1M United States Price drop observed: The blended price is 25% lower than before this drop; possibly temporary. · Price drop observed since Sep 14, 2026
9 DeepInfravia Hugging Face 0.56 1.80 0.87 fp4 1M United States Price changes often: 12 price changes in 7 days. Over that period: input $0.56 – $0.84, output $1.80 – $2.70 per million tokens. An offer whose price changes this often is not selected as the cheapest.Price drop observed: The blended price is 33% lower than before this drop; possibly temporary. · Price drop observed since Nov 27, 2026
10 DeepInfravia Vercel AI Gateway 0.56 1.80 0.87 fp4 1M United States
11 FastRouter 0.56 1.80 0.87 –Unpublished 1M Unverified. Neither seller nor price found on its page for 72 hours: listed, not designated cheapest
12 DeepInfravia OpenRouter 0.56 1.80 0.87 fp4 1M United States Price drop observed: The blended price is 25% lower than before this drop; possibly temporary. · Discount shown by the seller, no end date announced, seen on Nov 28, 2026Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Nov 28). Offers are ranked with this fee included.
13 FlexAIvia Eden AI 0.60 2.00 0.95 –Unpublished 1M Unverified. No public page for this offer: listed, not designated cheapestPrice drop observed: The blended price is 36% lower than before this drop; possibly temporary. · Price drop observed since Oct 24, 2026
: Eden AI (opens in a new tab) No public price page for this model
14 FlexAIvia LLM Gateway 0.60 2.00 0.95 –Unpublished –Unpublished Price drop observed: The blended price is 12% lower than before this drop; possibly temporary. · Price drop observed since Nov 17, 2026Fee 5%: LLM Gateway adds a 5% fee on credit usage, plus 1.5% for cards issued outside the US (read on llmgateway.io/pricing on Nov 28). Offers are ranked with the 5% included.
15 Morphvia Hugging Face 0.64 1.98 0.98 fp8 1M
16 Morphvia Kilo Gateway 0.64 1.98 0.98 fp8 1M Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
17 Morphvia OpenRouter 0.64 1.98 0.98 fp8 1M Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Nov 28). Offers are ranked with this fee included.
18 Scx-ai-gpvia LLM Gateway 0.61 2.12 0.98 –Unpublished –Unpublished Price drop observed: The blended price is 24% lower than before this drop; possibly temporary. · Price drop observed since Oct 12, 2026Fee 5%: LLM Gateway adds a 5% fee on credit usage, plus 1.5% for cards issued outside the US (read on llmgateway.io/pricing on Nov 28). Offers are ranked with the 5% included.
19 SiliconFlowvia OpenRouter 0.65 2.05 1.00 fp8 1M Price drop observed: The blended price is 50% lower than before this drop; possibly temporary. · Discount shown by the seller, no end date announced, seen on Nov 28, 2026Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Nov 28). Offers are ranked with this fee included.
20 Coreweavevia Hugging Face 0.62 2.42 1.07 fp4 1M
21 CoreWeavevia Kilo Gateway 0.62 2.42 1.07 fp4 1M Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
22 CoreWeavevia OpenRouter 0.62 2.42 1.07 fp4 1M Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Nov 28). Offers are ranked with this fee included.
23 DigitalOceanvia Hugging Face 0.70 2.20 1.08 –Unpublished 1M
24 DigitalOceanvia Kilo Gateway 0.70 2.20 1.08 –Unpublished 1M Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
25 DigitalOceanvia Vercel AI Gateway 0.70 2.20 1.08 –Unpublished 262k Reduced context: Context window of this offer: 262,144 tokens; median of 53 offers for this model: 1,000,000 tokens.

No training on promptsPrompts may be used for trainingTraining terms not published

backend not named. The router bills this price itself without naming who serves the model.

Show all 169 offers

6 flex or batch offers hidden (lower priority, variable latency).

Blended = (3 × input + output) / 4, per million tokens. Prices in USD, converted at the ECB rate when the provider bills in another currency.

Method

Monthly cost for your workload

Computed by the API for the three cheapest offers, per 30-day month.
  1. Relace$39.56per month
  2. NanoGPT$58.65per month+$19.09 vs the cheapest
  3. DeepInfra$60.75per month+$21.19 vs the cheapest

Host it yourself instead? See the break-even

Compare GLM 5.2 with

Related models

More from Z.ai

All Z.ai models

Same index family

Use this data

The index is queryable. The API is free to use.
Free API
curl https://api.inferindex.dev/cheapest?model=z-ai/glm-5.2
MCP server
claude mcp add --transport http inferindex https://mcp.inferindex.dev/mcp

Also works in Cursor and Codex: see the MCP page.

Base URLhttps://api.inferindex.dev/router/v1
from openai import OpenAI

client = OpenAI(
    base_url="https://api.inferindex.dev/router/v1",
    api_key="YOUR_INFERINDEX_KEY",
)

reply = client.chat.completions.create(
    model="z-ai/glm-5.2",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
Base URL
https://api.inferindex.dev/router/v1
Model
z-ai/glm-5.2
Routes to
Relace · $0.66
Format
OpenAI · Anthropic