Z.aivsMiniMax·Updated Nov 2026
CodeGeeX 4 logovsMiniMax M2 logo

CodeGeeX 4 vs MiniMax M2

Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.

Switch Comparison Matchup411 · Updated Nov 2026
Cheaper Input
MiniMax M2 logoMiniMax M2-57%

$0.30 vs $0.70 / 1M

Cheaper Output
MiniMax M2 logoMiniMax M2-43%

$1.20 vs $2.10 / 1M

AA Intelligence / AA Engineering
Reasoning

—

Context Window
MiniMax M2 logoMiniMax M21.6×

205K vs 128K tokens

Capability Benchmarks & Third-Party Evaluations

Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.

AA Intelligence · Engineering · Arena · SWE-bench
Artificial Analysis Benchmarks
AA Intelligence
CodeGeeX 4 logoCodeGeeX 4Pending
MiniMax M2 logoMiniMax M2Pending
AA Engineering
CodeGeeX 4 logoCodeGeeX 4Pending
MiniMax M2 logoMiniMax M2Pending
Core Capability Profile
MetricCodeGeeX 4MiniMax M2
ReasoningYesYes
Input Modalitiestexttext
Tools & JSONToolsTools
Prompt Caching$0.70/1M$0.03/1M
Open-WeightOpenProprietary

Side-by-side specification matrix

USD ·
MetricCodeGeeX 4 logoCodeGeeX 4MiniMax M2 logoMiniMax M2Compare
Input / 1M$0.70$0.30MiniMax M2 -57%
Output / 1M$2.10$1.20MiniMax M2 -43%
5m Cache Write / 1M$0.70$0.38MiniMax M2 -46%
1h Cache Write / 1M———
Cache Read$0.70$0.03MiniMax M2 -96%
Web Search / Call———
Context128K (128,000)205K (204,800)MiniMax M2 1.6×
Max Output33K (32,768)66K (65,536)MiniMax M2 2×
AA Intelligence(Artificial Analysis)———
AA Engineering———
CapabilitiestexttextEqual
ReasoningSupportedSupportedEqual
Structured Outputs(JSON Schema)Not listedNot listedEqual
Open-WeightOpen-WeightProprietary APICodeGeeX 4

30-day production cost estimator

Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.

LLM API Monthly Cost Calculator
2,000
2,500
500
50%
0
60,000 · 150.0M · 30.0M
Est. 30-Day Spend
Estimated monthly savings with MiniMax M2 $107.25/mo ($1,287.00)
-64%
CodeGeeX 4 logoCodeGeeX 4
$168.00/mo
In: $52.50
Cache: $52.50
Out: $63.00
Search: N/A
MiniMax M2 logoMiniMax M2Best Value
$60.75/mo
In: $22.50
Cache: $2.25
Out: $36.00
Search: N/A

Frequently Asked Questions

Is CodeGeeX 4 or MiniMax M2 cheaper per API token?

MiniMax M2 is 57% cheaper on input tokens ($0.30 vs $0.70 per 1M). For output tokens, MiniMax M2 costs 43% less ($1.20 vs $2.10 per 1M).

How do CodeGeeX 4 and MiniMax M2 prompt caching discounts compare?

MiniMax M2 offers 96% cheaper cache reads at $0.03/1M compared to $0.70/1M for CodeGeeX 4. CodeGeeX 4 5m write: $0.70/1M; MiniMax M2 5m write: $0.38/1M.

Which model has a larger context window: CodeGeeX 4 or MiniMax M2?

MiniMax M2 provides a 1.6× larger context window (205K vs 128K tokens). For single-turn output generation, CodeGeeX 4 caps at 33K tokens and MiniMax M2 caps at 66K tokens.

How do CodeGeeX 4 and MiniMax M2 compare on benchmarks and capabilities?

CodeGeeX 4 releases open weights for self-hosting or dedicated inference.

Related Head-to-Head Matchups

Comparisons