GLM-5.1: API pricing, context window and capabilities

Prices from official vendor price lists · October 2026

GLM-5.1 costs $1.4 per 1M input tokens and $4.4 per 1M output tokens, with a 200K context window. Mid-priced: dearer than 71% of this rating, with GLM 5V Turbo as the nearest cheaper Z.ai option. Recorded for reasoning, free tier, open weights.

Capabilities
Text & chatReasoningTool calling
API $/1M (in / out)
$1.4 / $4.4
Context window
200K tokens
Price / mo
API only

GLM-5.1 is an AI model from Z.ai, priced at $1.4 input and $4.4 output per 1M tokens. That places it in the mid tier of this rating — dearer than 71% of the 205 priced models listed.

It holds 200K tokens in a single conversation. Capabilities recorded in this rating: text & chat, reasoning, tool calling, structured JSON output, prompt caching. Access is through the API rather than a consumer subscription.

API price$1.4 / $4.4per 1M tokens, in / out
Context200K tokenstokens per conversation
VendorZ.aiall models from this vendor
TierMiddearer than 71% of models

Cost calculator

Standard$3.65AED 13 per month
With batch −50%$1.83AED 7 per month
With caching on input$3.34AED 12 per month
Standard$36.50AED 134 per month
With batch −50%$18.25AED 67 per month
With caching on input$33.35AED 122 per month
Standard$183AED 670 per month
With batch −50%$91.25AED 335 per month
With caching on input$167AED 612 per month
Standard$730AED 2,681 per month
With batch −50%$365AED 1,340 per month
With caching on input$667AED 2,450 per month

Assumes a 1:3 input-to-output ratio, which is typical for chat and generation. Dirham figures use 3.6725 per dollar. Batch and caching discounts apply where the vendor offers them.

Compared with alternatives

Good and poor fit

Good fit
  • Multi-step analysis, planning and code review, where the first plausible answer is often wrong.
  • General text generation and conversation across languages.
Poor fit
  • Anything requiring image input — this model does not accept it.

Related filters

Text & chat234 models for text generation and chat
Reasoning175 models that think before answering
Tool calling172 models that call your functions
Prompt caching153 models with cheap repeated context
Batch API146 models with half-price async processing
Z.ai12 models from this vendor
All 245 modelsThe full rating with filters and prices

Frequently asked questions

How much does GLM-5.1 cost?

$1.4 / $4.4 per 1M tokens, input and output. In dirhams that is roughly AED 5.14 per 1M input tokens. Batch processing halves it where the vendor offers it.

What is the context window of GLM-5.1?

200K tokens in a single conversation.

What can GLM-5.1 do?

In this rating it is recorded with: text & chat, reasoning, tool calling, structured JSON output, prompt caching, batch API, free tier, multilingual, open weights.

Is GLM-5.1 a good choice?

It depends on the job. See the good-fit and poor-fit lists above, and compare against the neighbouring models before committing.

Frequently searched

Ratings 0

Avg. score 0

Rate this page

Help us improve