CodeGeeX 4 vs Gemini 4 Hydrogen
Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.
$0.70 vs $1.50 / 1M
$2.10 vs $7.50 / 1M
Gemini 4 Hydrogen: 54.1
1.05M vs 128K tokens
Capability Benchmarks & Third-Party Evaluations
Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.
| Metric | CodeGeeX 4 | Gemini 4 Hydrogen |
|---|---|---|
| Reasoning | Yes | xhigh/high/medium/low |
| Input Modalities | text | audio, file, image, text, video |
| Tools & JSON | Tools | Tools · JSON |
| Prompt Caching | $0.70/1M | $0.075/1M |
| Open-Weight | Open | Proprietary |
Compare independent Intelligence Index, Engineering/Coding scores, tokens/sec throughput, and TTFT latency for CodeGeeX 4 and Gemini 4 Hydrogen.
Blind pairwise human preference Elo ratings across Overall, Coding, Hard Prompts, and Instruction Following.
Measures autonomous GitHub repository issue resolution rates in sandboxed software engineering evaluations.
Monthly refreshed objective tests spanning Math, Coding, Reasoning, Data Analysis, and Language.
Evaluates practical diff editing pass rates and API cost per benchmark run across Python, C++, Go, Java, JS, and Rust.
Live provider uptime, latency, throughput, and parameter support for google/gemini-4-hydrogen.
Side-by-side specification matrix
USD ·| Metric | Compare | ||
|---|---|---|---|
| Input / 1M | $0.70 | $1.50 | CodeGeeX 4 -53% |
| Output / 1M | $2.10 | $7.50 | CodeGeeX 4 -72% |
| 5m Cache Write / 1M | $0.70 | $0.083 | Gemini 4 Hydrogen -88% |
| 1h Cache Write / 1M | — | — | — |
| Cache Read | $0.70 | $0.075 | Gemini 4 Hydrogen -89% |
| Web Search / Call | — | $0.014 | — |
| Context | 128K (128,000) | 1.05M (1,048,576) | Gemini 4 Hydrogen 8.2× |
| Max Output | 33K (32,768) | 1.05M (1,048,576) | Gemini 4 Hydrogen 32× |
| AA Intelligence(Artificial Analysis) | — | 54.1 | — |
| AA Engineering | — | 60.2 | — |
| Capabilities | text | audio, file, image, text, video | Gemini 4 Hydrogen |
| Reasoning | Supported | xhigh, high, medium, low | Equal |
| Structured Outputs(JSON Schema) | Not listed | Supported | Gemini 4 Hydrogen |
| Open-Weight | Open-Weight | Proprietary API | CodeGeeX 4 |
30-day production cost estimator
Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.
Frequently Asked Questions
Is CodeGeeX 4 or Gemini 4 Hydrogen cheaper per API token?
CodeGeeX 4 is 53% cheaper on input tokens ($0.70 vs $1.50 per 1M). For output tokens, CodeGeeX 4 costs 72% less ($2.10 vs $7.50 per 1M).
How do CodeGeeX 4 and Gemini 4 Hydrogen prompt caching discounts compare?
Gemini 4 Hydrogen 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 4 Hydrogen 5m write: $0.083/1M.
Which model has a larger context window: CodeGeeX 4 or Gemini 4 Hydrogen?
Gemini 4 Hydrogen 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 4 Hydrogen caps at 1.05M tokens.
How do CodeGeeX 4 and Gemini 4 Hydrogen compare on benchmarks and capabilities?
Gemini 4 Hydrogen adds native vision/image input support, and CodeGeeX 4 releases open weights for self-hosting or dedicated inference.
Related Head-to-Head Matchups
ComparisonsCodeGeeX 4 vs DeepSeek V4.1 Flash
In: $0.70 vs $0.14 · Out: $2.10 vs $0.42
CodeGeeX 4 vs DeepSeek V4 Pro
In: $0.70 vs $0.89 · Out: $2.10 vs $1.51
CodeGeeX 4 vs GLM 5.3
In: $0.70 vs $0.07 · Out: $2.10 vs $1.40
CodeGeeX 4 vs GLM 4 Flash 250414
In: $0.70 vs $0.05 · Out: $2.10 vs $0.10
Gemini 4 Hydrogen vs GPT-6.1 Terra
In: $1.50 vs $1.00 · Out: $7.50 vs $5.00
Gemini 4 Hydrogen vs GPT-6.2 Astra
In: $1.50 vs $8.00 · Out: $7.50 vs $40.00