GLM 4.7 on OpenRouter

GLM-4 · Zhipu AI

ServerlessOpen Source

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 case
Input / 1M
$0.60
Output / 1M
$2.20
Cache
read $0.11
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: z-ai/glm-4.7
Model ID
z-ai/glm-4.7

Request 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

ProviderInput (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
View all 8 providers →

Pricing

TypePrice (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