Skip to content
etuki.
Catalog snapshot · illustrative workloads, not invoice totalsCANONICAL URL LOCKED: https://www.etuki.com/compare/google-gemini-2-5-flash-vs-openai-gpt-4-1

Google: Gemini 2.5 Flash vs OpenAI: GPT-4.1 — API Pricing, 150K Cache & Latency Benchmark

Side-by-side unit economics audit comparing Google: Gemini 2.5 Flash (google/gemini-2.5-flash: Input $0.3/1M, Output $2.5/1M, Warm Cache Read $0.03/1M) against OpenAI: GPT-4.1 (openai/gpt-4.1: Input $2/1M, Output $8/1M, Warm Cache Read $1/1M).

Cache pricing · Google: Gemini 2.5 Flash
Google: Gemini 2.5 Flash (google/gemini-2.5-flash) — Warm Cache $0.03/1M

Compare the listed input rate of $0.3/1M with the warm cache read rate of $0.03/1M. Batch and cache eligibility depend on the specific channel.

Cache pricing · OpenAI: GPT-4.1
OpenAI: GPT-4.1 (openai/gpt-4.1) — Warm Cache $1/1M

Compare the listed input rate of $2/1M with the warm cache read rate of $1/1M. A cache hit and any credit award depend on the provider’s terms.

📌 Estimated costs under the assumptions belowAPI IDs: google/gemini-2.5-flash vs openai/gpt-4.1

At the listed rates, the 10-turn scenario costs $0.1030 for Google: Gemini 2.5 Flash and $1.8100 for OpenAI: GPT-4.1. It assumes one cache write, nine warm reads of a 150,000-token prefix and 2,000 output tokens per turn. The difference is $1.7070; actual cache hits and fees may differ.

Specification / FinOps DimensionGoogle: Gemini 2.5 Flash (google/gemini-2.5-flash)OpenAI: GPT-4.1 (openai/gpt-4.1)Verified Advantage
Official Vendor API IDgoogle/gemini-2.5-flashopenai/gpt-4.1UMCE 563-Registry Locked
563-Registry & Routing Eligibilityis_known: true | routable: falseis_known: true | routable: falseSee registry status for each entry
Standard Uncached Input (/1M tokens)$0.3 / 1M$2 / 1MGoogle: Gemini 2.5 Flash
Warm Prefix Cache Read (/1M tokens)$0.03 / 1M$1 / 1MGoogle: Gemini 2.5 Flash
Standard Output (/1M tokens)$2.5 / 1M$8 / 1MGoogle: Gemini 2.5 Flash
Context Window Capacity1049K Tokens1048K TokensGoogle: Gemini 2.5 Flash
150K Prompt × 10 Turns (Unpinned Cold + 2K Out)$0.5000$3.1600Google: Gemini 2.5 Flash
150K × 10 Turns Case A (100% Static Pinned)$0.1030 (saves $0.3970)$1.8100 (saves $1.3500)Google: Gemini 2.5 Flash (-$1.7070)
150K × 10 Turns Case B (90% Static + 10% Tail)$0.1394 (saves $0.3606)$1.9450 (saves $1.2150)Google: Gemini 2.5 Flash
Illustrative P50 / P90 first-token latency160ms / 235ms (165 tok/s)279ms / 410ms (98 tok/s)Google: Gemini 2.5 Flash (-175ms)
🛡️ Model-Specific 150K-Token × 10-Turn Cache Actuarial Receipt (Google: Gemini 2.5 Flash vs OpenAI: GPT-4.1)Includes 150K Input + 2K Output per Turn

1. Full-Turn Rate-Card Substitution for Google: Gemini 2.5 Flash: At an uncached input rate of $0.3/1M, output rate of $2.5/1M, and warm cache read rate of $0.03/1M, running 10 consecutive 150,000-token coding agent turns (with 2,000 output tokens/turn) without prefix pinning costs $0.5000. Locking 100% static prefixes (Case A: 1 cold turn + 9 warm cached turns + 20K total output) reduces 10-turn spend to $0.1030 (saving $0.3970); under a 90% static prefix + 10% dynamic tail workload (Case B), 10-turn spend is $0.1394.

2. Full-Turn Rate-Card Substitution for OpenAI: GPT-4.1 & Winner Verdict: On OpenAI: GPT-4.1 ($2/1M input, $8/1M output, $1/1M warm cache), 10 unpinned 150K turns cost $3.1600, dropping to $1.8100 in Case A and $1.9450 in Case B. Across every 10-turn 150K coding loop (including output tokens), Google: Gemini 2.5 Flash delivers an additional $1.7070 Case-A cost advantage.

💎 Google: Gemini 2.5 Flashgoogle/gemini-2.5-flash
Base Input: $0.3/1M
Standard Output: $2.5/1M
Warm Cache: $0.03/1M
Illustrative P90 latency: 235ms (165 t/s)
🛰️ OpenAI: GPT-4.1openai/gpt-4.1
Base Input: $2/1M
Standard Output: $8/1M
Warm Cache: $1/1M
Illustrative P90 latency: 410ms (98 t/s)
🧮 Monthly cost scenario

50M tokens per month, plus $25 in assumed infrastructure costs

Annualized difference: $1301
Google: Gemini 2.5 Flash estimated monthly cost
20M Uncached + 20M Cached + 10M Output + Infra
$56.60/mo
OpenAI: GPT-4.1 estimated monthly cost
20M Uncached + 20M Cached + 10M Output + Infra
$165.00/mo

The estimated difference is $108.40/month ($1301/year) at a 50% input cache hit rate. No taxes, account discounts or separate egress fees are included.