90 days of the enterprise, pro and team plans free, no card needed. See the plans
Model comparison
Google's Gemini 4 Hydrogen against Z.ai's GLM 5.4: vendor list prices, limits, abilities and the Artificial Analysis indexes side by side - and what OpenSmartRoute does when both are available.
GLM 5.4 lists at $2.15 per million tokens blended against $3.00 for Gemini 4 Hydrogen - 1.4x less.
Gemini 4 Hydrogen scores 54 on the intelligence index against 42 - 12 points apart.
only GLM 5.4 offers open weights.
Vendor list prices per million tokens and published limits; indexes are Artificial Analysis composites (0-100).
| Specification | Gemini 4 Hydrogen | GLM 5.4 |
|---|---|---|
| Input price / 1M tokens | $1.50 | $1.40 |
| Output price / 1M tokens | $7.50 | $4.40 |
| Blended (3 in : 1 out) | $3.00 | $2.15 |
| Cached input / 1M | $0.07 | $0.26 |
| Context window | 1.0M | 1.0M |
| Max output | 944K | 944K |
| Input | audio, file, image, text, video | text, image, video |
| Output | text | text |
| Tool calls | ||
| Structured output | ||
| Reasoning | ||
| Open weights | ||
| Intelligence index | 54 | 42 |
| Coding index | - | - |
| Agentic index | - | - |
| Released | Nov 12, 2026 | Dec 2, 2026 |
| Available on this deployment |
List price times tokens for three typical workloads; your mix of input and output decides which model's pricing suits you.
| Workload | Gemini 4 Hydrogen | GLM 5.4 | Difference |
|---|---|---|---|
| Support chat20M tokens in, 5M out a month - a help desk answering a few thousand conversations. | $67.50 | $50.00 | $17.50 less on GLM 5.4 |
| Document summaries100M in, 5M out - long inputs, short answers. | $188 | $162 | $25.50 less on GLM 5.4 |
| Coding assistant60M in, 20M out - a team's editor assistant, output-heavy. | $240 | $172 | $68.00 less on GLM 5.4 |
GLM 5.4 takes the short and general requests - at $2.15 blended it is the default - and Gemini 4 Hydrogen the ones whose complexity or quality floor rules the cheaper model out. The split is per request, not per app, and every decision carries the scores for both.
# targets.yaml - both models as routing targets (metadata.model links each to the catalogue entry)
targets:
- { id: glm-5.4, kind: llm, metadata: { model: z-ai/glm-5.4 } }
- { id: gemini-4-hydrogen, kind: llm, metadata: { model: google/gemini-4-hydrogen } }
# rules.yaml - the cheaper model by default, the stronger one when the request is hard
rules:
- name: simple-requests-stay-cheap
when: { max_complexity: 0.45 }
prefer: [glm-5.4]
weight: 0.8
- name: hard-requests-escalate
when: { min_complexity: 0.45 }
prefer: [gemini-4-hydrogen]
weight: 0.8Every Google and Z.ai model, with prices, is on the vendor pages; the rankings show what the router actually picks.