Skip to content

glm-5-code pricing

Chat

glm-5-code · Z.ai · context —

Price per 1M tokens

In effect since Oct 15, 2026

glm-5-code token prices
Input (uncached)$1.20
OutputIncludes reasoning tokens$5.00
Cache read$0.30
Cache write (5 minutes)$0
  • No long-context tier: one rate for every prompt size.

Price history

1 version since Oct 15, 2026

  • Input
  • Output
Show data as table
glm-5-code price history per 1M tokens
Effective fromInput / 1MOutput / 1M
Oct 15, 2026$1.20$5.00
Oct 16, 2026$1.20$5.00

Cost calculator

Calculated with the same function that AI Cost Map uses for your real events.

Includes reasoning tokens.

Read from the prompt cache.

Cost per call

$0.0049

Cost per month

$490.00

Similar models

Same model type, nearest blended price (3 input : 1 output).

Similar models compared with glm-5-code
ModelInputOutputContextBlended vs this
glm-5-code (this model)
Z.ai
$1.20$5.00——
glm-5.1
Alibaba Qwen
$1.40$4.40—× 1.0
glm-5.2
Alibaba Qwen
$1.40$4.40—× 1.0
accounts/fireworks/models/glm-5p1
Fireworks AI
$1.40$4.40—× 1.0
accounts/fireworks/models/glm-5p3
Fireworks AI
$1.40$4.40—× 1.0
accounts/fireworks/routers/glm-latest
Fireworks AI
$1.40$4.40—× 1.0
zai-org/glm-5.2-maas
Google Vertex AI
$1.40$4.40—× 1.0