Z.ai: GLM 4.5 Air

glm-4.5-air

GLM 4.5 Air costs $0.169 per million input tokens and $1.10 per million output tokens, supports 128K context, and is available through the OpenAI-compatible API.

GLM-4.5-Air is a 106B total / 12B active parameter model designed to unify frontier reasoning, coding, and agentic capabilities. On the SWE-bench Verified benchmark, it delivers the best performance at its scale with a competitive performance-to-cost ratio.

Modalities

Text → Text

Input / output price

$0.169 / $1.10 per 1M

Context

128K · max output 98K

Capabilities

Tool callingOpen weights

Pricing

Billed per token actually used and deducted from your credits.

ItemUSD per 1M tokens
Input$0.169
Output$1.10
Cached input$0.0325

Calculator

Drag the sliders to estimate what this model will cost.

Per request
$0.00139
Per day
$0.6955
Per month (30 days)
$20.87

GLM 4.5 Air: input $0.169/M · output $1.105/M · cached input $0.0325/M

Request with these settings
curl https://api.geniusrelaygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "glm-4.5-air", "max_tokens": 800,
       "messages": [{"role": "user", "content": "…"}]}'

Code samples

OpenAI-compatible. Set the base URL to https://api.geniusrelaygpt.com/v1 and the model to glm-4.5-air.

curl https://api.geniusrelaygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-4.5-air",
    "stream": true,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Use it in a client: Cursor · Cline · SillyTavern · Codex

Parameters

Common OpenAI parameters can be passed as-is.

temperaturetop_pmax_tokensstreamstoppresence_penaltyfrequency_penaltyseed

FAQ

How is GLM 4.5 Air billed?
Input is $0.169 and output is $1.10 per million tokens; cached input is $0.0325. The charge for every request is listed in Usage Logs in the console.
How long is the context window?
128K tokens. In a long conversation every turn is billed for the full input, so keep the history under control.
Does it support streaming?
Yes. Add "stream": true to the request to receive server-sent events in the OpenAI format.
GLM 4.5 Air API pricing · GeniusRelay