# GLM-5.1 Usage, Cost & Rank | OpenCode Data

> GLM-5.1 had 0% of tokens across OpenCode over the past two months. GLM-5.1 costs $0.90 per 1M input tokens and $3.59 per 1M output tokens.

Strong GLM coding model for agentic engineering, terminals, and repository generation

- Page: https://opencode.ai/data/zhipuai/glm-5-1
- JSON: https://opencode.ai/data/zhipuai/glm-5-1.json
- Model ID: zhipuai/glm-5.1
- Lab: Zhipu
- Updated: 2026-10-29T06:13:07.000Z

## Model facts

| Fact | Value |
| --- | --- |
| Context window | 200K |
| Max output | 131K |
| Knowledge cutoff | - |
| Release date | 2026-04-07 |
| Input modalities | text |
| Output modalities | text |
| Reasoning | Yes |
| Tool calling | Yes |
| Open weights | Yes |
| Weights | [Hugging Face](https://huggingface.co/zai-org/GLM-5.1) |

## Pricing: USD per 1M tokens

| Input | Output | Cached input | Cache write |
| --- | --- | --- | --- |
| $0.90 | $3.59 | $0.19 | $0.00 |

## OpenCode usage: past 2 months

| Metric | Value |
| --- | --- |
| Rank by tokens last week | Unranked |
| Tokens | 28B |
| Share of all tokens | 0% |
| Change vs previous 2 months | -87% |
| Unique users | 26K |
| Completed sessions | 72,537 |
| Average tokens per session | 392K |
| Average cost per session | $0.1727 |
| Total spend | $12,526 |
| Input tokens served from cache | 91% |
| Weekly retention | 42.4% |

## Daily usage: past 2 months

| Date | Tokens | Unique users | Sessions |
| --- | --- | --- | --- |
| 2026-09-15 | 2B | 1K | 2,051 |
| 2026-09-16 | 1.9B | 1K | 3,564 |
| 2026-09-17 | 1.9B | 1.1K | 3,062 |
| 2026-09-18 | 1.8B | 870 | 2,810 |
| 2026-09-19 | 1.3B | 783 | 2,055 |
| 2026-09-20 | 1.6B | 809 | 2,006 |
| 2026-09-21 | 2.4B | 1K | 4,258 |
| 2026-09-22 | 2.5B | 1K | 3,829 |
| 2026-09-23 | 1.9B | 850 | 3,224 |
| 2026-09-24 | 1.5B | 768 | 2,687 |
| 2026-09-25 | 1.5B | 654 | 2,571 |
| 2026-09-26 | 1.1B | 648 | 2,215 |
| 2026-09-27 | 1.2B | 651 | 2,644 |
| 2026-09-28 | 247M | 274 | 841 |
| 2026-09-29 | 0 | 0 | 0 |
| 2026-09-30 | 0 | 0 | 0 |
| 2026-10-01 | 105K | 13 | 16 |
| 2026-10-02 | 175M | 364 | 887 |
| 2026-10-03 | 144M | 354 | 768 |
| 2026-10-04 | 119M | 356 | 716 |
| 2026-10-05 | 271M | 423 | 938 |
| 2026-10-06 | 190M | 453 | 915 |
| 2026-10-07 | 310M | 434 | 771 |
| 2026-10-08 | 193M | 539 | 984 |
| 2026-10-09 | 269M | 544 | 931 |
| 2026-10-10 | 114M | 457 | 841 |
| 2026-10-11 | 177M | 383 | 673 |
| 2026-10-12 | 303M | 530 | 1,210 |
| 2026-10-13 | 329M | 532 | 1,216 |
| 2026-10-14 | 249M | 591 | 2,787 |
| 2026-10-15 | 224M | 695 | 1,438 |
| 2026-10-16 | 130M | 638 | 1,207 |
| 2026-10-17 | 163M | 612 | 1,047 |
| 2026-10-18 | 135M | 592 | 879 |
| 2026-10-19 | 217M | 775 | 1,419 |
| 2026-10-20 | 195M | 792 | 1,736 |
| 2026-10-21 | 281M | 775 | 2,075 |
| 2026-10-22 | 160M | 692 | 1,868 |
| 2026-10-23 | 162M | 649 | 1,475 |
| 2026-10-24 | 90M | 507 | 1,229 |
| 2026-10-25 | 112M | 502 | 1,114 |
| 2026-10-26 | 375M | 655 | 1,777 |
| 2026-10-27 | 357M | 658 | 2,225 |
| 2026-10-28 | 237M | 477 | 1,578 |
| 2026-10-29 | 0 | 0 | 0 |
| 2026-10-30 | 0 | 0 | 0 |
| 2025-10-31 | 0 | 0 | 0 |
| 2025-11-01 | 0 | 0 | 0 |
| 2025-11-02 | 0 | 0 | 0 |
| 2025-11-03 | 0 | 0 | 0 |
| 2025-11-04 | 0 | 0 | 0 |
| 2025-11-05 | 0 | 0 | 0 |
| 2025-11-06 | 0 | 0 | 0 |
| 2025-11-07 | 0 | 0 | 0 |
| 2025-11-08 | 0 | 0 | 0 |
| 2025-11-09 | 0 | 0 | 0 |

## Top countries: past 2 months

| Rank | Country | Tokens | Share |
| --- | --- | --- | --- |
| 1 | China | 4.4B | 15.3% |
| 2 | United States | 3.4B | 11.8% |
| 3 | Brazil | 1.4B | 4.9% |
| 4 | Germany | 1.4B | 4.8% |
| 5 | Spain | 900M | 3.3% |
| 6 | United Kingdom | 900M | 3.2% |
| 7 | Colombia | 900M | 3.2% |
| 8 | Mexico | 800M | 2.9% |
| 9 | France | 800M | 2.9% |
| 10 | Indonesia | 800M | 2.7% |
| 11 | India | 700M | 2.6% |
| 12 | Australia | 700M | 2.5% |
| 13 | Italy | 700M | 2.4% |
| 14 | Egypt | 600M | 2.3% |
| 15 | Argentina | 600M | 2.2% |

## Nearby models by tokens last week

| Rank | Model | Lab | Tokens |
| --- | --- | --- | --- |
| 1 | [deepseek-v4.1-flash](https://opencode.ai/data/deepseek/deepseek-v4-1-flash.md) | DeepSeek | 168T |
| 2 | [glm-5.3-flash](https://opencode.ai/data/zhipuai/glm-5-3-flash.md) | Zhipu | 7.5T |
| 3 | [muse-spark-1.3-contributor](https://opencode.ai/data/meta/muse-spark-1-3-contributor.md) | Meta | 6.8T |
| 4 | [beam-1.0-501b-a23b](https://opencode.ai/data/reflection/beam-1-0-501b-a23b.md) | Reflection | 5.6T |
| 5 | [mimo-v2.6-flash](https://opencode.ai/data/xiaomi/mimo-v2-6-flash.md) | Xiaomi | 3.6T |
| 6 | [nemotron-3.5-super-vl](https://opencode.ai/data/nvidia/nemotron-3-5-super-vl.md) | NVIDIA | 3.1T |
| 7 | [crouton-alpha](https://opencode.ai/data/unknown/crouton-alpha.md) | - | 2.2T |
| 8 | [pulse-alpha](https://opencode.ai/data/unknown/pulse-alpha.md) | - | 1.6T |
| 9 | [inkling-2-small](https://opencode.ai/data/thinkingmachines/inkling-2-small.md) | Thinking Machines | 1.4T |
| 10 | [gpt-6-luna](https://opencode.ai/data/openai/gpt-6-luna.md) | OpenAI | 1.1T |

## Benchmarks

| Benchmark | Score | Metric | Source |
| --- | --- | --- | --- |
| Artificial Analysis Coding Agent Index | 52.7 | average pass@1 | https://artificialanalysis.ai/agents/coding-agents |
| SWE-Atlas Codebase QnA | 73.2 | pass@1 | https://artificialanalysis.ai/agents/coding-agents |
| SWE-Bench Pro | 19.8 | pass@1 | https://artificialanalysis.ai/agents/coding-agents |
| Terminal-Bench | 65.1 | pass@1 | https://artificialanalysis.ai/agents/coding-agents |

## Methodology

- Updates: Aggregated every hour. Days and weeks use UTC.
- Tokens: Input, output, reasoning, and cached tokens for each request.
- Users and sessions: Approximate counts of distinct users and OpenCode sessions.
- Cost: Session cost is the average cost per OpenCode session. Token prices are list prices from the OpenCode model catalog.
- Retention: The share of a model's users in one week who use it again the next week.
- Citation: Cite OpenCode Data (opencode.ai/data) with the update time shown at the top of the page.
