# Gemini 4 Hydrogen vs Phi 4

Source: https://openrouter.ai/compare/google/gemini-4-hydrogen/microsoft/phi-4

## Overview

| Attribute | Gemini 4 Hydrogen | Phi 4 |
| --- | --- | --- |
| Author | Google | Microsoft |
| Reasoning | Yes | No |
| Input modalities | Audio, File, Image, Text, Video | Text |
| Output modalities | Text | Text |
| Input price | $1.50/M tokens | $0.07/M tokens |
| Output price | $7.50/M tokens | $0.14/M tokens |
| Context window | 1,048,576 tokens | 16,384 tokens |
| Intelligence Index | 54.1 | Not available |
| Finance & Accounting Index | 58.1 | Not available |
| Strategy & Ops Index | 57.7 | Not available |
| Legal Index | 56.7 | Not available |
| Healthcare & Medical Index | 53.3 | Not available |
| Engineering Index | 60.2 | Not available |
| Economics Index | 55.0 | Not available |
| Openness Index | Not available | 50.0 |
| FrontierCode-AA 2.0 | 39.0% | Not available |
| GPQA Diamond score | Not available | 57.5% |
| Latency (p50) | 2.61 s | 0.88 s |
| Throughput (p50) | 117.0 tok/s | 85.0 tok/s |

## Gemini 4 Hydrogen or Phi 4: which should you choose?

### Choose Gemini 4 Hydrogen for:

- a longer context window (1,048,576 vs 16,384 tokens)
- faster output (117.0 vs 85.0 tok/s)

### Choose Phi 4 for:

- a quicker first token (0.88 s vs 2.61 s)
- lower token prices

## Benchmark differences

| Benchmark | Gemini 4 Hydrogen | Phi 4 | Difference |
| --- | --- | --- | --- |
| Intelligence Index | 54.1 | Not available | Not available |
| Finance & Accounting Index | 58.1 | Not available | Not available |
| Strategy & Ops Index | 57.7 | Not available | Not available |
| Legal Index | 56.7 | Not available | Not available |
| Healthcare & Medical Index | 53.3 | Not available | Not available |
| Engineering Index | 60.2 | Not available | Not available |
| Economics Index | 55.0 | Not available | Not available |
| FrontierCode-AA 2.0 | 39.0% | Not available | Not available |

## Model pages

- [Gemini 4 Hydrogen](https://openrouter.ai/google/gemini-4-hydrogen) ([llms.txt](https://openrouter.ai/google/gemini-4-hydrogen/llms.txt))
- [Phi 4](https://openrouter.ai/microsoft/phi-4) ([llms.txt](https://openrouter.ai/microsoft/phi-4/llms.txt))
