TokenRate

GLM 5.1 Pricing

Balanced

Zhipu AI · 205K tokens context

GLM 5.1 from Zhipu AI costs $1.40 per 1 million input tokens and $4.40 per 1 million output tokens as of August 2026 (live OpenRouter data). The model supports a 204,800-token context window (approximately 153,600 words) with a 131K-token maximum output. A typical 1,000-token request costs $0.0014 in input charges; a 10,000-token request costs $0.0140.

GLM 5.1 pricing and capability summary
Input price$1.40 / 1M tokens
Output price$4.40 / 1M tokens
Output / input ratio3.1×
Context window204,800 tokens (~153,600 words)
Maximum output131,072 tokens
Cost per 1K tokens (input)$0.0014
TierBalanced
Last verified

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks.

Live pricing from OpenRouter

Input Price

$1.40

per 1 million tokens

Output Price

$4.40

per 1 million tokens

Context Window

205K tokens

max 131K output

Cost Examples

Request TypeTokensInput CostOutput Cost
1,000 word article1,333$0.00187$0.00176
10-page document (2,500 words)3,333$0.00467$0.0044
1,000 lines of code5,000$0.007$0.0066
100K token document100,000$0.14$0.132

Output cost estimated at 30% of input token count. Use the calculator for exact figures.

Strengths

  • Large 205K-token context window
  • Strong general-purpose performance
  • Strong general-purpose performance

Limitations

  • Quality and availability can vary by hosting provider
  • Quality and availability can vary by hosting provider

Best Use Cases

Customer-facing AI apps
Code generation and review
Content creation at scale
Conversational interfaces

Calculate GLM 5.1 Costs

Use the TokenRate calculator to convert any budget, token count, or text into exact GLM 5.1 costs — and compare across all models.

Open Calculator →

GLM 5.1 — FAQ

Related Models

Related Guides