Compare Nano Banana 2 (Gemini 3.1 Flash Image Preview) from Google and GPT-5.4 Image 2 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 2 (Gemini 3.1 Flash Image Preview) and GPT-5.4 Image 2 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Nano Banana 2 (Gemini 3.1 Flash Image Preview), from Google, has a 65,536-token context window and is priced at $0.50/M tokens input, $60/M tokens output on OpenRouter.
GPT-5.4 Image 2, from OpenAI, has a 272,000-token context window and is priced at $8/M tokens input, $30/M tokens output on OpenRouter.