---
title: "GLM 5.2 vs DeepSeek R1 API pricing compared | BroadRouter"
description: "GLM 5.2 vs DeepSeek R1 API price per 1M tokens: USD 0.5625 / USD 1.80 vs USD 0.50 / USD 2.18 input/output, from providers' own pricing pages."
url: https://broadrouter.com/llm-api-pricing/compare/glm-5.2-vs-deepseek-r1/
lang: en
updated: 2026-11-16
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# GLM 5.2 vs DeepSeek R1 API pricing

Updated 2026-11-16

GLM 5.2: USD 0.5625 input, USD 1.80 output per 1M tokens (DeepInfra, promotional). DeepSeek R1: USD 0.50 input, USD 2.18 output per 1M tokens (GMI Cloud and 1 other). At 3 input tokens per output token, DeepSeek R1 costs 5.5% more than GLM 5.2 (USD 0.92 vs USD 0.8719 per 1M).

Picked by the same-tier rule: both are in the third quarter of the indexed models by price (USD 0.4512 to USD 1.40 per 1M tokens at 3:1) and in the same size class, mid-size (no tier word, 40B to 200B parameters or no size in the name). DeepSeek R1 is the 3rd-closest-priced model from another maker to GLM 5.2 in that bucket. **Price only**: every number is computed from prices read from each provider's own pricing page (linked per cell, newest check 2026-11-16), with no claim about quality, speed or accuracy.

## How do GLM 5.2 and DeepSeek R1 differ on price?

-   Cheapest input price: DeepSeek R1 USD 0.50 against USD 0.5625 per 1M tokens, so GLM 5.2 costs 1.13× as much (13% more).
-   Cheapest output price: GLM 5.2 USD 1.80 against USD 2.18 per 1M tokens, so DeepSeek R1 costs 1.21× as much (21% more).
-   Among the 201 indexed models, GLM 5.2 ranks 123rd cheapest and DeepSeek R1 129th on the 3:1 blend.
-   The cheaper model changes at 6.1 input tokens per output token.
-   Only GLM 5.2 lists a cached-input discount: GLM 5.2 at 21 standard prices of 21, from USD 0.075 (Relace, 90% below that provider's input price). DeepSeek R1's cached tokens bill at the input price.
-   GLM 5.2 states up to 1,048,576 tokens of context, 6.4× the 163,840 of DeepSeek R1.
-   GLM 5.2 has 21 providers with a standard price, 17 more than DeepSeek R1; 3 providers sell both (SiliconFlow, GMI Cloud and Microsoft Azure).
-   On one account, SiliconFlow charges USD 1.999 for GLM 5.2 (2.3× its cheapest price) and USD 0.92 for DeepSeek R1 (its cheapest price) at 3:1, the lowest combined price among the providers that sell both.
-   Shopping around matters more for GLM 5.2: its dearest standard price is 2.7× its cheapest, against 2.6× for DeepSeek R1.
-   Z.ai's own API charges USD 2.15 for GLM 5.2 at 3:1, 147% above the cheapest provider (DeepInfra).
-   GLM 5.2 has a batch price at 1 provider, from USD 0.7275 at 3:1 (Doubleword); DeepSeek R1 has no batch price on file.
-   For the one-developer coding agent preset, the gap is USD 7,460 a year in GLM 5.2's favour (GLM 5.2 USD 474.53 a month, DeepSeek R1 USD 1,096).

## GLM 5.2 and DeepSeek R1 prices side by side

USD per 1M tokens, standard tier. "Cheapest" is the lowest price at 3 input tokens to 1 output token; each line can come from a different provider.

GLM 5.2 and DeepSeek R1 API prices compared
| Price | GLM 5.2 | DeepSeek R1 |
| --- | --- | --- |
| Model page | [GLM 5.2](https://broadrouter.com/llm-api-pricing/glm-5.2/) · Z.ai · 21 providers | [DeepSeek R1](https://broadrouter.com/llm-api-pricing/deepseek-r1/) · DeepSeek · 4 providers |
| Cheapest standard price, blended 3:1 | USD 0.8719 lower promo · USD 0.5625 in / USD 1.80 out at DeepInfra · [DeepInfra page](https://deepinfra.com/zai-org/GLM-5.2) checked 2026-11-14 | USD 0.92 · USD 0.50 in / USD 2.18 out at GMI Cloud and 1 other · [GMI Cloud page](https://console.gmicloud.ai/model/llm/deepseek-r1/56f9685a-99a9-4e9e-9e03-1b7de29fc973) checked 2026-11-15 |
| Cheapest input | USD 0.5625 promo · DeepInfra [source](https://deepinfra.com/zai-org/GLM-5.2) | USD 0.50 lower · GMI Cloud [source](https://console.gmicloud.ai/model/llm/deepseek-r1/56f9685a-99a9-4e9e-9e03-1b7de29fc973) |
| Cheapest cached input | USD 0.075 · Relace [source](https://relace.ai/pricing) | No standard price lists a cache price; cached tokens bill at the input price. |
| Cheapest output | USD 1.80 lower promo · DeepInfra [source](https://deepinfra.com/zai-org/GLM-5.2) | USD 2.18 · GMI Cloud [source](https://console.gmicloud.ai/model/llm/deepseek-r1/56f9685a-99a9-4e9e-9e03-1b7de29fc973) |
| Cheapest non-promotional price | USD 0.62 / USD 2.42 · CoreWeave Forge, USD 1.07 blended [source](https://coreweave.com/forge-pricing/inference-agents) | The cheapest price is not promotional. |
| Maker's own API | USD 1.40 / USD 4.40 · Z.ai [source](https://docs.z.ai/guides/overview/pricing) | DeepSeek publishes no paid standard price on its own API that we found. |
| Median standard price | USD 1.40 / USD 4.40 · input / output, 21 prices | USD 0.925 / USD 3.79 · input / output, 4 prices |
| Context window | 1,048,576 tokens, largest stated; from 262,144 at some providers | 163,840 tokens, largest stated; from 131,072 at some providers |
| Providers with a standard price | 21 | 4 |

-   **Lower** marks the lower price on a line; **tie**, equal prices. Other tiers and free rows are on the model pages.
-   **Promo:** the provider calls the price promotional or discounted, so it is current now and can end without notice.

[Report a wrong price or number](mailto:info@broadnet.ai?subject=Wrong%20price%20or%20number%20on%20GLM%205.2%20vs%20DeepSeek%20R1%20API%20pricing&body=Page%3A%20https%3A%2F%2Fbroadrouter.com%2Fllm-api-pricing%2Fcompare%2Fglm-5.2-vs-deepseek-r1%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 do GLM 5.2 and DeepSeek R1 cost for a real workload?

30 days at each model's cheapest standard price for the workload (presets of the [cost calculator](https://broadrouter.com/tools/llm-api-cost-calculator/?model=glm-5.2,deepseek-r1); cached input at the cached price where listed).

Monthly cost of three workloads on GLM 5.2 and DeepSeek R1
| Workload | GLM 5.2 | DeepSeek R1 | Difference |
| --- | --- | --- | --- |
| **Support chatbot** · 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 58.32 · DeepInfra | USD 84.24 · GMI Cloud | USD 25.92 · GLM 5.2 lower |
| **RAG over documents** · 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 129.06 · DeepInfra | USD 152.70 · GMI Cloud | USD 23.64 · GLM 5.2 lower |
| **Coding agent (one developer)** · 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning | USD 474.53 · DeepInfra | USD 1,096 · GMI Cloud | USD 621.67 · GLM 5.2 lower |

GLM 5.2 is cheaper on all three workloads. The widest gap is on Coding agent (one developer): the dearer model costs 2.31× as much as the cheaper one.

## Does the cheaper model change with your input:output ratio?

The cheaper model changes with the mix: below 6.1 input tokens per output token, GLM 5.2 is cheaper; above 6.1, DeepSeek R1 is cheaper. At the site's 3:1 blend, GLM 5.2 is cheaper. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.

Price per 1M tokens of GLM 5.2 and DeepSeek R1 at different input:output mixes
| Input : output tokens | GLM 5.2 | DeepSeek R1 |
| --- | --- | --- |
| **1 : 3** (long answers) | USD 1.491 lower · DeepInfra | USD 1.76 · GMI Cloud |
| **1 : 1** | USD 1.181 lower · DeepInfra | USD 1.34 · GMI Cloud |
| **3 : 1** (the site’s blend) | USD 0.8719 lower · DeepInfra | USD 0.92 · GMI Cloud |
| **10 : 1** (retrieval, long prompts) | USD 0.675 · DeepInfra | USD 0.6527 lower · GMI Cloud |
| **30 : 1** (agents, big contexts) | USD 0.6024 · DeepInfra | USD 0.5542 lower · GMI Cloud |

USD per 1M tokens at the cheapest standard provider for each mix, before cache discounts. Thinking tokens bill as output.

## What do GLM 5.2 and DeepSeek R1 cost per character in other languages?

Not measured: the [real cost by language dataset](https://broadrouter.com/data/real-cost-by-language/) covers only tokenizers we could measure from published files, and DeepSeek R1 is not among them. Count tokens on your own text with the counters below.

## Check it on your own traffic

-   [GLM 5.2 API pricing](https://broadrouter.com/llm-api-pricing/glm-5.2/): all 21 providers and other tiers.
-   [DeepSeek R1 API pricing](https://broadrouter.com/llm-api-pricing/deepseek-r1/): all 4 providers and other tiers.
-   [Cost calculator with GLM 5.2 and DeepSeek R1 preloaded](https://broadrouter.com/tools/llm-api-cost-calculator/?model=glm-5.2,deepseek-r1)
-   [GLM token counter](https://broadrouter.com/tools/glm-token-counter/)
-   [DeepSeek token counter](https://broadrouter.com/tools/deepseek-token-counter/)
-   [Prompt caching calculator](https://broadrouter.com/tools/prompt-caching-calculator/)

More comparisons: [GLM 5.3 vs GLM 5.2](https://broadrouter.com/llm-api-pricing/compare/glm-5.3-vs-glm-5.2/) · [GLM 5.2 vs GLM 5.1](https://broadrouter.com/llm-api-pricing/compare/glm-5.2-vs-glm-5.1/) · [GLM 5.3 vs DeepSeek R1](https://broadrouter.com/llm-api-pricing/compare/glm-5.3-vs-deepseek-r1/) · [DeepSeek R1 0528 vs DeepSeek R1](https://broadrouter.com/llm-api-pricing/compare/deepseek-r1-0528-vs-deepseek-r1/) · [every GLM 5.2 comparison](https://broadrouter.com/llm-api-pricing/compare/#m-glm-5.2) · [every DeepSeek R1 comparison](https://broadrouter.com/llm-api-pricing/compare/#m-deepseek-r1) · [all 662 price comparisons](https://broadrouter.com/llm-api-pricing/compare/)

## Questions

### Is GLM 5.2 cheaper than DeepSeek R1?

Yes. On a blend of 3 input tokens to 1 output token, GLM 5.2 costs USD 0.8719 per 1M tokens and DeepSeek R1 USD 0.92, at each model's cheapest standard price. For input alone, DeepSeek R1 is cheaper (USD 0.50 against USD 0.5625 per 1M); for output alone, GLM 5.2 is (USD 1.80 against USD 2.18). This compares price only, not quality.

### What do GLM 5.2 and DeepSeek R1 cost per 1M tokens?

GLM 5.2: from USD 0.5625 input and USD 1.80 output at DeepInfra (promotional); Z.ai's own API charges USD 1.40 / USD 4.40; median of 21 standard prices USD 1.40 / USD 4.40. DeepSeek R1: from USD 0.50 input and USD 2.18 output at GMI Cloud and 1 other; median of 4 standard prices USD 0.925 / USD 3.79. Each price is read from the provider's own pricing page; the source is linked in the table.

### Which providers sell both GLM 5.2 and DeepSeek R1?

3 providers have a standard price for both: SiliconFlow (USD 1.999 and USD 0.92 at 3:1), GMI Cloud (USD 2.15 and USD 0.92 at 3:1), Microsoft Azure (USD 2.365 and USD 2.363 at 3:1). The first is the lowest combined price. Buying each model from its own cheapest provider costs USD 0.8719 and USD 0.92.

### Which is cheaper for a coding agent or a chatbot, GLM 5.2 or DeepSeek R1?

For a coding agent (1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning): USD 474.53 a month on GLM 5.2 (DeepInfra) against USD 1,096 on DeepSeek R1 (GMI Cloud), a difference of USD 621.67. For a support chatbot (2,000 requests a day, 1,500 input tokens (60% cached), 300 output): USD 58.32 a month on GLM 5.2 (DeepInfra) against USD 84.24 on DeepSeek R1 (GMI Cloud), a difference of USD 25.92. Each uses the cheapest standard price for that workload, cached input included. [Try your own numbers](https://broadrouter.com/tools/llm-api-cost-calculator/?model=glm-5.2,deepseek-r1).

### At what input:output ratio does the cheaper of GLM 5.2 and DeepSeek R1 change?

The cheaper model changes with the mix: below 6.1 input tokens per output token, GLM 5.2 is cheaper; above 6.1, DeepSeek R1 is cheaper. At the site's 3:1 blend, GLM 5.2 is cheaper. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.

### Do GLM 5.2 and DeepSeek R1 have cached input pricing?

GLM 5.2 from USD 0.075 per 1M cached input tokens (Relace; 21 of 21 standard prices list a discount). DeepSeek R1: no standard price lists a cached-input discount. Cached tokens are billed at the input price where no cache price is published.

### Which has the larger context window, GLM 5.2 or DeepSeek R1?

GLM 5.2: up to 1,048,576 tokens, against 163,840 for DeepSeek R1, as stated on providers' pricing pages. Some providers offer less than the maximum; check the model pages before you pick the cheapest row for long prompts.

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-compare-glm-5.2-vs-deepseek-r1&utm_content=page-cta) ·

**Sources**

-   [DeepInfra: pricing (checked 2026-11-14)](https://deepinfra.com/zai-org/GLM-5.2)
-   [Relace: pricing (checked 2026-11-16)](https://relace.ai/pricing)
-   [Z.ai: own API pricing (checked 2026-11-14)](https://docs.z.ai/guides/overview/pricing)
-   [CoreWeave Forge: pricing (checked 2026-11-15)](https://coreweave.com/forge-pricing/inference-agents)
-   [GMI Cloud: pricing (checked 2026-11-15)](https://console.gmicloud.ai/model/llm/deepseek-r1/56f9685a-99a9-4e9e-9e03-1b7de29fc973)
-   [SiliconFlow: pricing (checked 2026-11-15)](https://www.siliconflow.com/pricing)
-   [GMI Cloud: pricing (checked 2026-11-15)](https://console.gmicloud.ai/model/llm/zai-org-glm-5-2-fp8/1f12423b-ac10-4690-a670-36f768d7b9bf)
-   [Microsoft Azure: pricing (checked 2026-11-14)](https://azure.microsoft.com/en-us/pricing/details/ai-foundry-models/fireworks/)
-   [Microsoft Azure: pricing (checked 2026-11-14)](https://azure.microsoft.com/en-us/pricing/details/ai-foundry-models/deepseek/)
-   [Doubleword: pricing (checked 2026-11-16)](https://docs.doubleword.ai/inference-api/models)
