Updated March 26, 2026· Based on independent benchmark data
Gemini 3.1 Pro Preview leads in intelligence with a score of 57.2 vs 26.3. For speed, Gemini 3.1 Pro Preview wins at 113 tok/s vs 84 tok/s.
| Metric | GPT-4.1 | Gemini 3.1 Pro Preview |
|---|---|---|
| Intelligence Score | 26.3 | 57.2 |
| Coding Score | 21.8 | 55.5 |
| Math Score | 34.7 | N/A |
| Speed (tok/s) | 84 tok/s | 113 tok/s |
| Latency (TTFT) | 0.52s | 23.84s |
| Input Price / 1M tokens | $2.00 | $2.00 |
| Output Price / 1M tokens | $8.00 | $12 |
| Context Window | 1.0M |
Gemini 3.1 Pro Preview outperforms GPT-4.1 on the intelligence index with a score of 57.2 compared to 26.3. For coding tasks, Gemini 3.1 Pro Preview has the edge with a coding score of 55.5 vs 21.8.
Gemini 3.1 Pro Preview generates output significantly faster at 113 tok/s compared to GPT-4.1's 84 tok/s, making it 1.4x faster for streaming responses. Time to first token is 0.52s for GPT-4.1 vs 23.84s for Gemini 3.1 Pro Preview, which affects perceived responsiveness in interactive applications.
Gemini 3.1 Pro Preview is more affordable at $2.00/1M input tokens ($12/1M output), while GPT-4.1 costs $2.00/1M input ($8.00/1M output). For a typical workload of 100 requests per day at 2,000 tokens each, GPT-4.1 would cost approximately $12.00/month vs $12.00/month for Gemini 3.1 Pro Preview in input costs alone.
Gemini 3.1 Pro Preview offers a larger context window at 1.0M tokens compared to GPT-4.1's 1.0M.
Choose Gemini 3.1 Pro Preview when you need higher intelligence (57.2), stronger coding performance (55.5), faster output (113 tok/s).
Gemini 3.1 Pro Preview scores higher on coding benchmarks (55.5 vs 21.8), making it the better choice for programming tasks.
Gemini 3.1 Pro Preview is cheaper at $2.00/1M input tokens vs $2.00/1M for GPT-4.1.
Gemini 3.1 Pro Preview is faster, producing output at 113 tok/s compared to GPT-4.1's 84 tok/s.
Yes, GPT-4.1 supports image input. Gemini 3.1 Pro Preview also supports images.
Data last synced: March 26, 2026
| 1.0M |
| Max Output Tokens | N/A | N/A |
| Input Modalities | Image + Text + File | Audio + File + Image + Text + Video |
| Output Modalities | Text | Text |
| Free Tier | No | No |
Gemini 3.1 Pro Preview has a larger context window at 1.0M compared to GPT-4.1's 1.0M.
It depends on your priorities. Gemini 3.1 Pro Preview scores higher on intelligence (57.2), but GPT-4.1 may be better for specific use cases like budget-conscious projects or speed-critical applications.