GLM 5 API Pricing Calculator & Benchmarks

GLM-5 is Z.ai’s open-weight frontier model for complex systems engineering, long-horizon reasoning, autonomous coding, agentic workflows, and technical knowledge work.

GLM 5 is a coding model from Z.ai, released 11 February 2026. It pairs a 204,800-token context window with up to 128,000 tokens of output, accepting text and returning text. Step-by-step reasoning is supported. It costs $1.00 per million input tokens through Z.ai.

Last updated Dec 4, 2026

Never miss an AI pricing or launch update

Get notified about new model launches, pricing changes, provider updates, deprecations, and cost-saving insights.

🔒 We respect your privacy. Unsubscribe anytime.

Model Details

Released
Feb 11, 2026
Context Length
204,800
Max Output
128,000
Modalities
Text → Text
Capabilities
Tool use Structured outputs Prompt caching Open weights

Where is GLM 5 a perfect fit?

GLM-5 is Z.ai’s frontier open-weight reasoning model, built for complex systems engineering and long-horizon agents, combining large-scale MoE architecture with efficient sparse attention for extended tasks. Below are the places where GLM-5 can be a perfect fit:
- Complex software engineering
- Long-running autonomous coding agents
- Large codebase analysis and refactoring
- Multi-step technical investigations
- Agentic tool-use workflows
- Systems engineering
- Long-horizon planning
- Technical research and knowledge work
- Document and spreadsheet generation
- Self-hosted frontier-model deployments
Z.ai specifically designed GLM-5 to move beyond short coding interactions toward agentic engineering, where the model can plan, execute, evaluate, and iterate on complex software tasks. It supports generating finished .docx, .pdf, and .xlsx deliverables as well.

Quick Model Estimate

(USD 1.0000 per 1M tokens)
(USD 3.2000 per 1M tokens)

Your GLM 5 Cost Estimate

💰 Total Cost

—

for 1000 input + 1000 output tokens

📥 Input (1000 × $1.000000) —
📤 Output (1000 × $3.200000) —

Cost Breakdown

📥 Input 📤 Output

Prices are watched for changes and checked against the provider's own page.

Pricing

Provider ↕
Modality ↕
Service Tier ↕
Input Price
(per 1M tokens)
↕
Output Price
(per 1M tokens)
↕
Cached Input
(per 1M tokens)
↕
Context Size ↕
View
Z.ai LogoZ.aiTextStandard$1.0000$3.2000$0.2000204,800 tokens→

Benchmarks

Scores from standardized evaluations by Artificial Analysis and Design Arena. Higher is better — the indices summarize overall ability, while the detailed scores break down performance on individual benchmarks.

Artificial Analysis

Higher is better · benchmarked by Artificial Analysis
Detailed scores
—
Intelligence Index
Overall intelligence across reasoning, knowledge & math evals
—
Coding Index
Coding ability across software-engineering evals
—
Agentic Index
Tool use & multi-step agent task performance
Reasoning
Humanity's Last Exam 7.6%

Expert-level questions across many academic domains

IFBench 55.2%

Precise following of detailed instructions

CritPt 0%

Unpublished physics research reasoning problems

Coding
Terminal-Bench Hard 39.4%

Complex command-line and terminal workflows

All variants
Variant Humanity's Last Exam IFBench Terminal-Bench Hard CritPt
GLM-5 (Non-reasoning) 7.6% 55.2% 39.4% 0%
GLM-5 (Reasoning) 29.3% 72.3% 43.2% 2%

Design Arena

Elo rating by arena & category
Variant Arena Category Elo Win % Percentile Avg time (ms)
glm-5 agents androidnative 1,136 55% 29 39,002,632
glm-5 agents fullstack 1,169 51.7% 32 58,603,567
glm-5 agents godotgamedev 1,144 46.7% 50 —
glm-5 agents htmlslides 1,048 45.1% 20 573,463
glm-5 agents mobileapps 1,124 51.7% 22 16,808,941
glm-5 models 3d 1,193 56.3% 65 134,699
glm-5 models asciiart 1,126 47.5% 35 83,214
glm-5 models codecategories 1,288 55.5% 70 196,929
glm-5 models dataviz 1,221 53% 65 150,209
glm-5 models gamedev 1,206 57.4% 70 189,419
glm-5 models svg 1,208 54.4% 57 57,008
glm-5 models uicomponent 1,213 53.6% 62 161,492
glm-5 models website 1,288 54.9% 68 232,366

Compare GLM 5 with

Two models side by side: worked costs, every rate, and every benchmark figure both of them report.

Nemotron-3.5 Super-120b-a12b NVIDIA Full comparison → GPT-5.4 OpenAI Full comparison → GPT-5.6 Luna OpenAI Full comparison → GPT-5.4 Nano OpenAI Full comparison → GPT-5.4 Mini OpenAI Full comparison →

Every comparison we publish →

FAQs about GLM 5

How much does GLM 5 cost per 1M tokens?

GLM 5 costs $1.00 per million input tokens, and $3.20 per million output tokens.

What does a typical workload cost with GLM 5?

1,000 requests of 2,000 input and 500 output tokens each — 2,000,000 input and 500,000 output tokens in total — costs $3.60 with GLM 5 at its lowest rates. Use the calculator on this page for your own volumes.

Where can I use GLM 5?

GLM 5 is available through Z.ai, from $1.00 per million input tokens.

What is GLM 5's context window?

GLM 5 has a context window of 204,800 tokens, and returns up to 128,000 tokens in a single response.

What input types does GLM 5 support?

GLM 5 accepts text input, and returns text.