GLM-4.5-Air

Zhipu AIMCP Tool CallReasoning
zhipuai/glm-4.5-airOpen Weights

Lighter GLM-4.5 variant for fast coding assistance and cheaper agents

Benchmark Pricing$0.12 / 1M in$0.90 / 1M out$0.02 cache read
Context: 131,072 tokens•Max Output: 98,304 tokens•Knowledge: 2025-04•Released: 2025-07-28

TECHNICAL SPECIFICATIONS

Context Window131,072131.1K tokens
Max Output98,30498.3K tokens
LicenseOpen SourceSelf-hostable
Input Modalities
Text
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ GLM-4.5-Air natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 131,072 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

STANDARDIZED BENCHMARKS & EVALS

Artificial Analysis Coding Indexindex
23.8
SciCodepercent correct
30.6
Terminal-Bench Hardsuccess rate
20.5

API CALL INVOCATION EXAMPLE

// Example: Calling GLM-4.5-Air via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.ZHIPUAI_API_KEY,
});

const response = await client.chat.completions.create({
  model: "zhipuai/glm-4.5-air",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

14 providers
Zhipu AIglm-4.5-air
$0.12 / $0.90$0.02 cache
Novita AIzai-org/glm-4.5-air
$0.13 / $0.85$0.03 cache
LLM Gatewayembercloud/glm-4.5-air
$0.13 / $0.85$0.03 cache
Tempr Gatewayzai/glm-4.5-air
$0.20 / $1.10$0.03 cache
Vercel AI Gatewayzai/glm-4.5-air
$0.20 / $1.10$0.03 cache
Merge Gatewayzai/glm-4.5-air
$0.20 / $1.10$0.03 cache
Hugging Facezai-org/GLM-4.5-Air
$0.13 / $0.85
Z.AIglm-4.5-air
$0.20 / $1.10$0.03 cache
Kilo Gatewayz-ai/glm-4.5-air
$0.13 / $0.85$0.03 cache
ZenMuxz-ai/glm-4.5-air
$0.12 / $0.29$0.02 cache
DevPass (LLM Gateway)glm-4.5-airx
$1.10 / $4.50$0.22 cache
Impossiblzai/glm-4.5-air
$0.20 / $1.10$0.03 cache
OpenRouterz-ai/glm-4.5-air
$0.13 / $0.85$0.03 cache
OrcaRouterz-ai/glm-4.5-air
$0.20 / $1.10$0.03 cache

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.02 / 1M tokens, saving up to 80% on repetitive MCP tool definitions and system instructions.