Skip to content
Dashboard

GLM 5.2 Fast

GLM 5.2 Fast is a faster-serving variant of GLM-5.2, Z.ai's flagship long-horizon coding model, released June 23, 2026. Same weights and 1M tokens context, served on inference infrastructure tuned for higher throughput.

ReasoningTool UseImplicit Caching
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'zai/glm-5.2-fast',
prompt: 'Why is the sky blue?'
})

Frequently Asked Questions

  • How does GLM 5.2 Fast differ from GLM 5.2?

    GLM 5.2 Fast runs the same weights as glm-5.2 on inference infrastructure tuned for higher throughput, at different per-token rates. Output quality is identical; serving speed and price are the differences. See the live metrics on this page for current numbers.

  • How fast is GLM 5.2 Fast?

    Throughput varies by provider and load, so check the live throughput and latency metrics on this page for current numbers. Providers behind GLM 5.2 Fast run serving stacks tuned specifically for speed.

  • What is the context window for GLM 5.2 Fast?

    1M tokens.

  • Can I switch between GLM 5.2 Fast and GLM 5.2?

    Yes. Both share the same API surface through AI Gateway. Swap the model identifier between the two endpoints and nothing else in your integration needs to change.

  • Does GLM 5.2 Fast support reasoning?

    Yes. GLM 5.2 Fast inherits GLM-5.2's thinking toggle and reasoning effort levels, along with tool calling, structured output, and implicit caching.

  • What is the pricing for GLM 5.2 Fast?

    Check the pricing panel on this page for today's numbers. AI Gateway tracks rates across every provider that serves GLM 5.2 Fast.

  • Does GLM 5.2 Fast support Zero Data Retention?

    Yes, Zero Data Retention is available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.

  • How do I access GLM 5.2 Fast through AI Gateway?

    Use the zai/glm-5.2-fast model identifier with your AI Gateway API key via the AI SDK, the Chat Completions API, the Responses API, the Messages API, or other API formats. No separate Z.ai account is needed. BYOK is also supported.