90 days of the enterprise, pro and team plans free, no card needed. See the plans
Model comparison
Anthropic's Claude Opus 4.8 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 $10 for Claude Opus 4.8 - 4.7x less.
Intelligence index 42 against 42: within a point of each other.
GLM 5.4 reads 1.0M tokens at once, Claude Opus 4.8 1M.
only GLM 5.4 offers open weights.
GLM 5.4 was released about 6 months later.
Vendor list prices per million tokens and published limits; indexes are Artificial Analysis composites (0-100).
| Specification | Claude Opus 4.8 | GLM 5.4 |
|---|---|---|
| Input price / 1M tokens | $5.00 | $1.40 |
| Output price / 1M tokens | $25.0 | $4.40 |
| Blended (3 in : 1 out) | $10.0 | $2.15 |
| Cached input / 1M | $0.50 | $0.26 |
| Context window | 1M | 1.0M |
| Max output | 128K | 944K |
| Input | text, image, file | text, image, video |
| Output | text | text |
| Tool calls | ||
| Structured output | ||
| Reasoning | ||
| Open weights | ||
| Intelligence index | 42 | 42 |
| Coding index | 74 | - |
| Agentic index | 42 | - |
| Released | May 27, 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 | Claude Opus 4.8 | GLM 5.4 | Difference |
|---|---|---|---|
| Support chat20M tokens in, 5M out a month - a help desk answering a few thousand conversations. | $225 | $50.00 | $175 less on GLM 5.4 |
| Document summaries100M in, 5M out - long inputs, short answers. | $625 | $162 | $463 less on GLM 5.4 |
| Coding assistant60M in, 20M out - a team's editor assistant, output-heavy. | $800 | $172 | $628 less on GLM 5.4 |
The two measure the same on the intelligence index, so the router treats them as peers and lets price, observed latency and your outcomes decide: GLM 5.4 wins on cost, and a few bad outcomes on either move the next requests to the other.
# 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: claude-opus-4.8, kind: llm, metadata: { model: anthropic/claude-opus-4.8 } }
# 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: [claude-opus-4.8]
weight: 0.8Every Anthropic and Z.ai model, with prices, is on the vendor pages; the rankings show what the router actually picks.