Gemini 4 Carbon vs Phi 4

Compare Gemini 4 Carbon from Google and Phi 4 from Microsoft on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for google
Gemini 4 Carbon
Favicon for microsoft
Phi 4

Overview

Gemini 4 Carbon
Author
Google
Phi 4
Author
Microsoft
Gemini 4 Carbon
Context length
1.05Mtokens
Phi 4
Context length
16Ktokens
Gemini 4 Carbon
Reasoning
Yes
Phi 4
Reasoning
No
Gemini 4 Carbon
Input modalities
Text, Image, Audio, Video, File
Phi 4
Input modalities
Text
Gemini 4 Carbon
Output modalities
Text
Phi 4
Output modalities
Text

Analysis

Gemini 4 Carbon vs Phi 4 at a glance

Index and benchmark scores are from Artificial Analysis. Each score is the model's best published result across the configurations Artificial Analysis evaluated.

Gemini 4 Carbon
Input price
$4/M tokens
Phi 4
Input price
$0.07/M tokens
Gemini 4 Carbon
Output price
$20/M tokens
Phi 4
Output price
$0.14/M tokens
Gemini 4 Carbon
Context window
1,048,576 tokens
Phi 4
Context window
16,384 tokens
Gemini 4 Carbon
Intelligence Index Artificial Analysis, best published result
60.1
Phi 4
Intelligence Index Artificial Analysis, best published result
Not available
Gemini 4 Carbon
Finance & Accounting Index Artificial Analysis, best published result
62.6
Phi 4
Finance & Accounting Index Artificial Analysis, best published result
Not available
Gemini 4 Carbon
Strategy & Ops Index Artificial Analysis, best published result
60.9
Phi 4
Strategy & Ops Index Artificial Analysis, best published result
Not available
Gemini 4 Carbon
Legal Index Artificial Analysis, best published result
62.0
Phi 4
Legal Index Artificial Analysis, best published result
Not available
Gemini 4 Carbon
Healthcare & Medical Index Artificial Analysis, best published result
56.8
Phi 4
Healthcare & Medical Index Artificial Analysis, best published result
Not available
Gemini 4 Carbon
Engineering Index Artificial Analysis, best published result
65.4
Phi 4
Engineering Index Artificial Analysis, best published result
Not available
Gemini 4 Carbon
Economics Index Artificial Analysis, best published result
59.6
Phi 4
Economics Index Artificial Analysis, best published result
Not available
Gemini 4 Carbon
Openness Index Artificial Analysis, best published result
Not available
Phi 4
Openness Index Artificial Analysis, best published result
50.0
Gemini 4 Carbon
FrontierCode-AA 2.0 Artificial Analysis, best published result
40.6%
Phi 4
FrontierCode-AA 2.0 Artificial Analysis, best published result
Not available
Gemini 4 Carbon
GPQA Diamond score Artificial Analysis, best published result
Not available
Phi 4
GPQA Diamond score Artificial Analysis, best published result
57.5%
Gemini 4 Carbon
Latency (p50)
7.98 s
Phi 4
Latency (p50)
0.88 s
Gemini 4 Carbon
Throughput (p50)
36.0 tok/s
Phi 4
Throughput (p50)
85.0 tok/s
Gemini 4 Carbon
Provided by
Google
Phi 4
Provided by
Microsoft

Benchmark data updated

Frequently asked questions

Is Gemini 4 Carbon cheaper than Phi 4?

Phi 4 is cheaper than Gemini 4 Carbon on OpenRouter: Phi 4 costs $0.07/M tokens input and $0.14/M tokens output, while Gemini 4 Carbon costs $4/M tokens input and $20/M tokens output.

Which has the longer context window, Gemini 4 Carbon or Phi 4?

Gemini 4 Carbon has the longer context window at 1,048,576 tokens, compared with 16,384 tokens for Phi 4.

Which is faster, Gemini 4 Carbon or Phi 4?

Phi 4 is faster on OpenRouter, generating a median 85.0 tokens per second compared with 36.0 tokens per second for Gemini 4 Carbon.