Z.ai: GLM 5.1

z-ai/glm-5.1

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

Context window
204,800 tokens
Input
text
Output
text
Relay support
Text & documents

Reference prices & points

Our global markup: 15% · 1 USD = 10,000 points · Price version 0

Billing unitOpenRouter / USDOur reference / USDPoints
Input / 1M tokens$1.4$1.6116,100
Output / 1M tokens$4.4$5.0650,600
Cache read / 1M tokens$0.26$0.2992,990

Actual charge = the OpenRouter request cost × the markup locked for that request. Catalogue rates may be routing references; caching, long context, images and audio are charged when used. Listed prices do not mean every capability is available through this relay.

Catalogue time: 2026-11-12T00:10:48.385Z · Live catalogue

View all upstream price fields
{
  "prompt": "0.0000014",
  "completion": "0.0000044",
  "input_cache_read": "0.00000026"
}

Integration & availability

Use /v1/chat/completions for non-streaming, multi-turn conversations. Models marked for vision accept images; documents can be extracted to text in the workspace. Create a site API key and ensure you have enough points and the service is enabled. Provider availability, context and budget limits apply.

Read the API guide → · Back to model directory