GLM-4.7 vs GPT-5 Mini
Which is better, GLM-4.7 or GPT-5 Mini?
GPT-5 Mini wins 3 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (146.0 vs 143.3). GPT-5 Mini is about 1.2× cheaper on a blended (3:1 input:output) token price. GPT-5 Mini has the larger context window (400K vs 200K). GLM-4.7 has open weights, so you can self-host and fine-tune it; GPT-5 Mini is API-only.
| Spec | GLM-4.7 | GPT-5 Mini |
|---|---|---|
| Provider | Zhipu AI (Z.ai) | OpenAI |
| Released | Dec 22, 2025 (better) | Aug 7, 2025 |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | 358B | — |
| Context window | 200K | 400K (better) |
| Max output | 128K (better) | 125K |
| Input price / 1M | $0.448 | $0.25 (better) |
| Output price / 1M | $2.09 | $2 (better) |
| Input modalities | text | text, image, file (better) |
| Open weights | Yes | No |
| License | mit | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 32 | 37 (better) |
| Epoch Capabilities Index | 143.3 | 146.0 (better) |
| GPQA Diamond | 83.3% (better) | 75.0% |
| Humanity's Last Exam | — | 19.4% |
| SWE-bench Verified | — | 64.7% |
| Terminal-Bench | 33.4% | 34.8% (better) |
| WebDev Arena | 1435 | — |
| OTIS Mock AIME | 83.3% | 86.7% (better) |
| MATH Level 5 | — | 97.8% |
| FrontierMath | — | 46.7% |
| ARC-AGI-2 | — | 4.4% |
| SimpleQA Verified | 32.2% (better) | 21.6% |
Cost example
For a workload of 10M input + 2M output tokens per month: GLM-4.7 costs $8.66 and GPT-5 Mini costs $6.50 at list price (Zhipu AI (Z.ai) / openai pricing).
About GLM-4.7
GLM-4.7 is an open-weight reasoning llm from Zhipu AI (Z.ai), released Dec 22, 2025. It has 358B parameters and a 200K-token context window. API pricing starts at $0.448 per million input tokens and $2.09 per million output tokens. It is available from 32 API providers. It scores 143.3 on the Epoch Capabilities Index. Full GLM-4.7 specs →
About GPT-5 Mini
GPT-5 Mini is a proprietary reasoning llm from OpenAI, released Aug 7, 2025. It has a 400K-token context window and accepts text, image, file input. API pricing starts at $0.25 per million input tokens and $2 per million output tokens. It is available from 37 API providers. It scores 146.0 on the Epoch Capabilities Index. Full GPT-5 Mini specs →
Compare other models
More GLM-4.7 comparisons
- GLM-4.7 vs Qwen3 235B-A22B
- GLM-4.7 vs Claude Haiku 4.5 (latest)
- GLM-4.7 vs DeepSeek V3.2 Exp
- GLM-4.7 vs o4-mini
- GLM-4.7 vs Kimi K2 Thinking
- GLM-4.7 vs Qwen3 Max
- GLM-4.7 vs Mistral Medium 3.5
- GLM-4.7 vs Anthropic: Claude Sonnet 4
- GLM-4.7 vs Anthropic: Claude Opus 4
- GLM-4.7 vs Qwen3 235B A22B Instruct 2507
- GLM-4.7 vs Qwen3-Next 80B-A3B (Thinking)
More GPT-5 Mini comparisons
- GPT-5 Mini vs Qwen3.7 Plus
- GPT-5 Mini vs GPT-5.4 nano
- GPT-5 Mini vs Gemini 3.5 Flash Lite
- GPT-5 Mini vs Gemini 3.1 Flash Lite
- GPT-5 Mini vs Qwen3.6 Flash
- GPT-5 Mini vs DeepSeek V3.2 Exp
- GPT-5 Mini vs o4-mini
- GPT-5 Mini vs Kimi K2 Thinking
- GPT-5 Mini vs Qwen3-Coder 30B-A3B Instruct
- GPT-5 Mini vs DeepSeek V3.1
- GPT-5 Mini vs Qwen3 VL 235B A22B Thinking
More from Zhipu AI (Z.ai) and OpenAI · Categories: reasoning & thinking llms, uncensored & abliterated llms, open-weight llms, agentic & tool-calling llms
FAQ
Which is better, GLM-4.7 or GPT-5 Mini?
GPT-5 Mini wins 3 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (146.0 vs 143.3). GPT-5 Mini is about 1.2× cheaper on a blended (3:1 input:output) token price. GPT-5 Mini has the larger context window (400K vs 200K). GLM-4.7 has open weights, so you can self-host and fine-tune it; GPT-5 Mini is API-only.
Is GLM-4.7 cheaper than GPT-5 Mini?
GLM-4.7 costs $0.448 input / $2.09 output per 1M tokens; GPT-5 Mini costs $0.25 / $2. GPT-5 Mini is cheaper overall.
Which has a bigger context window?
GLM-4.7: 204,800 tokens. GPT-5 Mini: 400,000 tokens.
Are GLM-4.7 and GPT-5 Mini open source?
GLM-4.7 is open-weight; GPT-5 Mini is proprietary.