GLM 5.1 vs Hy4 Preview API pricing
Updated
GLM 5.1: USD 0.90 input, USD 2.90 output per 1M tokens (Chutes). Hy4 Preview: USD 0.834 input, USD 2.501 output per 1M tokens (DeepInfra and 4 others). At 3 input tokens per output token, GLM 5.1 costs 12% more than Hy4 Preview (USD 1.40 vs USD 1.251 per 1M).
How do GLM 5.1 and Hy4 Preview differ on price?
- Cheapest input price: Hy4 Preview USD 0.834 against USD 0.90 per 1M tokens, so GLM 5.1 costs 1.08× as much (8% more).
- Cheapest output price: Hy4 Preview USD 2.501 against USD 2.90 per 1M tokens, so GLM 5.1 costs 1.16× as much (16% more).
- Among the 201 indexed models, GLM 5.1 ranks 141st cheapest and Hy4 Preview 139th on the 3:1 blend.
- No input:output mix changes the answer: Hy4 Preview is cheaper at every mix before cache discounts.
- Both list cached-input discounts: GLM 5.1 at 12 standard prices of 12, from USD 0.09 (Chutes, 90% below that provider's input price); Hy4 Preview at 6 standard prices of 6, from USD 0.042 (DeepInfra, 95% below that provider's input price).
- Hy4 Preview states up to 1,048,576 tokens of context, 5.1× the 204,800 of GLM 5.1.
- GLM 5.1 has 12 providers with a standard price, 6 more than Hy4 Preview; 4 providers sell both (SiliconFlow, Novita AI, GMI Cloud and Venice).
- On one account, SiliconFlow charges USD 1.828 for GLM 5.1 (1.31× its cheapest price) and USD 1.251 for Hy4 Preview (its cheapest price) at 3:1, the lowest combined price among the providers that sell both.
- Shopping around matters more for GLM 5.1: its dearest standard price is 1.69× its cheapest, against 1.25× for Hy4 Preview.
- Z.ai's own API charges USD 2.15 for GLM 5.1 at 3:1, 54% above the cheapest provider (Chutes).
- For the one-developer coding agent preset, the gap is USD 1,526 a year in Hy4 Preview's favour (GLM 5.1 USD 641.70 a month, Hy4 Preview USD 514.53).
GLM 5.1 and Hy4 Preview 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.
| Price | GLM 5.1 | Hy4 Preview |
|---|---|---|
| Model page | GLM 5.1 Z.ai · 12 providers | Hy4 Preview Tencent · 6 providers |
| Cheapest standard price, blended 3:1 | USD 1.40 USD 0.90 in / USD 2.90 out at Chutes Chutes page checked 2026-11-15 | USD 1.251 lower USD 0.834 in / USD 2.501 out at DeepInfra and 4 others DeepInfra page checked 2026-11-14 |
| Cheapest input | USD 0.90 Chutes source | USD 0.834 lower DeepInfra source |
| Cheapest cached input | USD 0.09 Chutes source | USD 0.042 lower DeepInfra source |
| Cheapest output | USD 2.90 Chutes source | USD 2.501 lower DeepInfra source |
| Maker's own API | USD 1.40 / USD 4.40 Z.ai source | Tencent publishes no paid standard price on its own API that we found. |
| Median standard price | USD 1.40 / USD 4.40 input / output, 12 prices | USD 0.834 / USD 2.501 input / output, 6 prices |
| Context window | 204,800 tokens, largest stated; from 198,000 at some providers | 1,048,576 tokens, largest stated; from 262,144 at some providers |
| Providers with a standard price | 12 | 6 |
- Lower marks the lower price on a line; tie, equal prices. Other tiers and free rows are on the model pages.
Report a wrong price or number (email to info@broadnet.ai, with this page's link filled in).
What do GLM 5.1 and Hy4 Preview cost for a real workload?
30 days at each model's cheapest standard price for the workload (presets of the cost calculator; cached input at the cached price where listed).
| Workload | GLM 5.1 | Hy4 Preview | Difference |
|---|---|---|---|
| Support chatbot 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 89.46 Chutes | USD 77.31 DeepInfra | USD 12.15 Hy4 Preview lower |
| RAG over documents 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 201.18 Chutes | USD 180.65 DeepInfra | USD 20.53 Hy4 Preview lower |
| Coding agent (one developer) 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning | USD 641.70 Chutes | USD 514.53 DeepInfra | USD 127.17 Hy4 Preview lower |
Hy4 Preview is cheaper on all three workloads. The widest gap is on Coding agent (one developer): the dearer model costs 25% more than the cheaper one.
Does the cheaper model change with your input:output ratio?
Hy4 Preview is cheaper at every mix of input and output tokens, before cache discounts: its cheapest input price and its cheapest output price are both at or below GLM 5.1's, so the input:output ratio never changes the answer.
| Input : output tokens | GLM 5.1 | Hy4 Preview |
|---|---|---|
| 1 : 3 (long answers) | USD 2.40 Chutes | USD 2.084 lower DeepInfra |
| 1 : 1 | USD 1.90 Chutes | USD 1.667 lower DeepInfra |
| 3 : 1 (the site’s blend) | USD 1.40 Chutes | USD 1.251 lower DeepInfra |
| 10 : 1 (retrieval, long prompts) | USD 1.082 Chutes | USD 0.9855 lower DeepInfra |
| 30 : 1 (agents, big contexts) | USD 0.9645 Chutes | USD 0.8878 lower DeepInfra |
USD per 1M tokens at the cheapest standard provider for each mix, before cache discounts. Thinking tokens bill as output.
What do GLM 5.1 and Hy4 Preview cost per character in other languages?
Not measured: the real cost by language dataset covers only tokenizers we could measure from published files, and Hy4 Preview is not among them. Count tokens on your own text with the counters below.
Check it on your own traffic
- GLM 5.1 API pricing: all 12 providers and other tiers.
- Hy4 Preview API pricing: all 6 providers and other tiers.
- Cost calculator with GLM 5.1 and Hy4 Preview preloaded
- GLM token counter
- Token counter
- Prompt caching calculator
More comparisons: GLM 5.1 vs GLM 5 · GLM 5.2 vs GLM 5.1 · every GLM 5.1 comparison · every Hy4 Preview comparison · all 662 price comparisons
Questions
Is GLM 5.1 cheaper than Hy4 Preview?
No. On a blend of 3 input tokens to 1 output token, Hy4 Preview costs USD 1.251 per 1M tokens and GLM 5.1 USD 1.40, at each model's cheapest standard price. For input alone, Hy4 Preview is cheaper (USD 0.834 against USD 0.90 per 1M); for output alone, Hy4 Preview is (USD 2.501 against USD 2.90). This compares price only, not quality.
What do GLM 5.1 and Hy4 Preview cost per 1M tokens?
GLM 5.1: from USD 0.90 input and USD 2.90 output at Chutes; Z.ai's own API charges USD 1.40 / USD 4.40; median of 12 standard prices USD 1.40 / USD 4.40. Hy4 Preview: from USD 0.834 input and USD 2.501 output at DeepInfra and 4 others; median of 6 standard prices USD 0.834 / USD 2.501. Each price is read from the provider's own pricing page; the source is linked in the table.
Which providers sell both GLM 5.1 and Hy4 Preview?
4 providers have a standard price for both: SiliconFlow (USD 1.828 and USD 1.251 at 3:1), Novita AI (USD 2.135 and USD 1.251 at 3:1), GMI Cloud (USD 2.15 and USD 1.251 at 3:1), Venice (USD 2.365 and USD 1.563 at 3:1). The first is the lowest combined price. Buying each model from its own cheapest provider costs USD 1.40 and USD 1.251.
Which is cheaper for a coding agent or a chatbot, GLM 5.1 or Hy4 Preview?
For a coding agent (1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning): USD 641.70 a month on GLM 5.1 (Chutes) against USD 514.53 on Hy4 Preview (DeepInfra), a difference of USD 127.17. For a support chatbot (2,000 requests a day, 1,500 input tokens (60% cached), 300 output): USD 89.46 a month on GLM 5.1 (Chutes) against USD 77.31 on Hy4 Preview (DeepInfra), a difference of USD 12.15. Each uses the cheapest standard price for that workload, cached input included. Try your own numbers.
At what input:output ratio does the cheaper of GLM 5.1 and Hy4 Preview change?
Hy4 Preview is cheaper at every mix of input and output tokens, before cache discounts: its cheapest input price and its cheapest output price are both at or below GLM 5.1's, so the input:output ratio never changes the answer.
Do GLM 5.1 and Hy4 Preview have cached input pricing?
GLM 5.1 from USD 0.09 per 1M cached input tokens (Chutes; 12 of 12 standard prices list a discount). Hy4 Preview from USD 0.042 per 1M cached input tokens (DeepInfra; 6 of 6 standard prices list a discount). Cached tokens are billed at the input price where no cache price is published.
Which has the larger context window, GLM 5.1 or Hy4 Preview?
Hy4 Preview: up to 1,048,576 tokens, against 204,800 for GLM 5.1, 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.
Read as MarkdownAsk ChatGPTAsk ClaudeAsk Perplexity
Sources
- Chutes: pricing (checked 2026-11-15)
- Z.ai: own API pricing (checked 2026-11-14)
- DeepInfra: pricing (checked 2026-11-14)
- GMI Cloud: pricing (checked 2026-11-15)
- Hyperbolic: pricing (checked 2026-11-14)
- Novita AI: pricing (checked 2026-11-14)
- SiliconFlow: pricing (checked 2026-11-15)
- GMI Cloud: pricing (checked 2026-11-15)
- Venice: pricing (checked 2026-11-15)