Forge is available: build a website with AI from your RodiumAi account.

Try Forge
Z.ai

GLM-5.2

Healthychattools
Context
1M
Max output
-
Speed
Balanced
Quality
Standard
Released
2026-06-16
Input: / Output:
TextText

About this model

Flagship long-horizon coding LLM with usable 1M context and stronger end-to-end engineering execution. GLM-5.2 is Z.ai's flagship language model for long-horizon coding, agentic engineering, and sustained multi-step execution.

Pricing

RateRODIUSD (ref.)Unit
Text tokens
In606.1~ 0.800per 1M tokens (RODI/M, USD/M)
Out1931.7~ 2.55per 1M tokens (RODI/M, USD/M)
Prompt caching
Cached121.3~ 0.160per 1M tokens (RODI/M, USD/M)

RODI prices include RodiumAi markup and upstream fees. USD figures are wholesale reference rates.

Providers & pricing

ProviderInputOutputCachedFree tierStatus
Runware

Runware

Default

All rates (3)
  • In606.1 RODI/M
  • Out1931.7 RODI/M
  • Cached121.3 RODI/M
606.11,932121.3-No data

Capabilities

Streaming
Tool calling
Vision
JSON mode
Reasoning

API usage

Use the canonical slug with client.chat() or chat.completions.create().

Examples

…

Example response

…

Streaming

…

RodiumAi SDK

Official Python, JavaScript, and Laravel SDKs: flat API aligned with this model slug.

…

Use cases

  • Agentic coding and tool-using assistants.
  • Bilingual Chinese and English applications.
  • Long-form writing and summarisation.
  • Cost-sensitive chat at volume (Flash variants).

Notes

  • GLM (Z.ai) models answer on POST https://api.rodiumai.io/v1/chat/completions (OpenAI format), served through RodiumAi's cloud upstreams.
  • max_tokens and max_completion_tokens are both accepted. Leave generous room for thinking models: a few thousand tokens.
  • Thinking models can return their reasoning separately. Streaming deltas may include reasoning_content before the final content.
  • OpenAI-only fields such as n, seed or logit_bias are ignored. Streaming, tools and JSON mode depend on the Capabilities section.
View all