GLM 4.5 Air

zai/glm-4.5-air

A chat model with a 128K-token context window, at $0.21 per million input tokens and $1.155 per million output tokens.

Details

Maker
zai
Kind
Chat
Context window
128,000 tokens
Max output
96,000 tokens
Input
$0.21 per million tokens
Cached input
$0.0315 per million tokens, 85% off
Cache write
Same as input
Output
$1.155 per million tokens
Capabilities
Reasoning, tool use
Takes
Text
Returns
Text
Zero data retention
Not on every provider
No training on requests
Not on every provider
Released
2025-07-28
Newer model
zai/glm-5.3-flashReleased later by the same maker, costs no more, and lists the same capabilities. Compare the two

Description

GLM-4.5 and GLM-4.5-Air are our latest flagship models, purpose-built as foundational models for agent-oriented applications. Both leverage a Mixture-of-Experts (MoE) architecture. GLM-4.5 has a total parameter count of 355B with 32B active parameters per forward pass, while GLM-4.5-Air adopts a more streamlined design with 106B total parameters and 12B active parameters.

Call it

curl
curl https://phantom.codes/v1/chat/completions \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "zai/glm-4.5-air",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.