OpenAI: GPT-4o (2024-05-13) vs Google: Gemini 3.1 Pro Preview Custom Tools: Which AI Model Is Better?
Updated March 24, 2026· Based on independent benchmark data
Quick Verdict
Google: Gemini 3.1 Pro Preview Custom Tools is 2.5x cheaper at $2.00/1M tokens vs $5.00/1M.
Head-to-Head Comparison
| Metric | OpenAI: GPT-4o (2024-05-13) | Google: Gemini 3.1 Pro Preview Custom Tools |
|---|---|---|
| Intelligence Score | N/A | 57.2 |
| Coding Score | N/A | 55.5 |
| Math Score | N/A | N/A |
| Speed (tok/s) | N/A | 117 tok/s |
| Latency (TTFT) | N/A | 21.91s |
| Input Price / 1M tokens | $5.00 | $2.00 |
| Output Price / 1M tokens | $15 | $12 |
| Context Window | 128K | 1.0M |
| Max Output Tokens | 4K | 66K |
| Input Modalities | Text + Image + File | Text + Audio + Image + Video + File |
| Output Modalities | Text | Text |
| Free Tier | No | No |
Detailed Analysis
Pricing
Google: Gemini 3.1 Pro Preview Custom Tools is more affordable at $2.00/1M input tokens ($12/1M output), while OpenAI: GPT-4o (2024-05-13) costs $5.00/1M input ($15/1M output). That makes OpenAI: GPT-4o (2024-05-13) 2.5x more expensive per token, which can add up significantly at scale. For a typical workload of 100 requests per day at 2,000 tokens each, OpenAI: GPT-4o (2024-05-13) would cost approximately $30.00/month vs $12.00/month for Google: Gemini 3.1 Pro Preview Custom Tools in input costs alone.
Context Window
Google: Gemini 3.1 Pro Preview Custom Tools offers a larger context window at 1.0M tokens compared to OpenAI: GPT-4o (2024-05-13)'s 128K. This means Google: Gemini 3.1 Pro Preview Custom Tools can process roughly 524 pages of text in a single request vs 64 pages for OpenAI: GPT-4o (2024-05-13). For output length, Google: Gemini 3.1 Pro Preview Custom Tools can generate up to 66K tokens per response vs 4K for OpenAI: GPT-4o (2024-05-13).
Best Use Cases
Choose Google: Gemini 3.1 Pro Preview Custom Tools when you need lower cost, larger context window (1.0M).
Choose Google: Gemini 3.1 Pro Preview Custom Tools if:
- ✓Budget is a concern ($2.00/1M vs $5.00/1M)
- ✓You need a larger context window (1.0M vs 128K)
Frequently Asked Questions
Which is cheaper, OpenAI: GPT-4o (2024-05-13) or Google: Gemini 3.1 Pro Preview Custom Tools?
Google: Gemini 3.1 Pro Preview Custom Tools is cheaper at $2.00/1M input tokens vs $5.00/1M for OpenAI: GPT-4o (2024-05-13).
Can OpenAI: GPT-4o (2024-05-13) process images?
Yes, OpenAI: GPT-4o (2024-05-13) supports image input. Google: Gemini 3.1 Pro Preview Custom Tools also supports images.
Which has a larger context window, OpenAI: GPT-4o (2024-05-13) or Google: Gemini 3.1 Pro Preview Custom Tools?
Google: Gemini 3.1 Pro Preview Custom Tools has a larger context window at 1.0M compared to OpenAI: GPT-4o (2024-05-13)'s 128K.
Related Comparisons
Benchmark data by Artificial Analysis
Data last synced: March 24, 2026