Skip to content
llmmodels

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.

SpecGLM-4.7GPT-5 Mini
ProviderZhipu AI (Z.ai)OpenAI
ReleasedDec 22, 2025 (better)Aug 7, 2025
TypeReasoning LLMReasoning LLM
Parameters358B—
Context window200K400K (better)
Max output128K (better)125K
Input price / 1M$0.448$0.25 (better)
Output price / 1M$2.09$2 (better)
Input modalitiestexttext, image, file (better)
Open weightsYesNo
LicensemitProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers3237 (better)
Epoch Capabilities Index143.3146.0 (better)
GPQA Diamond83.3% (better)75.0%
Humanity's Last Exam—19.4%
SWE-bench Verified—64.7%
Terminal-Bench33.4%34.8% (better)
WebDev Arena1435—
OTIS Mock AIME83.3%86.7% (better)
MATH Level 5—97.8%
FrontierMath—46.7%
ARC-AGI-2—4.4%
SimpleQA Verified32.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 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.