← Back to models
Z.ai logo

Z.ai

GLM 5.2

Specs

Input price
$1.4/M
Output price
$4.4/M
Context window
1,048.576K tokens

A 753B Mixture-of-Experts flagship from Z.ai with a 1M-token context window and frontier-class reasoning.

Capabilities

  • Long-horizon agentic workflows with multi-step reasoning chains
  • Repository-scale software engineering (up to 131,072 output tokens)
  • Advanced mathematical and logical deduction
  • Three selectable thinking modes: Standard, High, and Max

Best for

  • Autonomous agents and long-running workflows
  • Codebase-wide refactoring and deep debugging
  • Complex reporting and multi-document synthesis over long context

Limitations to keep in mind

  • Text-only - does not natively process images, charts, or scans
  • Token-hungry generation; tends to reason at length before answering
  • 753B parameters require substantial compute to self-host

HIPAA-compliant hosting

GLM 5.2 is available under our HIPAA-compliant design-partner program, with a signed Business Associate Agreement (BAA), encryption in transit and at rest, and access controls. We are currently onboarding design partners, with general availability coming soon. Run the model behind a unified OpenRouter-style API and swap to another model with a single parameter.

Pricing in context

Open source models like GLM 5.2 can be served efficiently on optimized inference infrastructure, with savings passed through to you. Exact savings depend on the model and your volume, but open source inference is typically a fraction of the per-token cost of closed-source frontier models on Azure OpenAI or AWS Bedrock - without cloud egress lock-in or minimum commitments.

Design partner program

Run GLM 5.2 under HIPAA

Join the waitlist to be prioritized. We'll reach out with a qualification call and early access.