Gemini 3.1 Pro Preview Custom Tools vs GPT-5.1-Codex (Comparative Analysis)
Loading comparison form...
Comparative Analysis: Gemini 3.1 Pro Preview Custom Tools vs. GPT-5.1-Codex
Want to try out these models side by side?Sign up for Spiral
Overview
GPT-5.1-Codex was released 3 months before Gemini 3.1 Pro Preview Custom Tools.
Model Provider The organization behind this AI's development | ||
Input Context Window Maximum input tokens this model can process at once | 1M tokens | 400K tokens |
Output Token Limit Maximum output tokens this model can generate at once | 65.5K tokens | 128K tokens |
Release Date When this model first became publicly available | February 25, 2026 9 months ago February 25th, 2026 | November 13, 2025 1 year ago November 13th, 2025 |
Capabilities & Features
Compare supported features, modalities, and advanced capabilities
Gemini 3.1 Pro Preview Custom Tools | GPT-5.1-Codex | |
|---|---|---|
Input Types Supported input formats | 📝Text🎵Audio🖼️Image🎬Video📁File | 📝Text🖼️Image |
Reasoning Controls Defaults and configurable reasoning effort | Always enabledEffort: High, Medium, LowDefault: Medium | Always enabledEffort: High, Medium, LowDefault: Medium |
Output Types Supported output formats | 📝Text | 📝Text |
Tokenizer Text encoding system | Gemini | GPT |
Key Features Advanced capabilities | ✓Function Calling✓Structured Output✓Reasoning ModeContent Moderation | ✓Function Calling✓Structured Output✓Reasoning ModeContent Moderation |
Pricing
Gemini 3.1 Pro Preview Custom Tools is roughly 1.6x more expensive compared to GPT-5.1-Codex for input tokens and roughly 1.2x more expensive for output tokens.
Short Context Pricing Base rates before a long-context threshold applies | ||
|---|---|---|
Input Token Cost Cost per million input tokens | $2.00 per million tokens | $1.25 per million tokens |
Output Token Cost Cost per million output tokens | $12.00 per million tokens | $10.00 per million tokens |
Web Search Cost Additional cost for each web search operation | $0.014 per search | Not specified |
Cache Read Cost Cost to reuse cached input tokens | $0.20 per million tokens | $0.13 per million tokens |
Cache Write Cost Cost to write input tokens to the cache | $0.38 per million tokens | Not specified |
Reasoning Token Cost Cost for internal reasoning tokens | $12.00 per million tokens | Not specified |
Image Input Cost Additional cost for each image input | $0.000002 per image | Not specified |
Audio Input Cost Additional cost for audio input | $0.000002 per unit | Not specified |
Audio Cache Cost Cost to reuse cached audio input tokens | $0.20 per million tokens | Not specified |
Long Context Pricing Rates for prompts with 200,000 or more tokens | ||
Input Token Cost Long-context input cost per million tokens | $4.00 per million tokens | Not specified |
Output Token Cost Long-context output cost per million tokens | $18.00 per million tokens | Not specified |
Cache Read Cost Long-context cache read cost per million tokens | $0.40 per million tokens | Not specified |
Benchmarks
Compare relevant benchmarks between Gemini 3.1 Pro Preview Custom Tools and GPT-5.1-Codex.
Best Design Arena Score Highest human-preference Elo score across design arenas | Benchmark not available. | 1,220 Elo (#55 in UI Component (60.0% win rate)) |
At a Glance
Quick overview of what makes Gemini 3.1 Pro Preview Custom Tools and GPT-5.1-Codex unique.
Explore More Comparisons
Compare your models with top performers across different categories
Compare Gemini 3.1 Pro Preview Custom Tools with:
🚀Programming
Best models for coding and development
🎨Creative & Roleplay
Models optimized for creative writing
📢Marketing
Content creation and marketing tasks
💻Technology
Technical analysis and explanations
🔬Science
Scientific research and analysis
🌐Translation
Multilingual translation tasks
Compare GPT-5.1-Codex with:
🚀Programming
Best models for coding and development
🎨Creative & Roleplay
Models optimized for creative writing
📢Marketing
Content creation and marketing tasks
💻Technology
Technical analysis and explanations
🔬Science
Scientific research and analysis
🌐Translation
Multilingual translation tasks