---
title: "GLM 5.2 API pricing: 19 providers compared | BroadRouter"
description: "GLM 5.2 API price per token from 19 providers: lowest listed USD 0.5625 input and USD 1.80 output per 1M tokens. Source linked per row."
url: https://broadrouter.com/llm-api-pricing/glm-5.2/
lang: en
updated: 2026-11-15
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# GLM 5.2 API pricing

Updated 2026-11-15

Among the 19 providers we checked (prices read 2026-11-14 to 2026-11-15), the lowest blended standard price for GLM 5.2 is DeepInfra (promotional) at USD 0.5625 per 1M input tokens and USD 1.80 per 1M output tokens. The median across 19 standard prices is USD 1.40 / USD 4.40. Z.ai's own API charges USD 1.40 / USD 4.40.

Z.ai · slug `glm-5.2` · up to 1,048,576 tokens of context · 19 providers with a standard price. **Every price is read from the provider's own pricing page** and linked in its row, checked 2026-11-15. No aggregator feed. [Download all prices](https://broadrouter.com/data/llm-api-provider-prices/) (every provider and model, with sources, CSV or JSON). How it compares with the market: the [LLM API price index](https://broadrouter.com/data/llm-api-price-index/). Archived list prices since 2026-07-01 (5 archived price points, 0 list-price changes): [LLM API price history](https://broadrouter.com/data/llm-api-price-history/#p-together).

## What does Z.ai charge for GLM 5.2?

Input

USD 1.40

Cached input

USD 0.26

Output

USD 4.40

Blended 3:1

USD 2.15

USD per 1M tokens on Z.ai, model `GLM-5.2`, standard tier. [Source](https://docs.z.ai/guides/overview/pricing), checked 2026-11-14.

**Is a host cheaper than Z.ai?** Yes. DeepInfra charges USD 0.5625 input and USD 1.80 output per 1M tokens, 59% below Z.ai's own USD 1.40 / USD 4.40 on the 3:1 blend (a promotional price).

## GLM 5.2 model facts

Facts from Z.ai's model card for [`zai-org/GLM-5.2`](https://huggingface.co/zai-org/GLM-5.2) and the Hugging Face model API, read 2026-11-16. BroadNet did not verify them, and hosts may serve the model at a different precision. BroadRouter is BroadNet's site.

GLM 5.2: facts as stated by the model card and the Hugging Face model API, with sources
| Fact | As stated | Source |
| --- | --- | --- |
| Open weights | Yes. The weights are in a public Hugging Face repository (zai-org/GLM-5.2) with no access gate. | [Hugging Face model API](https://huggingface.co/api/models/zai-org/GLM-5.2), checked 2026-11-16 · Quote: “"private": false, "gated": false, 282 .safetensors files listed” |
| Licence | MIT (mit) | [Z.ai model card metadata](https://huggingface.co/zai-org/GLM-5.2), checked 2026-11-16 · Quote: “license: mit” |
| Parameters in the weight files (Hugging Face count, not the maker's figure) | About 753.3 billion (753,329,940,480) | [Hugging Face model API](https://huggingface.co/api/models/zai-org/GLM-5.2), checked 2026-11-16 · Quote: “"safetensors": { "total": 753329940480 }” |
| Context length | 1M tokens | [Z.ai model card](https://huggingface.co/zai-org/GLM-5.2), checked 2026-11-16 · Quote: “A solid 1M-token context that stably sustains long-horizon work” |
| Input and output | Text in, text out (the card's task tag is text-generation) | [Z.ai model card metadata](https://huggingface.co/zai-org/GLM-5.2), checked 2026-11-16 · Quote: “pipeline_tag: text-generation” |
| Tool calling | Not found on Z.ai's model card when we read it | checked 2026-11-16 |
| First published on Hugging Face (not necessarily the release date) | 2026-06-16 | [Hugging Face model API](https://huggingface.co/api/models/zai-org/GLM-5.2), checked 2026-11-16 · Quote: “"createdAt": "2026-06-16T07:39:20.000Z"” |

## GLM 5.2 price per provider

USD per 1M tokens. Standard prices are ranked on a blend of 3 input tokens to 1 output token, cheapest first; the dearest standard price is 2.7× the cheapest. Free rows, the maker's serving version and other service tiers follow, tagged and unranked.

GLM 5.2 API prices by provider
| # | Provider | Input | Cached input | Output | Blended 3:1 | Context | Precision | Source |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | **[DeepInfra](https://broadrouter.com/llm-api-pricing/providers/deepinfra/)** cheapest promo · `zai-org/GLM-5.2` · Note: Promotional price, 25% off list (list 0.75 in / 2.4 out). Quote: “$0.563 in $1.80 out $0.105 cached / 1M tokens” | USD 0.5625 | USD 0.105 | USD 1.80 | USD 0.8719 | 1,048,576 | FP4 | [DeepInfra page](https://deepinfra.com/zai-org/GLM-5.2) · checked 2026-11-14 · re-checked 2026-11-16 |
| 2 | **[CoreWeave Forge](https://broadrouter.com/llm-api-pricing/providers/coreweave/)** · `zai-org/GLM-5.2` · Quote: “Z.AI GLM 5.2 $0.62 $2.42 $0.14” | USD 0.62 | USD 0.14 | USD 2.42 | USD 1.07 | 1,048,576 | not stated | [CoreWeave Forge page](https://coreweave.com/forge-pricing/inference-agents) · checked 2026-11-15 · re-checked 2026-11-16 |
| 3 | **[Chutes](https://broadrouter.com/llm-api-pricing/providers/chutes/)** · `zai-org/GLM-5.2-TEE` · Note: Runs on confidential TEE compute. Quote: “GLM-5.2 zai-org/GLM-5.2-TEE $0.125 per 1M tokens $1.25 per 1M tokens $3.95 per 1M tokens 1.0M” | USD 1.25 | USD 0.125 | USD 3.95 | USD 1.925 | 1,048,576 | FP4 | [Chutes page](https://chutes.ai/pricing) · checked 2026-11-15 · re-checked 2026-11-16 |
| 4 | **[SiliconFlow](https://broadrouter.com/llm-api-pricing/providers/siliconflow/)** · Note: Context shown as 1049K. Quote: “GLM-5.2 1049K $1.302 $0.26 $4.092” | USD 1.302 | USD 0.26 | USD 4.092 | USD 1.999 | 1,048,576 | not stated | [SiliconFlow page](https://www.siliconflow.com/pricing) · checked 2026-11-14 · re-checked 2026-11-16 |
| 5 | **[Z.ai](https://broadrouter.com/llm-api-pricing/providers/z-ai/)** maker · `GLM-5.2` · Quote: “\| GLM-5.2 \| $1.4 \| $0.26 \| Limited-time Free \| $4.4 \|” | USD 1.40 | USD 0.26 | USD 4.40 | USD 2.15 | not stated | not stated | [Z.ai page](https://docs.z.ai/guides/overview/pricing) · checked 2026-11-14 · re-checked 2026-11-16 |
| 6 | **[Alibaba Cloud](https://broadrouter.com/llm-api-pricing/providers/alibaba/)** · `glm-5.2` · Note: International (Singapore) deployment. Deployed by Alibaba Cloud Model Studio. A Zhipu-deployed variant, ZHIPU/GLM-5.2, is listed at the same price. Cached price derived from the Context Cache page (https://www.alibabacloud.com/help/en/model-studio/context-cache), checked 2026-11-15: implicit-cache hits bill at 20% of the input price in the International (Singapore) scope. Quote: “glm-5.2 International Non-Thinking and Thinking modes flat-rate pricing $1.400 $4.400” | USD 1.40 | USD 0.28 | USD 4.40 | USD 2.15 | not stated | not stated | [Alibaba Cloud page](https://www.alibabacloud.com/help/en/model-studio/model-pricing) · checked 2026-11-14 · re-checked 2026-11-16 |
| 7 | **[Baidu](https://broadrouter.com/llm-api-pricing/providers/baidu/)** · `glm-5.2` · Quote: “GLM-5.2 GLM-5.2 Inference Service Input 1.4 $/M tokens Cache Hit 0.26 $/M tokens Output 4.4 $/M tokens” | USD 1.40 | USD 0.26 | USD 4.40 | USD 2.15 | 500,000 | not stated | [Baidu page](https://intl.cloud.baidu.com/en/doc/qianfan/s/Jm8r1826a-intl-en) · checked 2026-11-15 · re-checked 2026-11-16 |
| 8 | **[Baseten](https://broadrouter.com/llm-api-pricing/providers/baseten/)** · `zai-org/GLM-5.2` · Quote: “GLM-5.2 $1.40 $0.14 $4.40” | USD 1.40 | USD 0.14 | USD 4.40 | USD 2.15 | not stated | not stated | [Baseten page](https://www.baseten.co/pricing/) · checked 2026-11-14 · re-checked 2026-11-16 |
| 9 | **[Cloudflare Workers AI](https://broadrouter.com/llm-api-pricing/providers/cloudflare/)** · `@cf/zai-org/glm-5.2` · Note: Cloudflare publishes this USD per-token price alongside the neuron price. Quote: “@cf/zai-org/glm-5.2 $1.400 per M input tokens $0.260 per M cached input tokens $4.400 per M output tokens” | USD 1.40 | USD 0.26 | USD 4.40 | USD 2.15 | not stated | not stated | [Cloudflare Workers AI page](https://developers.cloudflare.com/workers-ai/platform/pricing/) · checked 2026-11-14 · re-checked 2026-11-16 |
| 10 | **[DigitalOcean](https://broadrouter.com/llm-api-pricing/providers/digitalocean/)** · Note: DigitalOcean-hosted. Quote: “GLM-5.2 — Processing modePrompt lengthInputOutputCache read: Standard All prompts$1.40$4.40$0.21” | USD 1.40 | USD 0.21 | USD 4.40 | USD 2.15 | not stated | not stated | [DigitalOcean page](https://docs.digitalocean.com/products/inference/details/pricing/) · checked 2026-11-14 · re-checked 2026-11-16 |
| 11 | **[Featherless](https://broadrouter.com/llm-api-pricing/providers/featherless/)** · `zai-org/GLM-5.2` · Note: Developer plan (per-token billing, from 50 USD a month in credits). Quote: “PRICING: INPUT $1.4 / CACHED $0.15 / OUTPUT $4.4” | USD 1.40 | USD 0.15 | USD 4.40 | USD 2.15 | 262,144 | FP8 | [Featherless page](https://featherless.ai/models/zai-org/GLM-5.2) · checked 2026-11-15 · re-checked 2026-11-16 |
| 12 | **[FriendliAI](https://broadrouter.com/llm-api-pricing/providers/friendli/)** · `zai-org/GLM-5.2` · Quote: “Input $1.4 / 1M tokens Cached Input $0.26 / 1M tokens Output $4.4 / 1M tokens” | USD 1.40 | USD 0.26 | USD 4.40 | USD 2.15 | 1,048,576 | not stated | [FriendliAI page](https://friendli.ai/models/zai-org/GLM-5.2) · checked 2026-11-15 · re-checked 2026-11-16 |
| 13 | **[GMI Cloud](https://broadrouter.com/llm-api-pricing/providers/gmi-cloud/)** · `zai-org/GLM-5.2-FP8` · Quote: “Price (per 1M tokens) Input $1.40 Output $4.40 Cache Read $0.26 Cache Write -” | USD 1.40 | USD 0.26 | USD 4.40 | USD 2.15 | 1,048,576 | FP8 | [GMI Cloud page](https://console.gmicloud.ai/model/llm/zai-org-glm-5-2-fp8/1f12423b-ac10-4690-a670-36f768d7b9bf) · checked 2026-11-15 · re-checked 2026-11-16 |
| 14 | **[Google Vertex AI](https://broadrouter.com/llm-api-pricing/providers/google-vertex/)** · `glm-5.2` · Quote: “GLM-5.2 Input $1.40 … Output $4.40 … Cached Input: $0.14” | USD 1.40 | USD 0.14 | USD 4.40 | USD 2.15 | not stated | not stated | [Google Vertex AI page](https://cloud.google.com/model-garden/partner-models/pricing) · checked 2026-11-14 · re-checked 2026-11-16 |
| 15 | **[Novita AI](https://broadrouter.com/llm-api-pricing/providers/novita/)** · `zai-org/glm-5.2` · Quote: “GLM 5.2 1M $1.4 /Mt · Cache Read $0.26 /Mt $4.4 /Mt” | USD 1.40 | USD 0.26 | USD 4.40 | USD 2.15 | 1,048,576 | not stated | [Novita AI page](https://novita.ai/pricing) · checked 2026-11-14 · re-checked 2026-11-16 |
| 16 | **[Parasail](https://broadrouter.com/llm-api-pricing/providers/parasail/)** · Quote: “GLM-5.2 $1.40 $4.40 $0.26” | USD 1.40 | USD 0.26 | USD 4.40 | USD 2.15 | not stated | not stated | [Parasail page](https://www.parasail.io/pricing) · checked 2026-11-14 · re-checked 2026-11-16 |
| 17 | **[Together AI](https://broadrouter.com/llm-api-pricing/providers/together/)** · Quote: “GLM-5.2 $1.40 $0.26 (cached) $4.40” | USD 1.40 | USD 0.26 | USD 4.40 | USD 2.15 | not stated | not stated | [Together AI page](https://www.together.ai/pricing) · checked 2026-11-14 · re-checked 2026-11-16 |
| 18 | **[Venice](https://broadrouter.com/llm-api-pricing/providers/venice/)** · `zai-org-glm-5-2` · Quote: “\| GLM 5.2 \| `zai-org-glm-5-2` \| $1.40 \| $4.40 \| $0.26 \| — \| Private \|” | USD 1.40 | USD 0.26 | USD 4.40 | USD 2.15 | 1,000,000 | FP8 | [Venice page](https://docs.venice.ai/pricing) · checked 2026-11-15 · re-checked 2026-11-16 |
| 19 | **[Microsoft Azure](https://broadrouter.com/llm-api-pricing/providers/azure/)** · Note: Foundry Models serverless, served by Fireworks on Azure, Data Zone deployment. Quote: “FW GLM 5.2 Data Zone Input: $1.54/1M Tokens \| Cached Input: $0.15/1M Tokens \| Output: $4.84/1M Tokens” | USD 1.54 | USD 0.15 | USD 4.84 | USD 2.365 | not stated | not stated | [Microsoft Azure page](https://azure.microsoft.com/en-us/pricing/details/ai-foundry-models/fireworks/) · checked 2026-11-14 · re-checked 2026-11-16 |
| — | **[DeepInfra](https://broadrouter.com/llm-api-pricing/providers/deepinfra/)** flex / spot promo · `zai-org/GLM-5.2` · Note: Flex service tier (0.8× standard). Promotional price, 25% off list (list 0.75 in / 2.4 out). Quote: “Flex (0.8×) $0.45 $1.44 $0.084” | USD 0.45 | USD 0.084 | USD 1.44 | USD 0.6975 | 1,048,576 | FP4 | [DeepInfra page](https://deepinfra.com/zai-org/GLM-5.2) · checked 2026-11-14 · re-checked 2026-11-16 |
| — | **[DeepInfra](https://broadrouter.com/llm-api-pricing/providers/deepinfra/)** priority promo · `zai-org/GLM-5.2` · Note: Priority service tier (1.5× standard). Promotional price, 25% off list (list 0.75 in / 2.4 out). Quote: “Priority (1.5×) $0.8438 $2.70 $0.1575” | USD 0.8438 | USD 0.1575 | USD 2.70 | USD 1.308 | 1,048,576 | FP4 | [DeepInfra page](https://deepinfra.com/zai-org/GLM-5.2) · checked 2026-11-14 · re-checked 2026-11-16 |
| — | **[Baseten](https://broadrouter.com/llm-api-pricing/providers/baseten/)** fast · `zai-org/GLM-5.2-Fast` · Quote: “GLM-5.2 Fast $2.10 $0.21 $6.60” | USD 2.10 | USD 0.21 | USD 6.60 | USD 3.225 | not stated | not stated | [Baseten page](https://www.baseten.co/pricing/) · checked 2026-11-14 · re-checked 2026-11-16 |
| — | **[Microsoft Azure](https://broadrouter.com/llm-api-pricing/providers/azure/)** fast · Note: Foundry Models serverless, served by Fireworks on Azure, Data Zone deployment. Quote: “FW GLM 5.2 Fast Data Zone Input: $2.31/1M Tokens \| Cached Input: $0.231/1M Tokens \| Output: $7.26/1M Tokens” | USD 2.31 | USD 0.231 | USD 7.26 | USD 3.547 | not stated | not stated | [Microsoft Azure page](https://azure.microsoft.com/en-us/pricing/details/ai-foundry-models/fireworks/) · checked 2026-11-14 · re-checked 2026-11-16 |
| — | **[Baidu](https://broadrouter.com/llm-api-pricing/providers/baidu/)** fast · `glm-5.2-fast` · Note: GLM-5.2-Fast, the fast version of GLM-5.2. Quote: “GLM-5.2-Fast GLM-5.2-Fast Inference Service Input 2.25 $/M tokens Cache Hit 0.56 $/M tokens Output 7.88 $/M tokens” | USD 2.25 | USD 0.56 | USD 7.88 | USD 3.657 | 1,048,576 | not stated | [Baidu page](https://intl.cloud.baidu.com/en/doc/qianfan/s/Jm8r1826a-intl-en) · checked 2026-11-15 · re-checked 2026-11-16 |
| — | **[Chutes](https://broadrouter.com/llm-api-pricing/providers/chutes/)** fast · `zai-org/GLM-5.2-Fast` · Note: Fast variant, model ID zai-org/GLM-5.2-Fast. Quote: “GLM-5.2-Fast zai-org/GLM-5.2-Fast $0.49 per 1M tokens $2.45 per 1M tokens $7.70 per 1M tokens 1.0M” | USD 2.45 | USD 0.49 | USD 7.70 | USD 3.763 | 1,048,576 | not stated | [Chutes page](https://chutes.ai/pricing) · checked 2026-11-15 · re-checked 2026-11-16 |
| — | **[Alibaba Cloud](https://broadrouter.com/llm-api-pricing/providers/alibaba/)** fast · `glm-5.2-fast-preview` · Note: International (Singapore) deployment. Fast mode (Prime), Singapore tab of the Fast mode page; the model pricing page lists the same 2.8 input, 8.8 output. Quote: “glm-5.2-fast-preview $2.800 $8.800 $0.560” | USD 2.80 | USD 0.56 | USD 8.80 | USD 4.30 | not stated | not stated | [Alibaba Cloud page](https://www.alibabacloud.com/help/en/model-studio/prime-mode) · checked 2026-11-14 · re-checked 2026-11-16 |

-   **Ranked:** standard-tier prices only, on (3 × input + output) ÷ 4. "Cached input: not published" means the provider's page shows no cache price; budget cached tokens at the input price.
-   **Promo:** the provider's page describes this price as promotional or discounted (DeepInfra). It ranks as published, but can end without notice; the row's notes give the list price or end date where the page states one.
-   **Other tiers (flex / spot, priority and fast):** batch runs asynchronously within hours; flex and spot are best-effort and can be slow or refused at capacity; priority and fast cost more for reliability or speed. Shown, not ranked.
-   **Automated re-check 2026-11-16:** a weekly job re-fetches each source page and looks for the recorded quote or prices. It is not a human review. "Re-checked" means it still found them. Rows with no re-check note show only the date the price was read.
-   **Precision** is shown only where the provider states it; "not stated" is unknown, not full precision.

[Report a wrong price or number](mailto:info@broadnet.ai?subject=Wrong%20price%20or%20number%20on%20GLM%205.2%20API%20pricing&body=Page%3A%20https%3A%2F%2Fbroadrouter.com%2Fllm-api-pricing%2Fglm-5.2%2F%0A%0AWhat%20looks%20wrong%20(model%2C%20figure%20shown%2C%20correct%20figure%20and%20a%20source%20link%20if%20you%20have%20one)%3A%0A) (email to info@broadnet.ai, with this page's link filled in).

## What does GLM 5.2 cost for a real workload?

Monthly cost over 30 days at each standard price, using the presets of the [LLM API cost calculator](https://broadrouter.com/tools/llm-api-cost-calculator/?model=glm-5.2). Providers without a cached price bill cached input at the input price.

-   **Support chatbot:** 2,000 requests a day, 1,500 input tokens (60% cached), 300 output.
-   **RAG over documents:** 1,000 requests a day, 8,000 input tokens (30% cached), 500 output.
-   **Coding agent (one developer):** 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning.

Monthly cost of three workloads on GLM 5.2, by provider
| Provider | Support chatbot | RAG over documents | Coding agent (one developer) |
| --- | --- | --- | --- |
| **DeepInfra** (promo) | USD 58.32 | USD 129.06 | USD 474.53 |
| **CoreWeave Forge** | USD 73.44 | USD 150.54 | USD 599.40 |
| **Chutes** | USD 122.85 | USD 278.25 | USD 884.25 |
| **SiliconFlow** | USD 134.57 | USD 298.84 | USD 1,118 |
| **Z.ai** (maker) | USD 143.64 | USD 319.92 | USD 1,172 |
| **Alibaba Cloud** | USD 144.72 | USD 321.36 | USD 1,202 |
| **Baidu** | USD 143.64 | USD 319.92 | USD 1,172 |
| **Baseten** | USD 137.16 | USD 311.28 | USD 988.20 |
| **Cloudflare Workers AI** | USD 143.64 | USD 319.92 | USD 1,172 |
| **DigitalOcean** | USD 140.94 | USD 316.32 | USD 1,095 |
| **Featherless** | USD 137.70 | USD 312.00 | USD 1,004 |
| **FriendliAI** | USD 143.64 | USD 319.92 | USD 1,172 |
| **GMI Cloud** | USD 143.64 | USD 319.92 | USD 1,172 |
| **Google Vertex AI** | USD 137.16 | USD 311.28 | USD 988.20 |
| **Novita AI** | USD 143.64 | USD 319.92 | USD 1,172 |
| **Parasail** | USD 143.64 | USD 319.92 | USD 1,172 |
| **Together AI** | USD 143.64 | USD 319.92 | USD 1,172 |
| **Venice** | USD 143.64 | USD 319.92 | USD 1,172 |
| **Microsoft Azure** | USD 150.66 | USD 342.12 | USD 1,081 |

For the support chatbot, the cheapest price (DeepInfra, USD 58.32 a month) saves USD 85.32 against the median (USD 143.64). For the coding agent the gap is USD 697.28 a month (60% lower).

## Which GLM 5.2 provider is cheapest for your traffic?

DeepInfra has the lowest input price (USD 0.5625) and the lowest output price (USD 1.80), so it is the cheapest standard price at every mix of input and output tokens, before cache discounts.

GLM 5.2: price per 1M tokens at 3 input to 1 output, by share of input served from cache
| Provider | No cache hits | 50% cached | 90% cached |
| --- | --- | --- | --- |
| **DeepInfra** | USD 0.8719 cheapest | USD 0.7003 cheapest | USD 0.5631 cheapest |
| **CoreWeave Forge** | USD 1.07 | USD 0.89 | USD 0.746 |
| **Chutes** | USD 1.925 | USD 1.503 | USD 1.166 |
| **SiliconFlow** | USD 1.999 | USD 1.609 | USD 1.296 |
| **Z.ai** (maker) | USD 2.15 | USD 1.723 | USD 1.381 |
| **Alibaba Cloud** | USD 2.15 | USD 1.73 | USD 1.394 |

USD per 1M tokens, 3 input tokens to 1 output token, each provider's cheapest standard row; 13 dearer providers are in the price table above. A provider without a cached price bills cached input at the input price. Any charge for writing to the cache, which some providers add, is not included.

All 19 providers publish a cached-input price below the input price: DeepInfra (81% off), CoreWeave Forge (77% off), Chutes (90% off), SiliconFlow (80% off), Z.ai (81% off) and 14 more.

Context windows differ: 1,048,576 tokens at DeepInfra, CoreWeave Forge, Chutes and 4 more; 1,000,000 tokens at Venice; 500,000 tokens at Baidu; 262,144 tokens at Featherless. Z.ai, Alibaba Cloud, Baseten, Cloudflare Workers AI, DigitalOcean and 4 more do not state one. The cheapest row is not always the one that fits a long prompt.

## What does GLM 5.2 cost in other languages?

The same text needs a different number of tokens in each language. With the GLM 5.3 tokenizer, sending 1M characters costs this much at the cheapest standard input price we found for GLM 5.2:

| Content | Input per 1M characters | Cheapest provider |
| --- | --- | --- |
| English | USD 0.135 | CoreWeave Forge |
| Arabic MSA | USD 0.256 | CoreWeave Forge |
| Hindi | USD 0.555 | CoreWeave Forge |
| Chinese | USD 0.368 | CoreWeave Forge |
| Code | USD 0.158 | CoreWeave Forge |

From BroadRouter's [real cost by language dataset](https://broadrouter.com/data/real-cost-by-language/), which covers 15 languages and content types for every model we could match to a measured tokenizer.

## Published benchmark results

BroadNet did not run these benchmarks; results are as published by the Z.ai model card and Epoch AI and may use different settings. BroadRouter is BroadNet's site.

Published benchmark results for GLM 5.2, with sources
| Benchmark | Result | Setting or note | Source |
| --- | --- | --- | --- |
| GPQA-Diamond | 91.2 | not stated | [Z.ai model card](https://huggingface.co/zai-org/GLM-5.2), checked 2026-11-16 |
| SWE-bench Pro | 62.1 | not stated | [Z.ai model card](https://huggingface.co/zai-org/GLM-5.2), checked 2026-11-16 |
| Terminal Bench 2.1 (Terminus-2) | 81.0 | not stated | [Z.ai model card](https://huggingface.co/zai-org/GLM-5.2), checked 2026-11-16 |
| MCP-Atlas (Public Set) | 76.8 | not stated | [Z.ai model card](https://huggingface.co/zai-org/GLM-5.2), checked 2026-11-16 |
| GPQA Diamond | 0.919 | Max reasoning setting; Epoch run glm-5.2\_max, mean score on a 0 to 1 scale | [Epoch AI](https://epoch.ai/benchmarks/use-this-data), checked 2026-11-16 |

Epoch AI rows: [Epoch AI, Capabilities & benchmarking](https://epoch.ai/benchmarks/use-this-data), licensed [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), shown as the mean score on a 0 to 1 scale, rounded to three decimals (hover a value for the exact figure in Epoch's data file).

## Estimate your own bill

-   [LLM API cost calculator with GLM 5.2 preloaded](https://broadrouter.com/tools/llm-api-cost-calculator/?model=glm-5.2): your traffic and cache rate, against any of 428 models.
-   [GLM token counter](https://broadrouter.com/tools/glm-token-counter/): count the tokens in your real prompts. Tokenizers differ, so the same text costs a different number of tokens on different models.
-   [Prompt caching calculator](https://broadrouter.com/tools/prompt-caching-calculator/): what a higher cache-hit rate saves.

## How does GLM 5.2 compare with other Z.ai models?

The Z.ai models whose cheapest standard price is closest to GLM 5.2's (USD 0.8719 blended):

Z.ai models priced closest to GLM 5.2
| Model | Cheapest input | Cheapest output | Max context | Providers |
| --- | --- | --- | --- | --- |
| [GLM 4.5V](https://broadrouter.com/llm-api-pricing/glm-4.5v/) | USD 0.60 | USD 1.80 | 65,536 | 2 |
| [GLM 5](https://broadrouter.com/llm-api-pricing/glm-5/) | USD 0.60 | USD 1.92 | 204,800 | 10 |
| [GLM-4.5-FP8](https://broadrouter.com/llm-api-pricing/glm-4.5/) | USD 0.60 | USD 2.20 | 131,072 | 2 |
| [GLM 4.6](https://broadrouter.com/llm-api-pricing/glm-4.6/) | USD 0.43 | USD 1.75 | 204,800 | 6 |
| [GLM 4.7](https://broadrouter.com/llm-api-pricing/glm-4.7/) | USD 0.40 | USD 1.75 | 204,800 | 8 |
| [GLM 5.3](https://broadrouter.com/llm-api-pricing/glm-5.3/) | USD 0.5625 | USD 2.50 | 1,048,576 | 24 |

Priced closest from other makers: [Gemini 2.5 Flash](https://broadrouter.com/llm-api-pricing/gemini-2.5-flash/) (Google, USD 0.85) · [Gemini 3.5 Flash-Lite](https://broadrouter.com/llm-api-pricing/gemini-3.5-flash-lite/) (Google, USD 0.85) · [Kimi K2.5](https://broadrouter.com/llm-api-pricing/kimi-k2.5/) (Moonshot AI, USD 0.90).

## Compare GLM 5.2 with

-   [GLM 5.3 vs GLM 5.2](https://broadrouter.com/llm-api-pricing/compare/glm-5.3-vs-glm-5.2/): API price side by side
-   [GLM 5.2 vs GLM 5.1](https://broadrouter.com/llm-api-pricing/compare/glm-5.2-vs-glm-5.1/): API price side by side

Also compared: [vs GLM 5.3](https://broadrouter.com/llm-api-pricing/compare/glm-5.3-vs-glm-5.2/) · [vs GLM 5.1](https://broadrouter.com/llm-api-pricing/compare/glm-5.2-vs-glm-5.1/).

[Every GLM 5.2 price comparison](https://broadrouter.com/llm-api-pricing/compare/#m-glm-5.2) · [All model-vs-model price comparisons](https://broadrouter.com/llm-api-pricing/compare/)

[All 428 models: API prices compared](https://broadrouter.com/llm-api-pricing/) · [Cheapest LLM APIs right now](https://broadrouter.com/llm-api-pricing/cheapest/) · [LLM API price index (open data)](https://broadrouter.com/data/llm-api-price-index/) · [Download all prices (CSV, JSON)](https://broadrouter.com/data/llm-api-provider-prices/) · [Price change log](https://broadrouter.com/llm-api-pricing/changes/)

## Questions

### How much does the GLM 5.2 API cost per token?

From USD 0.5625 per 1M input tokens (USD 0.0000005625 per token) and USD 1.80 per 1M output tokens (USD 0.0000018 per token) at the lowest standard prices we found. The median of 19 standard prices is USD 1.40 input and USD 4.40 output. Each price was read from the provider's own pricing page; the source is linked in its row.

### Which provider is cheapest for GLM 5.2?

Among the 19 providers we checked (prices read 2026-11-14 to 2026-11-15), the lowest is DeepInfra (promotional price), ranked on a blend of 3 input tokens to 1 output token (USD 0.8719 per 1M). It also has the lowest input and the lowest output price. Batch, flex, priority and fast tiers are shown in the table but not ranked.

### Is GLM 5.2 cheaper from a host than from Z.ai?

Yes. DeepInfra charges USD 0.5625 input and USD 1.80 output per 1M tokens, 59% below Z.ai's own USD 1.40 / USD 4.40 on the 3:1 blend (a promotional price).

### Does GLM 5.2 have cached input pricing?

All 19 standard prices include one. The lowest is USD 0.105 per 1M at DeepInfra; the median is USD 0.26. Providers without one bill cached input at the input price. [What cached input means](https://broadrouter.com/glossary/cached-input-tokens/).

### What is the GLM 5.2 context window?

Up to 1,048,576 tokens. 3 standard prices come with less, down to 262,144 tokens (Featherless, Baidu and Venice). Check the context column before you pick the cheapest row for long prompts. [Context window calculator](https://broadrouter.com/tools/context-window-calculator/).

### How much does a coding agent cost per month on GLM 5.2?

For 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning, over 30 days: USD 474.53 a month at DeepInfra, USD 1,172 at the median price and USD 1,202 at Alibaba Cloud. [Try your own numbers](https://broadrouter.com/tools/llm-api-cost-calculator/?model=glm-5.2).

### Is there a batch, flex or priority price for GLM 5.2?

Yes: flex / spot from DeepInfra at USD 0.45 / USD 1.44; priority from DeepInfra at USD 0.8438 / USD 2.70; fast from Baseten at USD 2.10 / USD 6.60 per 1M input / output tokens. These tiers trade speed or availability for price (batch runs within hours, flex and spot can be slow or refused at capacity, priority and fast cost more for speed or reliability), so they are shown but not ranked.

### Is GLM 5.2 free to use through an API?

No provider in our data lists a free price for GLM 5.2 as of 2026-11-15. [Free tiers and credits by provider](https://broadrouter.com/data/llm-api-free-tiers-and-rate-limits/) (checked 2026-11-14) lists general offers that do not name a model; [all free LLM API models](https://broadrouter.com/llm-api-pricing/free/) are on one page.

### Is GLM 5.2 open source, with open weights, and what is its licence?

Z.ai publishes the weights on Hugging Face as [`zai-org/GLM-5.2`](https://huggingface.co/zai-org/GLM-5.2), in a public repository with no access gate. The licence, as the [Z.ai model card metadata](https://huggingface.co/zai-org/GLM-5.2) states it: MIT (mit). Open weights means you can download and run the model yourself; what you may do with it, including commercial use, is set by that licence, so read it in full (checked 2026-11-16). These facts come from Z.ai's card and the Hugging Face model API; BroadNet did not verify them, and hosts may serve the model at a different precision.

### How many parameters does GLM 5.2 have?

Z.ai's model card does not state a total that we found. [Hugging Face](https://huggingface.co/api/models/zai-org/GLM-5.2) counts about 753.3 billion (753,329,940,480) parameters in the published weight files of [`zai-org/GLM-5.2`](https://huggingface.co/zai-org/GLM-5.2). That is a file-level count, not the maker's figure, and it can include extra modules (checked 2026-11-16).

### How do I call GLM 5.2 with the OpenAI SDK?

BroadNet does not serve GLM 5.2. Use the OpenAI-compatible base URL of a provider that lists it: create the client with `OpenAI(base_url=..., api_key=...)` and pass that provider's model ID. Documented base URLs for providers on this page, in alphabetical order: [Alibaba Cloud Model Studio](https://broadrouter.com/llm-api-pricing/providers/alibaba/) (`https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1`, model `glm-5.2`), [DeepInfra](https://broadrouter.com/llm-api-pricing/providers/deepinfra/) (`https://api.deepinfra.com/v1/openai`, model `zai-org/GLM-5.2`), [Together AI](https://broadrouter.com/llm-api-pricing/providers/together/) (`https://api.together.ai/v1`) and [Z.ai](https://broadrouter.com/llm-api-pricing/providers/z-ai/) (`https://api.z.ai/api/paas/v4/`, model `GLM-5.2`). Each provider page quotes the provider's docs with a check date.

### How does GLM 5.2 score on benchmarks?

As published, [the Z.ai model card](https://huggingface.co/zai-org/GLM-5.2) reports 91.2 on GPQA-Diamond and 62.1 on SWE-bench Pro; [Epoch AI](https://epoch.ai/benchmarks/use-this-data) measured 0.919 on GPQA Diamond in its own run, as a mean score on a 0 to 1 scale (checked 2026-11-16). BroadNet did not run these benchmarks, and sources may use different settings, so the figures are not directly comparable. Every published result we found, with its setting and source.

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=llm-api-pricing-glm-5.2&utm_content=page-cta) ·

**Sources**

-   [Alibaba Cloud: pricing (checked 2026-11-14)](https://www.alibabacloud.com/help/en/model-studio/model-pricing)
-   [Alibaba Cloud: pricing (checked 2026-11-14)](https://www.alibabacloud.com/help/en/model-studio/prime-mode)
-   [Microsoft Azure: pricing (checked 2026-11-14)](https://azure.microsoft.com/en-us/pricing/details/ai-foundry-models/fireworks/)
-   [Baidu: pricing (checked 2026-11-15)](https://intl.cloud.baidu.com/en/doc/qianfan/s/Jm8r1826a-intl-en)
-   [Baseten: pricing (checked 2026-11-14)](https://www.baseten.co/pricing/)
-   [Chutes: pricing (checked 2026-11-15)](https://chutes.ai/pricing)
-   [Cloudflare Workers AI: pricing (checked 2026-11-14)](https://developers.cloudflare.com/workers-ai/platform/pricing/)
-   [CoreWeave Forge: pricing (checked 2026-11-15)](https://coreweave.com/forge-pricing/inference-agents)
-   [DeepInfra: pricing (checked 2026-11-14)](https://deepinfra.com/zai-org/GLM-5.2)
-   [DigitalOcean: pricing (checked 2026-11-14)](https://docs.digitalocean.com/products/inference/details/pricing/)
-   [Featherless: pricing (checked 2026-11-15)](https://featherless.ai/models/zai-org/GLM-5.2)
-   [FriendliAI: pricing (checked 2026-11-15)](https://friendli.ai/models/zai-org/GLM-5.2)
-   [GMI Cloud: pricing (checked 2026-11-15)](https://console.gmicloud.ai/model/llm/zai-org-glm-5-2-fp8/1f12423b-ac10-4690-a670-36f768d7b9bf)
-   [Google Vertex AI: pricing (checked 2026-11-14)](https://cloud.google.com/model-garden/partner-models/pricing)
-   [Novita AI: pricing (checked 2026-11-14)](https://novita.ai/pricing)
-   [Parasail: pricing (checked 2026-11-14)](https://www.parasail.io/pricing)
-   [SiliconFlow: pricing (checked 2026-11-14)](https://www.siliconflow.com/pricing)
-   [Together AI: pricing (checked 2026-11-14)](https://www.together.ai/pricing)
-   [Venice: pricing (checked 2026-11-15)](https://docs.venice.ai/pricing)
-   [Z.ai: own API pricing (checked 2026-11-14)](https://docs.z.ai/guides/overview/pricing)
