Z.aiPaidOperational

GLM 5

API model name: glm-5

GLM 5 is Z.ai's chat model, served on the Api.Airforce unified API. It has a 200K-token context window. Beyond text, it accepts image as input. Capabilities include Vision, Tool calling. It is priced at $0.95 per million input tokens and $3.15 per million output tokens. That is below the provider's $1.00 official input rate. Knowledge cutoff: 2025-10. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.

Pricing

Input / 1M tokens
$0.95
Output / 1M tokens
$3.15
Cache read / 1M tokens
$0.10
Official input rate
$1.00
Official output rate
$3.20

Api.Airforce price vs. the provider's official rate.-5%

Specifications

Provider
Z.ai
Type
chat model
Context window
200K tokens
Max output
16K tokens
Knowledge cutoff
2025-10
Input
text, image
Output
text

Capabilities

VisionTool callingStreaming

Benchmarks

Independent evaluations and measured speed from Artificial Analysis.

Measured atSame model, different reasoning effort.
Intelligence Index
40.6/100
GPQA Diamond82%
Humanity's Last Exam29%
SciCode46%
τ²-bench98%
Terminal-Bench Hard43%
LCR71%

GLM-5 (Reasoning) · 33.2–40.6

Source: Benchmark data by Artificial Analysis (artificialanalysis.ai)

What is GLM 5 used for?

  • Chatbots & assistants — conversational AI, drafting, summarizing and Q&A.
  • Image understanding — analyze photos, screenshots, charts and scanned documents.
  • Agents & automation — function calling and tool use for multi-step workflows.
  • Long-context tasks — process entire documents or codebases in a single prompt.
  • Real-time experiences — stream tokens for responsive chat and apps.

GLM 5 vs. similar models

ModelIntelligenceContextInput / 1MOutput / 1M
GLM 540.6200K$0.95$3.15
GLM 4$5.58$5.62
GLM 4 Airx$0.58$0.62
GLM 4 Flash$0.04$0.14

Prices are Api.Airforce pay-as-you-go rates per 1M tokens. Context is the maximum input length.

Related models

GLM 5 — frequently asked questions

How much does GLM 5 cost?
GLM 5 is billed pay-as-you-go at $0.95 per 1M input tokens and $3.15 per 1M output tokens. There is no subscription — you only pay for what you use.
What is the context window of GLM 5?
GLM 5 supports a context window of up to 200K tokens. It can return up to 16K tokens in a single response.
What can GLM 5 do?
GLM 5 supports Vision, Tool calling.
Is GLM 5 free to use?
GLM 5 is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
How do I use GLM 5 via the API?
GLM 5 is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID glm-5 with your Api.Airforce API key.
Who makes GLM 5?
GLM 5 is Z.ai's chat model, served through the unified Api.Airforce gateway alongside 100+ other models.