LLM Reference
OpenRouter

GLM-4 32B on OpenRouter

GLM-4 · Tsinghua Knowledge Engineering Group (THUDM)

ServerlessOpen Source

Last refreshed 2026-05-19. Next refresh: weekly.

Why use GLM-4 32B on OpenRouter?

OpenRouter offers GLM-4 32B with pay-as-you-go pricing at $0.10/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.

Input / 1M
$0.10
Output / 1M
$0.10
Cache
Not sourced
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-32b
Model ID
z-ai/glm-4-32b

Request example

Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID z-ai/glm-4-32b.

Gotchas

  • Use provider model ID "z-ai/glm-4-32b", not the LLMReference slug "glm-4-32b".

Pricing

TypePrice (per 1M)
Input tokens$0.10
Output tokens$0.10

Capabilities

Structured Outputs

About GLM-4 32B

32B larger parameter model from Tsinghua University (THUDM). Released March 2025.

FAQ

What does GLM-4 32B cost on OpenRouter?

On OpenRouter, GLM-4 32B costs $0.1 per 1M input tokens and $0.1 per 1M output tokens.

What is the context window for GLM-4 32B on OpenRouter?

GLM-4 32B supports a 128k token context window on OpenRouter.

What API model ID do I use for GLM-4 32B on OpenRouter?

Use the model ID z-ai/glm-4-32b when calling OpenRouter's API.

Who created GLM-4 32B?

GLM-4 32B was created by Tsinghua Knowledge Engineering Group (THUDM) as part of the GLM-4 model family.

Is GLM-4 32B open source?

GLM-4 32B is open source according to the seed data.

Get Started

Model Specs

Released2025-03-05
Parameters32B
Context128k