GLM-4.7 vs o4-mini
Which is better, GLM-4.7 or o4-mini?
GLM-4.7 wins 3 of 4 benchmarks both models report and has a higher Epoch Capabilities Index (143.3 vs 145.2). GLM-4.7 is about 2.2× cheaper on a blended (3:1 input:output) token price. GLM-4.7 has open weights, so you can self-host and fine-tune it; o4-mini is API-only.
| Spec | GLM-4.7 | o4-mini |
|---|---|---|
| Provider | Zhipu AI (Z.ai) | OpenAI |
| Released | Dec 22, 2025 (better) | Apr 16, 2025 |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | 358B | — |
| Context window | 200K (better) | 200K |
| Max output | 128K (better) | 100K |
| Input price / 1M | $0.448 (better) | $1.10 |
| Output price / 1M | $2.09 (better) | $4.40 |
| Input modalities | text | text, image (better) |
| Open weights | Yes | No |
| License | mit | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 32 (better) | 17 |
| Epoch Capabilities Index | 143.3 | 145.2 (better) |
| GPQA Diamond | 83.3% (better) | 79.6% |
| Humanity's Last Exam | — | 18.1% |
| Terminal-Bench | 33.4% | — |
| Aider Polyglot | — | 72.0% |
| WebDev Arena | 1435 | — |
| OTIS Mock AIME | 83.3% (better) | 81.7% |
| MATH Level 5 | — | 97.8% |
| FrontierMath | — | 36.1% |
| ARC-AGI-2 | — | 6.1% |
| SimpleQA Verified | 32.2% (better) | 19.6% |
| METR Time Horizon | — | 77 min |
Cost example
For a workload of 10M input + 2M output tokens per month: GLM-4.7 costs $8.66 and o4-mini costs $19.80 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 o4-mini
o4-mini is a proprietary reasoning llm from OpenAI, released Apr 16, 2025. It has a 200K-token context window and accepts text, image input. API pricing starts at $1.10 per million input tokens and $4.40 per million output tokens. It is available from 17 API providers. It scores 145.2 on the Epoch Capabilities Index. Full o4-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 GPT-5 Mini
- GLM-4.7 vs DeepSeek V3.2 Exp
- 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 o4-mini comparisons
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 o4-mini?
GLM-4.7 wins 3 of 4 benchmarks both models report and has a higher Epoch Capabilities Index (143.3 vs 145.2). GLM-4.7 is about 2.2× cheaper on a blended (3:1 input:output) token price. GLM-4.7 has open weights, so you can self-host and fine-tune it; o4-mini is API-only.
Is GLM-4.7 cheaper than o4-mini?
GLM-4.7 costs $0.448 input / $2.09 output per 1M tokens; o4-mini costs $1.10 / $4.40. GLM-4.7 is cheaper overall.
Which has a bigger context window?
GLM-4.7: 204,800 tokens. o4-mini: 200,000 tokens.
Are GLM-4.7 and o4-mini open source?
GLM-4.7 is open-weight; o4-mini is proprietary.