Compare Nano Banana Pro (Gemini 3 Pro Image Preview) from Google and GPT-5.1-Codex-Mini from OpenAI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
Nano Banana Pro (Gemini 3 Pro Image Preview) and GPT-5.1-Codex-Mini are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Nano Banana Pro (Gemini 3 Pro Image Preview), from Google, has a 65,536-token context window and is priced at $2/M tokens input, $120/M tokens output on OpenRouter.
GPT-5.1-Codex-Mini, from OpenAI, has a 400,000-token context window and is priced at $0.25/M tokens input, $2/M tokens output on OpenRouter.
| Attribute | Nano Banana Pro (Gemini 3 Pro Image Preview) | GPT-5.1-Codex-Mini |
|---|---|---|
| Input price | Not applicable | $0.25/M tokens |
| Output price | Not applicable | $2/M tokens |
| Context window | 65,536 tokens | 400,000 tokens |
| Intelligence Index | Not available | 20.4 |
| Coding Index | Not available | Not available |
| Agentic Index | Not available | Not available |
| Latency (p50) | Not available | 4.24 s |
| Throughput (p50) | Not available | 81.0 tok/s |
Benchmark data updated
GPT-5.1-Codex-Mini has the longer context window at 400,000 tokens, compared with 65,536 tokens for Nano Banana Pro (Gemini 3 Pro Image Preview).