Skip to content

Z.ai: GLM 5.4

z-ai/glm-5.4New

GLM-5.4 is a reasoning model from Z.ai, built for coding, agents and long-horizon tasks.

Modalities
In / Out price
$0.55 / $1.70 per 1M

Providers

Served through third-party providers: text only, with no cache discount; output charges respect the request’s explicit token limit. Tools, images, audio, files and coding agents are not accepted. The row under the price is the Market price for the same units, for comparison.

ProviderInput /MOutput /M
AZRouter$0.55$1.70
Market price——

Pricing

What a unit of this model costs at AZRouter, next to the Market price.

Input price

$0.55

/M tokens

Output price

$1.70

/M tokens

  • Input /M tok

    Market price
    n/a
    AZRouter
    $0.55
  • Output /M tok

    Market price
    n/a
    AZRouter
    $1.70

Text-only requests, no cache discount.

This price covers text-only requests, served through third-party providers. Cached input tokens are billed at the input price above. Output charges are capped at the max_tokens you set. Requests with tools, images, audio or files, or from a coding agent such as Claude Code or Codex, are refused with a 400. Tools and coding-agent text can use this lower price when you enable “Cheaper routing for tools and coding agents” on your API key and the partner passes our tool checks. Media and stateful requests keep standard routing. How this price works

Market price, not confirmed as the maker's own, checked . You are billed the AZRouter price from prepaid credits.

Each request's total is rounded to the nearest $0.000002 (halves up), so it can differ from the per-unit math by up to $0.000001. How rounding works

Prices follow upstream cost and may change without notice.

Price history

What GLM 5.4 has cost at AZRouter, day by day, in US dollars. Pick a range; hover or use the arrow keys to read a day, or compare it with other models.

Outputper 1M output tokens
$1.700%90D
Inputper 1M input tokens
$0.550%90D

Price tracked since Nov 29, 2026. Each day shows its closing price (UTC).

Frequently asked questions

What is GLM 5.4?

GLM-5.4 is a reasoning model from Z.ai, built for coding, agents and long-horizon tasks.

How much does GLM 5.4 cost?

On AZRouter, GLM 5.4 costs $0.55 per million input tokens and $1.70 per million output tokens for text-only requests, paid from prepaid credits. Every unit it bills by is under Pricing.

What inputs and outputs does GLM 5.4 support?

GLM 5.4 takes text input and returns text.

More models from Z.ai