# Gemini 2.5 Flash Image Preview (Nano Banana) vs Codex Mini

Source: https://openrouter.ai/compare/google/gemini-2.5-flash-image-preview/openai/codex-mini

## Overview

| Attribute | Gemini 2.5 Flash Image Preview (Nano Banana) | Codex Mini |
| --- | --- | --- |
| Author | Google | OpenAI |
| Reasoning | No | Yes |
| Input modalities | Image, Text | Image, Text |
| Output modalities | Image, Text | Text |
| Input price | Pricing varies by provider | Pricing varies by provider |
| Output price | Pricing varies by provider | Pricing varies by provider |
| Context window | 32,768 tokens | 200,000 tokens |
| Latency (p50) | Not available | Not available |
| Throughput (p50) | Not available | Not available |

## Gemini 2.5 Flash Image Preview (Nano Banana) or Codex Mini: which should you choose?

### Choose Codex Mini for:

- a longer context window (200,000 vs 32,768 tokens)

Gemini 2.5 Flash Image Preview (Nano Banana) does not lead on any comparison both models report.

## Model pages

- [Gemini 2.5 Flash Image Preview (Nano Banana)](https://openrouter.ai/google/gemini-2.5-flash-image-preview) ([llms.txt](https://openrouter.ai/google/gemini-2.5-flash-image-preview/llms.txt))
- [Codex Mini](https://openrouter.ai/openai/codex-mini) ([llms.txt](https://openrouter.ai/openai/codex-mini/llms.txt))
