Glm 5 Code

Glm 5 Code 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.20 per million input tokens and 5.00 per million output tokens.

Capabilities

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

Specifications

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

Pricing

0
TypePer 1K TokensPer 1M Tokens
Input Tokens0.00121.20
Output Tokens0.00505.00
Cache Read (Input)0.0003000.300

Benchmarks

Intelligence Index40.6#28
Coding Index39.0#19
GPQA0.7#77
HLE0.1#65
IFBench0.6#39
Time to First Token0.92s#156
SciCode0.4#46
LCR0.4#70
TerminalBench Hard0.4#15
TAU21.0#3