90 days of the enterprise, pro and team plans free, no card needed. See the plans
Model comparison
DeepSeek's DeepSeek V3.1 Terminus against Z.ai's GLM 4.7 Flash: vendor list prices, limits, abilities and the Artificial Analysis indexes side by side - and what OpenSmartRoute does when both are available.
GLM 4.7 Flash lists at $0.145 per million tokens blended against $0.453 for DeepSeek V3.1 Terminus - 3.1x less.
Intelligence index 15 against 15: within a point of each other.
GLM 4.7 Flash reads 200k tokens at once, DeepSeek V3.1 Terminus 164k.
GLM 4.7 Flash was released about 4 months later.
Vendor list prices per million tokens and published limits; indexes are Artificial Analysis composites (0-100).
| Specification | DeepSeek V3.1 Terminus | GLM 4.7 Flash |
|---|---|---|
| Input price / 1M tokens | $0.27 | $0.06 |
| Output price / 1M tokens | $1.00 | $0.40 |
| Blended (3 in : 1 out) | $0.45 | $0.15 |
| Cached input / 1M | - | - |
| Context window | 164K | 200K |
| Max output | 147K | 118K |
| Input | text | text |
| Output | text | text |
| Tool calls | ||
| Structured output | ||
| Reasoning | ||
| Open weights | ||
| Intelligence index | 15 | 15 |
| Coding index | 44 | - |
| Agentic index | 7 | - |
| Released | Sep 22, 2025 | Jan 19, 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 | DeepSeek V3.1 Terminus | GLM 4.7 Flash | Difference |
|---|---|---|---|
| Support chat20M tokens in, 5M out a month - a help desk answering a few thousand conversations. | $10.40 | $3.21 | $7.19 less on GLM 4.7 Flash |
| Document summaries100M in, 5M out - long inputs, short answers. | $32.00 | $8.05 | $23.95 less on GLM 4.7 Flash |
| Coding assistant60M in, 20M out - a team's editor assistant, output-heavy. | $36.20 | $11.63 | $24.57 less on GLM 4.7 Flash |
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 4.7 Flash 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-4.7-flash, kind: llm, metadata: { model: z-ai/glm-4.7-flash } }
- { id: deepseek-v3.1-terminus, kind: llm, metadata: { model: deepseek/deepseek-v3.1-terminus } }
# 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-4.7-flash]
weight: 0.8
- name: hard-requests-escalate
when: { min_complexity: 0.45 }
prefer: [deepseek-v3.1-terminus]
weight: 0.8