# GPT-5 Nano vs GLM-5.1 - AI Model Comparison

- Page: https://opencode.ai/data/compare/openai/gpt-5-nano/zhipuai/glm-5-1
- Updated: 2026-10-04T06:45:40.000Z

|  | GPT-5 Nano | GLM-5.1 |
| --- | --- | --- |
| Lab | OpenAI | Zhipu |
| Context window | 400K | 200K |
| Max output | 128K | 131K |
| Input modalities | text, image | text |
| Reasoning | Yes | Yes |
| Tool calling | Yes | Yes |
| Open weights | No | Yes |
| Release date | 2025-08-07 | 2026-04-07 |
| Input price per 1M tokens | $0.05 | $1.40 |
| Output price per 1M tokens | $0.40 | $4.40 |
| Cached input price per 1M tokens | $0.0050 | $0.26 |
| OpenCode tokens: past 2 months | 7.7B | 156B |
| Share of all tokens | 0% | 0.0% |
| Rank by tokens last week | #43 | #39 |
| Unique users | 16K | 85K |
| Weekly retention | - | 53.8% |

Model pages: [GPT-5 Nano](https://opencode.ai/data/openai/gpt-5-nano.md), [GLM-5.1](https://opencode.ai/data/zhipuai/glm-5-1.md)

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