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...

InputText
OutputText
Input / Outputclub$1.484 / $4.664per 1M tokens · USD
Context window204.8Ktoken
Maximum output128Ktoken

Pricing

Current model usage rates. Choose your plan to see its published prices.

Pricing
UsagePricing
InputUS$1.484/ 1M token
Cache readUS$0.2756/ 1M token
OutputUS$4.664/ 1M token

Membership and model usage are billed separately. Compare plans

Capabilities

Input
Text
Output
Text
Context window
204,800 token
Maximum output
128,000 token

Providers

Model supply available through Vecbase.

Via OpenRouter

Access is subject to your account’s permissions and model availability.

Frequently asked questions

What is GLM 5.1, and who develops it?

GLM 5.1 is a model from z-ai. Its model ID on Vecbase is 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...

How much does GLM 5.1 cost on Vecbase?

For GLM 5.1, the Club plan lists USD 1.484 per 1 million input tokens and USD 4.664 per 1 million output tokens, as of 10/17/2026, 6:18:11 PM UTC. See the pricing table for cache rates, input-length tiers and other usage types. Membership fees are separate.

How many tokens fit in GLM 5.1’s context window?

GLM 5.1 has a context window of 204,800 tokens. Input and output must fit within the limits of the API you use.

What is the maximum output length for GLM 5.1?

GLM 5.1 can generate up to 128,000 tokens per response. Your API or request settings may set a lower limit.

Can GLM 5.1 call tools in an agent workflow?

Yes. GLM 5.1 supports tool calling. Your application provides the tool definitions and runs the tools the model requests.

Does GLM 5.1 support structured outputs?

Yes. GLM 5.1 supports structured output. Set the required format in your API request and check the returned data before using it.

Which input and output formats does GLM 5.1 support?

GLM 5.1 accepts Text and produces Text.

Which providers make GLM 5.1 available through Vecbase?

Vecbase offers GLM 5.1 through OpenRouter. Availability may vary by provider.

Which model ID should an agent use to request GLM 5.1?

Use z-ai/glm-5.1 as the model identifier for GLM 5.1. See Vecbase’s API documentation for authentication, required inputs and supported request formats.

What does an agent need to access GLM 5.1 through Vecbase?

To use GLM 5.1, you need an authenticated account with the required permissions, sufficient balance and the relevant capability enabled. See the documentation for setup.

Is a release date available for GLM 5.1?

We do not yet have a confirmed release date for GLM 5.1.

Which models can I compare with GLM 5.1 on Vecbase?

You can compare GLM 5.1 with GLM 4.5 (z-ai/glm-4.5), GLM 4.5 Air (z-ai/glm-4.5-air), and GLM 4.5V (z-ai/glm-4.5v). Check their capabilities and prices to find the best fit for your task.