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 $6.10 per million input tokens and $7.71 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
$6.10
Output / 1M tokens
$7.71
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.-44%

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$6.10$7.71
GLM 4 Airx$0.58$0.62
GLM 4 Flash$0.03$0.08
GLM 4 Long$0.08$0.12

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 $6.10 per 1M input tokens and $7.71 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.