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

> GLM-5 costs $0.60 per 1M input tokens and $2.69 per 1M output tokens.

General GLM flagship for coding, analysis, and tool-heavy engineering workflows

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

## Model facts

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

## Pricing: USD per 1M tokens

| Input | Output | Cached input | Cache write |
| --- | --- | --- | --- |
| $0.60 | $2.69 | $0.15 | $0.00 |

## OpenCode usage: past 2 months

| Metric | Value |
| --- | --- |
| Rank by tokens last week | Unranked |
| Tokens | 0 |
| Share of all tokens | 0% |
| Change vs previous 2 months | -100% |
| Unique users | 0 |
| Completed sessions | 1,352 |
| Average tokens per session | 0 |
| Average cost per session | $0.0000 |
| Total spend | $0 |
| Input tokens served from cache | 0% |
| Weekly retention | - |

## Daily usage: past 2 months

_No data yet._

## 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 | 164T |
| 2 | [minimax-m3.1-flash](https://opencode.ai/data/minimax/minimax-m3-1-flash.md) | MiniMax | 7.8T |
| 3 | [glm-5.3-flash](https://opencode.ai/data/zhipuai/glm-5-3-flash.md) | Zhipu | 7.8T |
| 4 | [muse-spark-1.3-contributor](https://opencode.ai/data/meta/muse-spark-1-3-contributor.md) | Meta | 5.6T |
| 5 | [beam-1.0-501b-a23b](https://opencode.ai/data/reflection/beam-1-0-501b-a23b.md) | Reflection | 5.1T |
| 6 | [inkling-2-small](https://opencode.ai/data/thinkingmachines/inkling-2-small.md) | Thinking Machines | 5T |
| 7 | [mimo-v2.6-flash](https://opencode.ai/data/xiaomi/mimo-v2-6-flash.md) | Xiaomi | 3.1T |
| 8 | [nemotron-3.5-super-vl](https://opencode.ai/data/nvidia/nemotron-3-5-super-vl.md) | NVIDIA | 2.4T |
| 9 | [deepseek-v4.1-flash-1017](https://opencode.ai/data/deepseek/deepseek-v4-1-flash-1017.md) | DeepSeek | 1.6T |
| 10 | [gpt-6-luna](https://opencode.ai/data/openai/gpt-6-luna.md) | OpenAI | 942B |

## Benchmarks

| Benchmark | Score | Metric | Source |
| --- | --- | --- | --- |
| SWE-Bench Verified | 72.8 | resolved | https://www.swebench.com/ |
| SWE-Atlas Codebase QnA | 20.5 | score | https://labs.scale.com/leaderboard/sweatlas-qna |
| SWE-Atlas Refactoring | 24.24 | score | https://labs.scale.com/leaderboard/sweatlas-refactoring |
| SWE-Atlas Test Writing | 28.74 | score | https://labs.scale.com/leaderboard/sweatlas-tw |

## 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.
