Skip to main content

glm-5.4

GLM-5.4 is Z.ai's new flagship large language model, and the first built on the Loop Transformer architecture, achieving 2–3T-parameter-level intelligence with approximately 750B parameters. Vision capability returns to the flagship mainline: it accepts text and image inputs while outputting text, ushering in the era of "Generalized Coding" that extends programming to video production, game development, and 3D modeling. With a 1M-token context window and 128K-token maximum output, GLM-5.4 excels at long-horizon, complex tasks.

Inference Service Provider

The inference service provider for glm-5.4 is Alibaba Cloud Model Studio.

Model Capabilities

  • China (Beijing)
  • Singapore
  • Germany (Frankfurt)
  • US (Virginia)
  • Japan (Tokyo)
  • Hong Kong (China)
CapabilitySupportCapabilitySupport

Input Modality

Text Image

Output Modality

Text

Function Calling

Supported

Structured Outputs

Supported

Web Search

Unsupported

Prefix Completion

Supported

Context Caching

Supported

Batch Inference

Unsupported

Context Limits

ParameterValueParameterValue

Max Input Length

1048576

Max Output Length

131072

Context Window

1048576

Max Input Length (Thinking Mode)

1048576

Max Output Length (Thinking Mode)

131072

Max Chain-of-Thought Length

131072

Pricing

This page only shows the original pricing for model API calls, excluding any limited-time promotions. Visit Model Studio Console for promotional offers.
  • China (Beijing)
  • Singapore
  • Germany (Frankfurt)
  • US (Virginia)
  • Japan (Tokyo)
  • Hong Kong (China)
Billing ItemPrice (CNY)Unit

Input

8

Per 1M tokens

Output

28

Per 1M tokens

Input(Implicit Cache)

2

Per 1M tokens

Rate Limits

  • China (Beijing)
  • Singapore
  • Germany (Frankfurt)
  • US (Virginia)
  • Japan (Tokyo)
  • Hong Kong (China)
ParameterValue

RPM (Requests Per Minute)

5,000

TPM (Tokens Per Minute)

1,200,000