Gemini 3.1 Pro Preview Custom Tools vs GPT-5.1 Codex Max
Price and specs side by side · USD per 1M tokens · verified 2026-10-11
// side by side
| metric | Gemini 3.1 Pro Preview Custom Tools | GPT-5.1 Codex Max |
|---|---|---|
| input / 1M | $2.00 | $1.25 |
| output / 1M | $12.00 | $10.00 |
| blended (3:1) | $4.50 | $3.4375 |
| cache read / 1M | $0.20 | $0.125 |
| context | 1.05M | 400K |
| max output | 65.5K | 128K |
| input types | text · image · video · audio · pdf | text · image |
| reasoning | yes | yes |
| tool calling | yes | yes |
| structured output | yes | yes |
| open weights | no | no |
| released | 2026-02-19 | 2025-11-13 |
| knowledge cutoff | 2025-01 | 2024-09-30 |
| lab | OpenAI |
// monthly cost scenarios
| workload | tokens in / out | Gemini 3.1 Pro Preview Custom Tools | GPT-5.1 Codex Max |
|---|---|---|---|
| Chatbot | 10M / 2M | $44.00 | $32.50 |
| RAG app | 50M / 5M | $160 | $113 |
| Coding agent | 20M / 10M | $160 | $125 |
// verdict
- GPT-5.1 Codex Max is 23.6% cheaper than Gemini 3.1 Pro Preview Custom Tools on a blended 3:1 input/output basis.
- Gemini 3.1 Pro Preview Custom Tools has the larger context window (1.05M vs 400K tokens).