Compare

Gemini 3.5 Flash-Lite vs Grok Imagine Image 2.0

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
Gemini 3.5 Flash-Lite
google/gemini-3.5-flash-lite
Grok Imagine Image 2.0
xai/grok-imagine-image-2.0
Provider
Google
xAI
Family
Gemini 3
Modality
text
image
Context window
1,048,576 tok
Max output
65,536 tok
Released
2026-07-21
License
Proprietary
Proprietary
Input price
$0.300 /1M
Output price
$2.50 /1M
Per image
$0.060 /img
Tools
yes
Streaming
yes
Vision
yes
JSON mode
yes
Reasoning
Prompt caching
Batch API
Try it
Open in playground →
View model →
Gemini 3.5 Flash-Lite
google/gemini-3.5-flash-lite
Full spec →

Gemini 3.5 Flash-Lite is a low-latency, cost-effective multimodal model optimized for high-throughput, low-cost execution for subagent tasks and document parsing.

Strengths
  • General-purpose chat
  • Long context
  • Tool use
Use cases
ChatbotsContent generationAgentic workflows
Grok Imagine Image 2.0
xai/grok-imagine-image-2.0
Full spec →

Generate images from text using xAi's Grok Imagine 2.0 model.

Strengths
  • Text-to-image generation
  • Creative control
Use cases
Marketing assetsProduct mockupsConcept art

Compare with another

Grok 4.6 vs Gemini 3.5 Flash-Lite
xai/grok-4.6 · google/gemini-3.5-flash-lite
Gemini 3.7 Flash vs Gemini 3.5 Flash-Lite
google/gemini-3.7-flash · google/gemini-3.5-flash-lite
Claude Opus 5 vs Gemini 3.5 Flash-Lite
anthropic/claude-opus-5 · google/gemini-3.5-flash-lite
Qwen3.8 Max vs Gemini 3.5 Flash-Lite
alibaba/qwen3.8-max · google/gemini-3.5-flash-lite
Kimi K3 vs Gemini 3.5 Flash-Lite
moonshot/kimi-k3 · google/gemini-3.5-flash-lite
GPT-5.6 Sol vs Gemini 3.5 Flash-Lite
openai/gpt-5.6-sol · google/gemini-3.5-flash-lite
Claude Fable 5 vs Gemini 3.5 Flash-Lite
anthropic/claude-fable-5 · google/gemini-3.5-flash-lite
GLM-5.2 vs Gemini 3.5 Flash-Lite
zai-org/glm-5.2 · google/gemini-3.5-flash-lite
Gemini 3.1 Pro vs Gemini 3.5 Flash-Lite
google/gemini-3.1-pro · google/gemini-3.5-flash-lite
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-...",
)

# Gemini 3.5 Flash-Lite
client.chat.completions.create(
    model="google/gemini-3.5-flash-lite",
    messages=[{"role":"user","content":"hello"}],
)

# Grok Imagine Image 2.0
client.chat.completions.create(
    model="xai/grok-imagine-image-2.0",
    messages=[{"role":"user","content":"hello"}],
)
Get an AIgateway keyRun an eval on these →