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

Try Forge
Z.ai

GLM 5

Healthychatreasoningcodingagentictoolsmultilinguallong-contextserverless
Context
200K
Max output
128K
Speed
Balanced
Quality
Max
Released
2026-02-11
Input: / Output:
TextText

About this model

GLM 5 is Z.AI's frontier model for complex systems engineering and long-horizon agentic work. Text and code generation, multilingual chat (including Chinese and English), reasoning, question answering, summarization, and tool use.

Pricing

RateRODIUSD (ref.)Unit
Text tokens
In773.1~ 1.00per 1M tokens (RODI/M, USD/M)
Out2473.9~ 3.20per 1M tokens (RODI/M, USD/M)

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

Providers & pricing

ProviderInputOutputCachedFree tierStatus
AWS

AWS

Default

All rates (2)
  • In773.1 RODI/M
  • Out2473.9 RODI/M
773.12,474--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