← All Models

Z.ai: GLM 5.1

🇨🇳 Z.ai (Zhipu) · GLM 5.1

Input Price $0.975 per million tokens NT$31.2
Output Price $4.30 per million tokens NT$138
Context Window 203K tokens
OpenRouter Route Price Please verify with official pricing pages
Use this model via OpenRouter →

Overview

Z.ai: GLM 5.1 is a large language model API from Z.ai (Zhipu), part of its GLM 5.1 model family. Priced at $0.975 per million input tokens and $4.30 per million output tokens, it occupies the mid-range, balancing capability against running cost. Output tokens cost about 4× as much as input, so prompt-heavy workloads run noticeably cheaper than generation-heavy ones. A large 203K-token context window (≈304 pages of text) lets it take in whole books, large codebases, or lengthy transcripts in a single call. On Artificial Analysis's Intelligence Index it scores 40 (B grade), a useful proxy for its general reasoning strength relative to the other models tracked here. All prices on this page reflect OpenRouter's routed rates and are re-synced automatically every day; confirm against the provider's official pricing before committing to production.

Dimension Unit Price (USD) Price (TWD) Effective From
Input per 1M tokens $0.975 NT$31.2
Output per 1M tokens $4.30 NT$138
Cached Input per 1M tokens $0.182 NT$5.8

Provider
Z.ai(智譜) (Z.ai (Zhipu))
Model Family
GLM 5.1
Version String
z-ai/glm-5.1
Status
Active
Modality
Text
Context Window
202,752 tokens
Output Limit
— tokens

Index Metrics

Cross-domain capability indexes evaluated by Artificial Analysis — Artificial Analysis

Agentic Index 30 C Measured: 2026-07-01
Coding Index 56 S Measured: 2026-07-01
Intelligence Index 40 B Measured: 2026-07-01

Benchmark Scores

Data source: Artificial Analysis

AA-LCR 62.3% B Measured: 2026-07-01
GPQA Diamond 86.8% S Measured: 2026-07-01
HLE 28.0% A Measured: 2026-07-01
IFBench 76.3% A Measured: 2026-07-01
Non-Hallucination 70.6% Measured: 2026-07-01
Omniscience Accuracy 24.2% Measured: 2026-07-01
SciCode 43.8% B Measured: 2026-07-01
Tau2 97.7% Measured: 2026-07-01
TerminalBench 43.2% Measured: 2026-07-01

Performance Metrics

Real-world benchmarks, updated every 72 hours by Artificial Analysis — Artificial Analysis

First Token Latency 1.5s Measured: 2026-07-01
Output Speed 61 t/s Measured: 2026-07-01
Response Time 71.7s Measured: 2026-07-01

Use Case Analysis

Model strengths, weaknesses, and ideal use cases based on benchmarks and official documentation

Strength

  • 8-Hour Continuous Autonomous Execution Can work continuously and autonomously on a single task for up to 8 hours, completing full loop from planning to delivery. Official
  • SWE-Bench Pro SOTA Achieves 58.4 on SWE-Bench Pro, surpassing GPT-5.4, Claude Opus 4.6, and Gemini 3.1 Pro. Official

Best For

  • Long-Horizon Autonomous Agents Building autonomous agents and long-horizon coding agents requiring sustained execution. Official
  • Complex Engineering Optimization Complex engineering optimization tasks with iterative refinement and closed-loop execution. Official

90-Day Price Trend

Input / Output price (USD per 1M tokens)

Past 90 days of records; every price change is shown here

Date Dimension Price (USD) Source
Output $4.30 OpenRouter
Input $0.975 OpenRouter
Output $4.30 OpenRouter
Input $0.975 OpenRouter
Cached Input $0.182 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.182 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.182 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.182 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.182 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.182 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.490 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.490 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.490 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.490 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.182 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.182 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.182 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.182 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.182 OpenRouter
Output $3.08 OpenRouter
Input $0.980 OpenRouter
Cached Input $0.182 OpenRouter

Key Insights

Key data points from this page for quick reference and citation.

  • Z.ai: GLM 5.1 Input price: $0.975/M tokens
  • Z.ai: GLM 5.1 Output price: $4.3/M tokens
  • Context window: 202,752 tokens
  • Provider: Z.ai (Zhipu)
  • Model family: GLM 5.1
  • Modalities: Text
  • Data source: OpenRouter, updated daily