Z.aivsGoogle·Updated Nov 2026
CodeGeeX 4 logovsGemini 3.7 Flash logo

CodeGeeX 4 vs Gemini 3.7 Flash

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
CodeGeeX 4 logoCodeGeeX 4-6.7%

$0.70 vs $0.75 / 1M

Cheaper Output
CodeGeeX 4 logoCodeGeeX 4-44%

$2.10 vs $3.75 / 1M

AA Intelligence / AA Engineering
Reasoning

—

Context Window
Gemini 3.7 Flash logoGemini 3.7 Flash8.2×

1.05M 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
Gemini 3.7 Flash logoGemini 3.7 FlashPending
AA Engineering
CodeGeeX 4 logoCodeGeeX 4Pending
Gemini 3.7 Flash logoGemini 3.7 FlashPending
Core Capability Profile
MetricCodeGeeX 4Gemini 3.7 Flash
ReasoningYesYes
Input Modalitiestexttext, image, video, file, audio
Tools & JSONToolsTools
Prompt Caching$0.70/1M$0.075/1M
Open-WeightOpenProprietary

Side-by-side specification matrix

USD ·
MetricCodeGeeX 4 logoCodeGeeX 4Gemini 3.7 Flash logoGemini 3.7 FlashCompare
Input / 1M$0.70$0.75CodeGeeX 4 -6.7%
Output / 1M$2.10$3.75CodeGeeX 4 -44%
5m Cache Write / 1M$0.70$0.042Gemini 3.7 Flash -94%
1h Cache Write / 1M———
Cache Read$0.70$0.075Gemini 3.7 Flash -89%
Web Search / Call———
Context128K (128,000)1.05M (1,048,576)Gemini 3.7 Flash 8.2×
Max Output33K (32,768)66K (65,536)Gemini 3.7 Flash 2×
AA Intelligence(Artificial Analysis)———
AA Engineering———
Capabilitiestexttext, image, video, file, audioGemini 3.7 Flash
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 CodeGeeX 4 $6.38/mo ($76.50)
-3.7%
CodeGeeX 4 logoCodeGeeX 4Best Value
$168.00/mo
In: $52.50
Cache: $52.50
Out: $63.00
Search: N/A
Gemini 3.7 Flash logoGemini 3.7 Flash
$174.38/mo
In: $56.25
Cache: $5.63
Out: $112.50
Search: N/A

Frequently Asked Questions

Is CodeGeeX 4 or Gemini 3.7 Flash cheaper per API token?

CodeGeeX 4 is 6.7% cheaper on input tokens ($0.70 vs $0.75 per 1M). For output tokens, CodeGeeX 4 costs 44% less ($2.10 vs $3.75 per 1M).

How do CodeGeeX 4 and Gemini 3.7 Flash prompt caching discounts compare?

Gemini 3.7 Flash offers 89% cheaper cache reads at $0.075/1M compared to $0.70/1M for CodeGeeX 4. CodeGeeX 4 5m write: $0.70/1M; Gemini 3.7 Flash 5m write: $0.042/1M.

Which model has a larger context window: CodeGeeX 4 or Gemini 3.7 Flash?

Gemini 3.7 Flash provides a 8.2× larger context window (1.05M vs 128K tokens). For single-turn output generation, CodeGeeX 4 caps at 33K tokens and Gemini 3.7 Flash caps at 66K tokens.

How do CodeGeeX 4 and Gemini 3.7 Flash compare on benchmarks and capabilities?

Gemini 3.7 Flash adds native vision/image input support, and CodeGeeX 4 releases open weights for self-hosting or dedicated inference.

Related Head-to-Head Matchups

Comparisons