# Nano Banana (Gemini 2.5 Flash Image) vs GPT-5.1-Codex-Max

Source: https://openrouter.ai/compare/google/gemini-2.5-flash-image/openai/gpt-5.1-codex-max

## Overview

| Attribute | Nano Banana (Gemini 2.5 Flash Image) | GPT-5.1-Codex-Max |
| --- | --- | --- |
| Author | Google | OpenAI |
| Reasoning | No | Yes |
| Input modalities | Image, Text | Text, Image |
| Output modalities | Image, Text | Text |
| Input price | Not applicable | $1.25/M tokens |
| Output price | Not applicable | $10/M tokens |
| Price | $0.30/M tokens input, $30/M tokens output | $1.25/M tokens input, $10/M tokens output |
| Context window | 32,768 tokens | 400,000 tokens |
| Latency (p50) | 1.10 s | 3.18 s |
| Throughput (p50) | 51.0 tok/s | 81.0 tok/s |

## Nano Banana (Gemini 2.5 Flash Image) or GPT-5.1-Codex-Max: which should you choose?

### Choose Nano Banana (Gemini 2.5 Flash Image) for:

- a quicker first token (1.10 s vs 3.18 s)

### Choose GPT-5.1-Codex-Max for:

- a longer context window (400,000 vs 32,768 tokens)
- faster output (81.0 vs 51.0 tok/s)

## Model pages

- [Nano Banana (Gemini 2.5 Flash Image)](https://openrouter.ai/google/gemini-2.5-flash-image) ([llms.txt](https://openrouter.ai/google/gemini-2.5-flash-image/llms.txt))
- [GPT-5.1-Codex-Max](https://openrouter.ai/openai/gpt-5.1-codex-max) ([llms.txt](https://openrouter.ai/openai/gpt-5.1-codex-max/llms.txt))
