OpenAI vs Gemini API pricing
Updated 2026-12-03. Prices from official pricing pages, quality ranks from LMArena.
Google is cheaper at the top end right now: Gemini 4 Argon lists at $4 input and $20 output per 1M tokens, vs $10 / $50 for GPT-6 Astra. OpenAI is cheaper at the small end: GPT-6 Luna is $0.10 / $0.50 vs Gemini 3.5 Flash-Lite at $0.30 / $2.50. On LMArena, Google's best model ranks higher for chat, creative writing, reasoning, agents and vision; OpenAI's ranks higher for coding and long documents.
| Model | Input | Output | 30M in + 6M out |
|---|---|---|---|
| GPT-6 Astra | $10 | $50 | $600 |
| GPT-6.2 Astra | $8 | $40 | $480 |
| GPT-5.6 Sol | $5 | $30 | $330 |
| GPT-5.5 | $5 | $30 | $330 |
| GPT-5.6 Terra | $2 | $12 | $132 |
| GPT-6.2 Sol | $2 | $10 | $120 |
| GPT-6.1 Sol | $2 | $10 | $120 |
| GPT-6 Sol | $2 | $10 | $120 |
| GPT-6.1 Terra | $1 | $5 | $60 |
| GPT-6 Luna | $0.10 | $0.50 | $6 |
| Gemini 4 Carbon | $4 | $20 | $240 |
| Gemini 4 Argon | $4 | $20 | $240 |
| Gemini 4 Neon | $3 | $15 | $180 |
| Gemini 3.1 Pro Preview | $2 | $12 | $132 |
| Gemini 4 Hydrogen | $1.50 | $7.50 | $90 |
| Gemini 3.8 Flash | $0.75 | $3.75 | $45 |
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | $24 |
USD per 1M tokens, paid tier, short-context rate, checked 2026-12-03. Ranks are positions among the models we track on LMArena (CC BY 4.0) Text Arena and Code Arena.
OpenAI vs Gemini prices, tier by tier
- Flagship: GPT-6 Astra $10 / $50 vs Gemini 4 Argon $4 / $20. Sample month (30M input, 6M output): $600 vs $240, so Astra costs 2.5x more.
- Workhorse: GPT-6.1 Sol $2 / $10 vs Gemini 3.8 Flash $0.75 / $3.75. Sample month: $120 vs $45. Sol is #10 for coding among tracked models, Flash #35.
- Small and cheap: GPT-6 Luna $0.10 / $0.50 vs Gemini 3.5 Flash-Lite $0.30 / $2.50. Sample month: $6 vs $24.
Who ranks higher, task by task
Best model from each provider on the LMArena leaderboards we track (lower is better):
- Chat: Gemini 4 Carbon #1 vs GPT-5.6 Sol #14
- Creative writing: Gemini 4 Argon #2 vs GPT-6.2 Astra #13
- Reasoning: Gemini 4 Argon #1 vs GPT-6.2 Astra #10
- Agents: Gemini 4 Neon #3 vs GPT-6 Astra #5
- Vision: Gemini 3.8 Flash #4 vs GPT-6.1 Sol #6
- Coding: GPT-6.2 Astra #4 vs Gemini 4 Carbon #6
- Long documents: GPT-5.6 Sol #2 vs Gemini 3.8 Flash #8
Launch prices that will change
- Gemini 3.8 Flash: $0.75 in, $3.75 out now; $1.50 in, $7.50 out from Jan 1, 2027, per the official pricing page.
Things the headline price hides
- Free tier: Google's Gemini API has a free tier with usage limits for some models (Gemini 3.8 Flash is free of charge there); Gemini 4 Argon is paid only.
- Long prompts: OpenAI charges a higher rate above 272K prompt tokens on GPT-6 models, and Gemini 3.1 Pro Preview charges more above 200K.
- Thinking tokens: Google's output price includes thinking tokens, so reasoning-heavy calls cost more than the reply length suggests.
Other providers are often cheaper still: see the cheapest LLM API ranking, OpenAI vs Anthropic API pricing, or the full AI API price table. Paying for a chat app instead? Google AI Pro vs ChatGPT Plus compares the $20 plans.
Sources
FAQ
Is the Gemini API cheaper than OpenAI?
At the top end, yes for now: Gemini 4 Argon is $4 input and $20 output per 1M tokens vs $10 and $50 for GPT-6 Astra. At the small end OpenAI is cheaper: GPT-6 Luna costs $0.10 / $0.50 vs $0.30 / $2.50 for Gemini 3.5 Flash-Lite.
How much does the Gemini 4 Argon API cost?
$4 input and $20 output per 1M tokens. It isn't on the free tier.
Which is better for coding, GPT or Gemini?
On LMArena's Code Arena, GPT-6 Astra is #5 and GPT-6.1 Sol #10 among the models we track, vs Gemini 4 Argon at #16. Ranks shift, so test on your own tasks.
Which is better for chat and writing?
Gemini 4 Argon is #2 on Text Arena and #2 for creative writing among tracked models; OpenAI's best are #14 and #13.
What is the cheapest OpenAI and Google model?
GPT-6 Luna ($0.10 / $0.50) and Gemini 3.5 Flash-Lite ($0.30 / $2.50) per 1M tokens, as of 2026-12-03.
Does the Gemini API have a free tier?
Yes, for some models, with usage limits, per Google's pricing page. Gemini 3.8 Flash is free of charge on the free tier; Gemini 4 Argon is paid only.
Model vs model, head to head
- GPT-6.1 Sol vs Gemini 4 Argon
- GPT-6 Luna vs Gemini 3.8 Flash
- GPT-6.1 Terra vs Gemini 3.8 Flash
- GPT-6 Astra vs Gemini 4 Argon
- Gemini 4 Hydrogen vs GPT-6.1 Terra
- GPT-6.2 Astra vs Gemini 4 Argon
- GPT-6.2 Sol vs Gemini 4 Hydrogen
- Gemini 4 Carbon vs GPT-6.1 Sol
- Gemini 4 Neon vs GPT-6.2 Astra
- Gemini 4 Neon vs GPT-6.2 Sol
- Compare any AI models side by side
Related
- Gemini 4 Neon vs GPT-6.2 Sol: API price compared
- Gemini 4 Neon vs GPT-6.2 Astra: API price compared
- Gemini 4 Neon vs Claude Opus 5.5: API price compared
- Gemini 4 Neon vs Gemini 4 Carbon: API price compared
- Gemini 4 Carbon vs GPT-6.1 Sol: price and LMArena
- GPT-6.2 Astra vs GPT-6.2 Sol: API price compared
- GPT-6.2 Sol vs Gemini 4 Hydrogen: mid-tier API price
- GPT-6.2 Astra vs Gemini 4 Argon: API price compared
- GPT-6.2 Sol vs GPT-6.1 Sol: same price, new model
- 1M context LLM API pricing: what a 500K-token prompt costs
- Cheapest AI API for coding, by quality level
- Grok API pricing: Grok 4.7, 4.3, Build, tools, rate limits
- GPT-6.1 Terra vs GPT-6.1 Sol: which should you use?
- DeepSeek off-peak hours and pricing in your time zone
- GPT-6 Astra vs GPT-6.1 Sol: cost, Codex limits, which to use
- OpenAI API pricing
- Google Gemini API pricing
- OpenAI vs Anthropic API pricing
- Cheapest LLM API
- Gemini 4 Argon usage limits
- Best model per task
More guides
- Gemini 4 Hydrogen limits and pricing
- OpenAI Ultrafast pricing: GPT-6.2 API rates and Codex usage
- Claude vs Gemini API pricing
- Gemini API free tier: which models are free
- DeepSeek Search and Fetch API pricing: what changes Oct 31
- Gemini 4 Carbon and Argon API prices doubled on Dec 1
Not sure a plan beats the API for you? Try the plan vs API cost calculator.