ZeroTwo home

GLM 5

Default
Z.ai's GLM-5 is a foundation model designed for agentic engineering, aimed at complex system engineering and long-horizon agent tasks. Text in and out, with a 200K-token context window, a toggleable thinking mode, function calling, context caching and structured output.
Z.ai's GLM-5 is a foundation model designed for agentic engineering, aimed at complex system engineering and long-horizon agent tasks. Text in and out, with a 200K-token context window, a toggleable thinking mode, function calling, context caching and structured output.

GLM 5 is an AI model from Z.ai, available on ZeroTwo. It costs $1.00 per million input tokens and $3.20 per million output tokens, has a 200,000-token context window, can return up to 131,072 output tokens.

Price
$1.00$3.20
Input • Output

Z.ai's GLM-5 is a foundation model designed for agentic engineering, aimed at complex system engineering and long-horizon agent tasks. Text in and out, with a 200K-token context window, a toggleable thinking mode, function calling, context caching and structured output.

200,000 context window
131,072 max output tokens
Reasoning token support
Pricing
Pricing is based on the number of tokens used. For tool-specific models, like search and computer use, there's a fee per tool call. See details in the pricing page.
Text tokens
Per 1M tokens
Batch API price
Input
$1.00
Cached input
$0.20
Output
$3.20
Quick comparison
Input
Cached input
Output
GLM 5
$1.00

Questions

How much does GLM 5 cost?

GLM 5 is priced at $1.00 per million input tokens and $3.20 per million output tokens, with cached input at $0.20 per million. On ZeroTwo it is included in your plan's credits rather than billed per token.

What is GLM 5's context window?

GLM 5 accepts up to 200,000 tokens of context and can return up to 131,072 output tokens.

Can I use GLM 5 for free?

You can try GLM 5 on ZeroTwo's free plan, which includes a monthly credit allowance across every model in the catalogue. Heavier use moves to a paid plan rather than a per-token bill.