GLM-5

z-ai/glm-5 by z-ai

A 744B mixture of experts activating 40B per token, pretrained on 28.5T tokens with DeepSeek sparse attention.

GLM-5 activates 40B of 744B parameters per token and raised pretraining from GLM-4.7's 23T tokens to 28.5T. It adopts DeepSeek Sparse Attention, an architectural borrowing that reduces the cost of long sequences. Like the rest of the GLM line it is MIT licensed, which is permissive by the standards of models at this scale.

Specifications

Context window
202,752 tokens
Max output
131,072 tokens
Input
text
Output
text, code
Function calling
Supported
Providers
1 (0 EU-sovereign)

Providers, pricing and carbon

GLM-5 across providers. Prices in EUR per 1M tokens; carbon in gCO₂e per 1M tokens in the provider's lowest-carbon region.
ProviderEU-sovereignInput €/1MOutput €/1MgCO₂e/1M tokensRegions
aws-bedrockNo€0.9277€2.9686366Australia, Brazil, United Kingdom, India, Japan, Sweden, US - Virginia, US - Ohio, US - Oregon