Gemini 1.5 Pro vs GPT-4o Mini: Detailed Comparison

Choosing between Gemini 1.5 Pro (Google) and GPT-4o Mini (OpenAI) comes down to three things: per-token pricing, context window, and which capability matters most for your workload. Gemini 1.5 Pro costs $1.25/M input vs $0.15/M for GPT-4o Mini; context windows are 2.0M vs 128K tokens. Detailed breakdown below.

Side-by-side specs

SpecGemini 1.5 ProGPT-4o Mini
ProviderGoogleOpenAI
Released2024-02-152024-07-18
Input price $1.25/M $0.15/M
Output price $5.00/M $0.60/M
Cached input $0.3100/M $0.0750/M
Context window 2.0M 128K
Max output 8K 16K
Modalities text image audio video text image
Tokenizer gemini o200k_base

Capability matrix

CapabilityGemini 1.5 ProGPT-4o Mini
function calling Yes Yes
json mode Yes Yes
vision Yes Yes
streaming Yes Yes
audio Yes No
video Yes No

Per-call cost on typical workloads

Workload (in/out tokens)Gemini 1.5 ProGPT-4o MiniCheaper by
Standard chat (1K / 500) $0.003750 $0.000450 GPT-4o Mini by $0.003300
RAG (4K / 500) $0.007500 $0.000900 GPT-4o Mini by $0.006600
Long doc (20K / 1K) $0.030000 $0.003600 GPT-4o Mini by $0.026400
Very long context (100K / 2K) $0.132500 $0.015900 GPT-4o Mini by $0.116600

When to choose Gemini 1.5 Pro over GPT-4o Mini

  • Larger context window (2.0M vs 128K) — relevant when whole documents or long histories must fit in a single call.
  • Supports audio — GPT-4o Mini does not.
  • Supports video — GPT-4o Mini does not.

When to choose GPT-4o Mini over Gemini 1.5 Pro

  • Per-token input cost is 88% lower than Gemini 1.5 Pro.

Related comparisons