Last refreshed 2026-06-15. Next refresh: weekly.
Why use GLM 4.7 on OpenRouter?
OpenRouter offers GLM 4.7 with pay-as-you-go pricing at $0.60/1M input tokens. OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.
Compare GLM 4.7 across 8 providers to find the best fit for your use caseInput / 1M
$0.60
Output / 1M
$2.20
Cache
read $0.11
Batch
Not sourced
Setup recipe
Docs fallbackInstall
Use the provider REST API or SDKAuth
Create a provider API keyCall
model: z-ai/glm-4.7Model ID
z-ai/glm-4.7Request example
Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID
z-ai/glm-4.7.Gotchas
- Use provider model ID "z-ai/glm-4.7", not the LLMReference slug "glm-4.7".
Compare GLM 4.7 Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| GCP Vertex AI | $0.60 | $2.20 |
| NVIDIA NIM | — | — |
| OpenRouter | $0.60 | $2.20 |
| Fireworks AI | $0.60 | $2.20 |
| Vercel AI Gateway | $2.25 | $2.75 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.60 |
| Output tokens | $2.20 |
Capabilities
JSON / Tool useStructured OutputsCode Execution
About GLM 4.7
GLM-4.7 is Z.ai's flagship text model featuring enhanced programming capabilities and deeper reasoning at 200K context, succeeding GLM-4.6.
Get Started
Model Specs
Released2026-03-01
Parameters358B (32B active)
Context200K
ArchitectureDecoder Only