Z.ai GLM API: models and pricing

FastMetal serves 9 Z.ai GLM models through one OpenAI-compatible API key, billed per token from a prepaid balance. Change the base URL and key, and existing code calls them as is. The list also shows Z.ai GLM models we do not serve yet.

Sort by:

17 models

GLM 5.3 FlashX

glm-5.3-flashx
ZDR

GLM-5.3-FlashX is the high-speed variant of Z.ai's GLM-5.3-Flash, a native multimodal model delivering inference speeds of up to 200 tokens/s. Built on the same hybrid sparse and linear attention architecture...

Provider:z-ai logoz-ai
Pricing:$0.407 in · $1.38 out / 1M tokens
Context:1.0M tokens

GLM 5.3 Flash

glm-5.3-flash

GLM-5.3-Flash is a native multimodal model from Z.ai. It is suited for efficient coding and long-horizon agent tasks. Its hybrid sparse and linear attention architecture maintains accurate long-context behavior while...

Provider:z-ai logoz-ai
Pricing:$0.1583 in · $0.5275 out / 1M tokens
Context:1.3M tokens
Text Overall
#41

GLM 5.3

glm-5.3
Policy unknown

GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks. It supports text input and output with a 1M-token context window, and improves...

Provider:z-ai logoz-ai
Pricing:$1.48 in · $4.65 out / 1M tokens
Context:1.0M tokens

GLM 5.2

glm-5.2
Policy unknown

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Provider:z-ai logoz-ai
Pricing:$1.48 in · $4.65 out / 1M tokens
Context:1.0M tokens

GLM 5.1

glm-5.1
Policy unknown

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

Provider:z-ai logoz-ai
Pricing:$1.48 in · $4.65 out / 1M tokens
Context:205K tokens
Text Overall
#55

GLM 5V Turbo

z-ai/glm-5v-turbo

GLM-5V-Turbo is Z.ai’s first native multimodal agent foundation model, built for vision-based coding and agent-driven tasks. It natively handles image, video, and text inputs, excels at long-horizon planning, complex coding,...

Provider:z-ai logoz-ai
Pricing:Not on FastMetal yet
Context:203K tokens
Text Overall
#108

GLM 5 Turbo

z-ai/glm-5-turbo

GLM-5 Turbo is a new model from Z.ai designed for fast inference and strong performance in agent-driven environments such as OpenClaw scenarios.

Provider:z-ai logoz-ai
Pricing:Not on FastMetal yet
Context:203K tokens

GLM 5

glm-5
Policy unknown

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows.

Provider:z-ai logoz-ai
Pricing:$1.06 in · $3.38 out / 1M tokens
Context:205K tokens
Text Overall
#63

GLM 4.7 Flash

glm-4.7-flash

As a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances performance and efficiency. It is further optimized for agentic coding use cases, strengthening coding capabilities, long-horizon task planning, and tool collaborati…

Provider:z-ai logoz-ai
Pricing:$0.0684 in · $0.4555 out / 1M tokens
Context:203K tokens
Text Overall
#198

GLM 4.7

glm-4.7

GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution.

Provider:z-ai logoz-ai
Pricing:$0.422 in · $1.85 out / 1M tokens
Context:203K tokens
Text Overall
#93

GLM 4.6V

glm-4.6v
ZDR

GLM-4.6V is a large multimodal model designed for high-fidelity visual understanding and long-context reasoning across images, documents, and mixed media.

Provider:z-ai logoz-ai
Pricing:$0.33 in · $0.99 out / 1M tokens
Context:131K tokens
Text Overall
#187

GLM 4.6

z-ai/glm-4.6

Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex agentic tasks.

Provider:z-ai logoz-ai
Pricing:Not on FastMetal yet
Context:203K tokens
Text Overall
#123

GLM 4.6 (exacto)

z-ai/glm-4.6:exacto

Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex agentic tasks.

Provider:z-ai logoz-ai
Pricing:Not on FastMetal yet
Context:205K tokens

GLM 4.5V

z-ai/glm-4.5v

GLM-4.5V is a vision-language foundation model for multimodal agent applications. Built on a Mixture-of-Experts (MoE) architecture with 106B parameters and 12B activated parameters, it achieves state-of-the-art results in video understandin…

Provider:z-ai logoz-ai
Pricing:Not on FastMetal yet
Context:66K tokens
Text Overall
#211

GLM 4.5

z-ai/glm-4.5

GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications. It leverages a Mixture-of-Experts (MoE) architecture and supports a context length of up to 128k tokens.

Provider:z-ai logoz-ai
Pricing:Not on FastMetal yet
Context:131K tokens
Text Overall
#146

GLM 4.5 Air

z-ai/glm-4.5-air

GLM-4.5-Air is the lightweight variant of our latest flagship model family, also purpose-built for agent-centric applications. Like GLM-4.5, it adopts the Mixture-of-Experts (MoE) architecture but with a more compact parameter size.

Provider:z-ai logoz-ai
Pricing:Not on FastMetal yet
Context:131K tokens
Text Overall
#193

GLM 4.5 Air (free)

glm-4.5-air-free

GLM-4.5-Air is the lightweight variant of our latest flagship model family, also purpose-built for agent-centric applications. Like GLM-4.5, it adopts the Mixture-of-Experts (MoE) architecture but with a more compact parameter size.

Provider:z-ai logoz-ai
Pricing:Not on FastMetal yet
Context:131K tokens