Compare

Imagen 4 vs Nano Banana Pro

Pricing per million tokens, context window, capabilities — pulled from each provider's public docs. All 2 are available via the same AIgateway OpenAI-compatible endpoint; flip the model string to switch.

Search2/4
Imagen 4
google/imagen-4
Nano Banana Pro
google/nano-banana-pro
Provider
Google
Google
Family
Imagen
Nano Banana
Modality
image
image
Context window
Max output
Released
2026-05-22
2026-05-22
License
Proprietary
Proprietary
Per image
$0.040 /img
$0.134 /img
Tools
Streaming
Vision
JSON mode
Reasoning
Prompt caching
Batch API
Try it
View model →
View model →
Imagen 4
google/imagen-4
Full spec →

Google's latest image generation model producing high-quality, photorealistic images from text prompts with support for multiple aspect ratios.

Strengths
  • High fidelity
  • Excellent prompt adherence
Use cases
IllustrationAd creativeConcept art
Nano Banana Pro
google/nano-banana-pro
Full spec →

Google's higher-quality image generation model with improved detail and prompt adherence.

Strengths
  • Fast + cheap
  • Strong for iterative edits
Use cases
Bulk generationImage-to-image edits

Compare with another

Imagen 4 vs GPT Image 1.5
google/imagen-4 · openai/gpt-image-1.5
Nano Banana Pro vs GPT Image 1.5
google/nano-banana-pro · openai/gpt-image-1.5
SWITCH BETWEEN THEM

One key, all 2, one line different.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.aigateway.sh/v1",
    api_key="sk-aig-...",
)

# Imagen 4
client.chat.completions.create(
    model="google/imagen-4",
    messages=[{"role":"user","content":"hello"}],
)

# Nano Banana Pro
client.chat.completions.create(
    model="google/nano-banana-pro",
    messages=[{"role":"user","content":"hello"}],
)
Get an AIgateway keyRun an eval on these →