Skip to content
FluxCDNFluxCDN
esc

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.

Input
218,624 Toman/M tokens
Output
795,928 Toman/M tokens
Context
131K
Max output
98K
Published
Jul 25, 2025
Maker
Z.ai

Free plan prices, in Toman at today's rate. Plans and prices

Price by plan

Toman per million tokens at today's rate. A plan lowers the price of your usage up to a limit each period.

PlanInputOutput
Free218,624795,928
Pro209,664763,308
Max200,704730,688

Capabilities

  • Text
  • Tools
  • JSON
  • Reasoning

What it takes and gives

Accepts
  • Text
Creates
  • Text

Call it

Pass z-ai/glm-4.5 as the model name, or let router/auto choose for you.

import os

from openai import OpenAI

client = OpenAI(
    base_url="https://ai.fluxcdn.cloud/api/v1",
    api_key=os.environ["FLUXCDN_API_KEY"],
)

resp = client.chat.completions.create(
    model="router/auto",
    messages=[{"role": "user", "content": "Hello"}],
)

print(resp.choices[0].message.content)