Z.aiPaidOperational

GLM 4

API model name: glm-4

GLM 4 is Z.ai's chat model, served on the Api.Airforce unified API. It is priced at $5.58 per million input tokens and $5.62 per million output tokens. That is below the provider's $13.89 official input rate. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.

Pricing

Input / 1M tokens
$5.58
Output / 1M tokens
$5.62
Cache read / 1M tokens
$0.01
Official input rate
$13.89
Official output rate
$13.89

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

Specifications

Provider
Z.ai
Type
chat model

What is GLM 4 used for?

  • Chatbots & assistants — conversational AI, drafting, summarizing and Q&A.

GLM 4 vs. similar models

ModelIntelligenceContextInput / 1MOutput / 1M
GLM 4$5.58$5.62
GLM 4 Airx$0.58$0.62
GLM 4 Flash$0.04$0.14
GLM 4 Long$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 4 — frequently asked questions

How much does GLM 4 cost?
GLM 4 is billed pay-as-you-go at $5.58 per 1M input tokens and $5.62 per 1M output tokens. There is no subscription — you only pay for what you use.
What can GLM 4 do?
GLM 4 is Z.ai's chat model, accessible through the Api.Airforce API.
Is GLM 4 free to use?
GLM 4 is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
How do I use GLM 4 via the API?
GLM 4 is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID glm-4 with your Api.Airforce API key.
Who makes GLM 4?
GLM 4 is Z.ai's chat model, served through the unified Api.Airforce gateway alongside 100+ other models.