Skip to content
llmmodels

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.

SpecGLM-4.7o4-mini
ProviderZhipu AI (Z.ai)OpenAI
ReleasedDec 22, 2025 (better)Apr 16, 2025
TypeReasoning LLMReasoning LLM
Parameters358B—
Context window200K (better)200K
Max output128K (better)100K
Input price / 1M$0.448 (better)$1.10
Output price / 1M$2.09 (better)$4.40
Input modalitiestexttext, image (better)
Open weightsYesNo
LicensemitProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers32 (better)17
Epoch Capabilities Index143.3145.2 (better)
GPQA Diamond83.3% (better)79.6%
Humanity's Last Exam—18.1%
Terminal-Bench33.4%—
Aider Polyglot—72.0%
WebDev Arena1435—
OTIS Mock AIME83.3% (better)81.7%
MATH Level 5—97.8%
FrontierMath—36.1%
ARC-AGI-2—6.1%
SimpleQA Verified32.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 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.