Z.aivsZ.ai·Updated Nov 2026
CodeGeeX 4 logovsGLM 4 Flash 250414 logo

CodeGeeX 4 vs GLM 4 Flash 250414

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
GLM 4 Flash 250414 logoGLM 4 Flash 250414-93%

$0.05 vs $0.70 / 1M

Cheaper Output
GLM 4 Flash 250414 logoGLM 4 Flash 250414-95%

$0.10 vs $2.10 / 1M

AA Intelligence / AA Engineering
Reasoning

—

Context Window
Equal · 128K

Max Output: 33K vs 32K

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
GLM 4 Flash 250414 logoGLM 4 Flash 250414Pending
AA Engineering
CodeGeeX 4 logoCodeGeeX 4Pending
GLM 4 Flash 250414 logoGLM 4 Flash 250414Pending
Core Capability Profile
MetricCodeGeeX 4GLM 4 Flash 250414
ReasoningYesYes
Input Modalitiestexttext
Tools & JSONToolsTools
Prompt Caching$0.70/1M$0.05/1M
Open-WeightOpenOpen

Side-by-side specification matrix

USD ·
MetricCodeGeeX 4 logoCodeGeeX 4GLM 4 Flash 250414 logoGLM 4 Flash 250414Compare
Input / 1M$0.70$0.05GLM 4 Flash 250414 -93%
Output / 1M$2.10$0.10GLM 4 Flash 250414 -95%
5m Cache Write / 1M$0.70$0.05GLM 4 Flash 250414 -93%
1h Cache Write / 1M———
Cache Read$0.70$0.05GLM 4 Flash 250414 -93%
Web Search / Call———
Context128K (128,000)128K (128,000)Equal
Max Output33K (32,768)32K (32,000)CodeGeeX 4 1×
AA Intelligence(Artificial Analysis)———
AA Engineering———
CapabilitiestexttextEqual
ReasoningSupportedSupportedEqual
Structured Outputs(JSON Schema)Not listedNot listedEqual
Open-WeightOpen-WeightOpen-WeightEqual

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 GLM 4 Flash 250414 $157.50/mo ($1,890.00)
-94%
CodeGeeX 4 logoCodeGeeX 4
$168.00/mo
In: $52.50
Cache: $52.50
Out: $63.00
Search: N/A
GLM 4 Flash 250414 logoGLM 4 Flash 250414Best Value
$10.50/mo
In: $3.75
Cache: $3.75
Out: $3.00
Search: N/A

Frequently Asked Questions

Is CodeGeeX 4 or GLM 4 Flash 250414 cheaper per API token?

GLM 4 Flash 250414 is 93% cheaper on input tokens ($0.05 vs $0.70 per 1M). For output tokens, GLM 4 Flash 250414 costs 95% less ($0.10 vs $2.10 per 1M).

How do CodeGeeX 4 and GLM 4 Flash 250414 prompt caching discounts compare?

GLM 4 Flash 250414 offers 93% cheaper cache reads at $0.05/1M compared to $0.70/1M for CodeGeeX 4. CodeGeeX 4 5m write: $0.70/1M; GLM 4 Flash 250414 5m write: $0.05/1M.

Which model has a larger context window: CodeGeeX 4 or GLM 4 Flash 250414?

Both CodeGeeX 4 and GLM 4 Flash 250414 support a 128K (128,000 tokens) context window. Max output completion limits are 33K for CodeGeeX 4 and 32K for GLM 4 Flash 250414.

How do CodeGeeX 4 and GLM 4 Flash 250414 compare on benchmarks and capabilities?

Compare CodeGeeX 4 (Z.ai) and GLM 4 Flash 250414 (Z.ai) across tool calling (yes vs yes) and reasoning support above.

Related Head-to-Head Matchups

Comparisons