Z AiTool use

Glm 5 Code pricing

Glm 5 Code appears on 1 price row here. Lowest input is $1.20 per million tokens from Z Ai. Lowest output is $5.00 per million tokens from Z Ai. Use the table and chart, then the calculator for your own volume.

200K context·1 provider·verified Apr 1, 2026
Best input$1.20per 1M tokens · Z Ai
Best output$5.00per 1M tokens · Z Ai

Pricing across providers

Use this table to read Glm 5 Code list prices. We show 1 source right now. Lowest input in the grid: Z Ai. The chart below the table helps when output prices are much higher than input prices.

ZA
Z Ainative
Input / 1M
$1.20
Output / 1M
$5.00
Cached in: $0.300

Input vs output · 1M tokens

Cost calculator

Use this block to stress test Glm 5 Code cost without a spreadsheet. All estimates come from public list rates in this page.

In: $1.20/M·Out: $5.00/M·Cache: $0.300/M

0.120000¢ / req

0.250000¢ / req

Daily
$37
Monthly
$1.1K
Annual
$13.5K

Model specifications

Quick spec sheet for Glm 5 Code before you dive back into pricing. Reported under Z Ai.

Context window
200,000 tokens
Max output
128,000 tokens
Vision (images)
No
Tool / function calling
Yes
Streaming
No
Released
N/A
Primary provider
Z Ai
Model family
N/A

Compare Glm 5 Code

Open a pair page to see Glm 5 Code next to another model with a shared provider matrix. 6 shortcuts below.

Frequently asked questions

Quick frequently asked items for Glm 5 Code pricing and limits.

Glm 5 Code costs $1.20 per million input tokens and $5.00 per million output tokens via the native API. Prompt caching reduces input costs to $0.30/M tokens.

Also from Z Ai

Other models by Z Ai with live pricing in our catalog.