LLM InfrastructureCommercial✦ Free Tier

Z.AI GLM API

Zhipu's pay-per-token API for the GLM model family

App Infrastructure

About

Standalone pay-per-token foundation model API for Zhipu's GLM family, led by GLM-5.2 (744B MoE, 1M context). Weights are MIT-licensed and open, giving teams a choice between the hosted API and self-hosting — the main Chinese-lab entry point in this catalog beyond DeepSeek.

Choose Z.AI GLM API when…

  • You want an open-weight model family with a hosted pay-per-token option
  • You're benchmarking against DeepSeek and want another frontier open-weights alternative
  • You need a free tier to prototype before committing to paid usage

Builder Slot

Where do your models actually run?Required for most stacks

LLM providers and inference servers — where the actual model computation happens

Dev Tools
Not applicable
App Infra
Required
Hybrid
Required

Other tools in this slot:

Stack Genome Detection

AIchitect's Genome scanner detects Z.AI GLM API in your project via these signals:

env vars
ZAI_API_KEY

Integrates with (1)

LiteLLMLLM Infrastructure

LiteLLM ships a GLM/Z.AI provider adapter, letting the GLM API be routed and load-balanced alongside every other model provider through one interface.

Add Z.AI's GLM models to a multi-provider LiteLLM setup without a separate SDK integration.

Compare →

Alternatives to consider (1)

Pricing

✦ Free tier available
GLM-4.5-FlashFree
GLM-5.2$1.40 / $4.40 per 1M tokens (in/out)

Pulse

● No incidents in the last 90 days

Badge

Add to your GitHub README

Z.AI GLM API on AIchitect[![Z.AI GLM API](https://www.aichitect.dev/badge/tool/z-ai-glm-api)](https://www.aichitect.dev/tool/z-ai-glm-api)

Explore the full AI landscape

See how Z.AI GLM API fits into the bigger picture — browse all 207 tools and their relationships.

Explore graph →