Glm 5

Glm 5 is a text model from Z AI (Zhipu) with a context window of 200K tokens and max output of 128K tokens. Pricing starts at 1.00 per million input tokens and 3.20 per million output tokens (cheapest at OpenRouter).

Capabilities

Vision Function Calling Reasoning JSON Schema System Messages Web Search Prompt Caching Audio Input Audio Output

Specifications

Model Keyzai/glm-5
ProviderZ AI (Zhipu)
Provider IDzai
ModeText
Canonical Nameglm-5
Context Window200K tokens
Max Output128K tokens

Pricing

0
TypePer 1K TokensPer 1M Tokens
Input Tokens0.00101.00
Output Tokens0.00323.20
Cache Read (Input)0.0002000.200

Benchmarks

Intelligence Index49.8#5
Coding Index44.2#11
GPQA0.8#30
HLE0.3#11
IFBench0.7#18
Time to First Token0.74s#146
SciCode0.5#14
LCR0.6#28
TerminalBench Hard0.4#9
TAU21.0#2

Price Comparison by Provider

Compare prices for Glm 5 across different providers. The same model may be available through multiple providers at different price points.

Provider
Model Key
Input Price, $
Output Price, $
Z AI (Zhipu)zai/glm-51.003.20
Vertex AI (Z AI)vertex_ai/zai-org/glm-5-maas1.003.20
OpenRouteropenrouter/z-ai/glm-50.8002.56

All Variants

All available versions, regions, and API endpoints for Glm 5.

Model Key
Provider
Mode
Input Price, $
Output Price, $
Context
Max Output
Vision
Functions
openrouter/z-ai/glm-5OpenRouterText0.8002.56203K128Knoyes
vertex_ai/zai-org/glm-5-maasVertex AI (Z AI)Text1.003.20200K128Knoyes
zai/glm-5Z AI (Zhipu)Text1.003.20200K128Knoyes