ZaiPaidOperational

Glm 5.2

API model name: glm-5.2

Glm 5.2 is Zai's chat model, served on the Api.Airforce unified API. It has a 1M-token context window. Capabilities include Tool calling, Reasoning, Prompt caching. It is priced at $0.85 per million input tokens and $2.88 per million output tokens. That is below the provider's $1.40 official input rate. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.

Pricing

Input / 1M tokens
$0.85
Output / 1M tokens
$2.88
Official input rate
$1.40
Official output rate
$4.40

Api.Airforce price vs. the provider's official rate.

Specifications

Provider
Zai
Type
chat model
Context window
1M tokens
Max output
262K tokens
Input
text
Output
text
Prompt caching
Supported

Capabilities

Tool callingReasoningPrompt cachingStreaming

What is Glm 5.2 used for?

  • Chatbots & assistants — conversational AI, drafting, summarizing and Q&A.
  • Agents & automation — function calling and tool use for multi-step workflows.
  • Complex reasoning — math, coding and step-by-step problem solving.
  • Long-context tasks — process entire documents or codebases in a single prompt.
  • Real-time experiences — stream tokens for responsive chat and apps.

Glm 5.2 vs. similar models

ModelIntelligenceContextInput / 1MOutput / 1M
Glm 5.21M$0.85$2.88
Glm 4.526.4$0.70$2.40
Glm 4.632.5205K$0.70$2.40
Glm 4.742.1205K$0.70$2.40

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

Related models

Glm 5.2 — frequently asked questions

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