BroadRouter

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).

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). Hy4 Preview is the 1st-closest-priced model from another maker to GLM 5.1 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-15), with no claim about quality, speed or accuracy.

How do GLM 5.1 and Hy4 Preview differ on price?

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.

GLM 5.1 and Hy4 Preview API prices compared
PriceGLM 5.1Hy4 Preview
Model pageGLM 5.1
Z.ai · 12 providers
Hy4 Preview
Tencent · 6 providers
Cheapest standard price, blended 3:1USD 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 inputUSD 0.90
Chutes source
USD 0.834 lower
DeepInfra source
Cheapest cached inputUSD 0.09
Chutes source
USD 0.042 lower
DeepInfra source
Cheapest outputUSD 2.90
Chutes source
USD 2.501 lower
DeepInfra source
Maker's own APIUSD 1.40 / USD 4.40
Z.ai source
Tencent publishes no paid standard price on its own API that we found.
Median standard priceUSD 1.40 / USD 4.40
input / output, 12 prices
USD 0.834 / USD 2.501
input / output, 6 prices
Context window204,800 tokens, largest stated; from 198,000 at some providers1,048,576 tokens, largest stated; from 262,144 at some providers
Providers with a standard price126

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).

Monthly cost of three workloads on GLM 5.1 and Hy4 Preview
WorkloadGLM 5.1Hy4 PreviewDifference
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.

Price per 1M tokens of GLM 5.1 and Hy4 Preview at different input:output mixes
Input : output tokensGLM 5.1Hy4 Preview
1 : 3 (long answers)USD 2.40
Chutes
USD 2.084 lower
DeepInfra
1 : 1USD 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

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