All models

GLM 5 Code

Z.ai200K contextReasoningTool calling

Official price from Z.ai

Pricing page

Per million tokens

Input
$1.20
Output
$5.00
Cached input
$0.30
Batch input / output
—
  • Writing to the prompt cache costs $0 per million tokens.
  • Up to 128K output tokens per request.

Estimate your monthly cost

Est. per month = input tokens × input price + output tokens × output price. Prices are per million tokens, so 10M input tokens at $3.00 cost $30.

From Z.ai: $22.00 a month.

Where to buy it (1)

Sorted by your monthly estimate. Prices per million tokens.

  • Z.aiOfficial

    Input / output
    $1.20 / $5.00
    Context
    200K
    Per month
    $22.00

    zai/glm-5-code

Cloud and hosted sellers may add regional pricing, minimums or platform fees. Supports: Reasoning, Tool calling.

Similar models

About this data

Prices come from LiteLLM's model cost map (MIT licence), checked Oct 14, 2026; confirm on the seller's pricing page before you rely on a number.