All Models
23 Models ยท 2 Providers ยท PII Redacted

๐Ÿ’ŽGemini Models

by Google (Closed Source)

Google's Gemini family offers powerful multimodal capabilities with large context windows. Compare Gemini API pricing and Google AI API pricing across model tiers. Gemini 2.5 Pro leads with 1M+ token context and native multimodal understanding, while Gemini 2.0 Flash provides fast, cost-effective inference.

From $0.07/M tokens
2 providers
28+ PII entities redacted

Why deploy Gemini through OpenSourceAIHub?

Automatic PII Redaction

Every Gemini request is scanned for 28+ PII entity types โ€” SSNs, credit cards, emails, API keys, and more โ€” before it reaches any provider.

Smart Cost Routing

Gemini is available across 2 providers. Our Smart Router picks the cheapest one per-request. 30% managed markup / 0% on Pro BYOK.

Zero Code Changes

Change two lines in your OpenAI SDK โ€” base_url and api_key โ€” and every request flows through the Hub. Full backward compatibility.

Full Observability

Per-request logging of token counts, latency, DLP violations, and cost. Never wonder what your AI spend is again.

Gemini Strengths

  • Massive context windows (1M+ tokens on Pro variants)
  • Native multimodal: text, image, audio, and video understanding
  • Gemini 2.0 Flash: fast and cost-competitive
  • Strong performance on knowledge-intensive and multilingual tasks
  • Tight integration with Google Cloud ecosystem

Available Gemini Models (23)

Gemini 2.0 Flash

oah/gemini-2.5-flash-lite-preview-09
Closed โ€” Mini

Deploy Gemini 2.0 Flash with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $0.10/MOutput: $0.40/M

Gemini 2.0 Flash 001

oah/gemini-2.0-flash-001
Closed โ€” Mini

Deploy Gemini 2.0 Flash 001 with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
VisionInput: $0.10/MOutput: $0.40/M

Gemini 2.0 Flash-Lite

oah/gemini-2.0-flash-lite
Closed โ€” Mini

Deploy Gemini 2.0 Flash-Lite with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
VisionInput: $0.07/MOutput: $0.30/M

Gemini 2.0 Flash-Lite 001

oah/gemini-2.0-flash-lite-001
Closed โ€” Mini

Deploy Gemini 2.0 Flash-Lite 001 with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
VisionInput: $0.07/MOutput: $0.30/M

Gemini 2.5 Computer Use Preview 10-2025

oah/gemini-2.5-computer-use-preview-10
Closed โ€” Mini

Deploy Gemini 2.5 Computer Use Preview 10-2025 with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $1.25/MOutput: $10.00/M

Gemini 2.5 Flash

oah/gemini-2.5-flash
Closed โ€” Mini

Deploy Gemini 2.5 Flash with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google GeminiDeepInfra
Vision ReasoningInput: $0.30/MOutput: $2.50/M

Nano Banana

oah/gemini-2.5-flash-image
Closed โ€” Mini

Deploy Nano Banana with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $0.30/MOutput: $2.50/M

Gemini 2.5 Flash-Lite

oah/gemini-2.5-flash-lite
Closed โ€” Mini

Deploy Gemini 2.5 Flash-Lite with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $0.10/MOutput: $0.40/M

Gemini 2.5 Flash Preview TTS

oah/gemini-2.5-flash-preview-tts
Closed โ€” Mini

Deploy Gemini 2.5 Flash Preview TTS with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $0.30/MOutput: $2.50/M

Gemini 2.5 Pro

oah/gemini-2.5-pro
Closed โ€” Mini

Deploy Gemini 2.5 Pro with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google GeminiDeepInfra
Vision ReasoningInput: $1.25/MOutput: $10.00/M

Gemini 2.5 Pro Preview TTS

oah/gemini-2.5-pro-preview-tts
Closed โ€” Mini

Deploy Gemini 2.5 Pro Preview TTS with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $1.25/MOutput: $10.00/M

Gemini 3 Flash Preview

oah/gemini-3-flash-preview
Closed โ€” Mini

Deploy Gemini 3 Flash Preview with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $0.50/MOutput: $3.00/M

Nano Banana Pro

oah/gemini-3-pro-image-preview
Closed โ€” Mini

Deploy Nano Banana Pro with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $2.00/MOutput: $12.00/M

Gemini 3 Pro Preview

oah/gemini-3-pro-preview
Closed โ€” Mini

Deploy Gemini 3 Pro Preview with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $2.00/MOutput: $12.00/M

Nano Banana 2

oah/gemini-3.1-flash-image-preview
Closed โ€” Mini

Deploy Nano Banana 2 with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $0.25/MOutput: $1.50/M

Gemini 3.1 Flash Lite Preview

oah/gemini-3.1-flash-lite-preview
Closed โ€” Mini

Deploy Gemini 3.1 Flash Lite Preview with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $0.25/MOutput: $1.50/M

Gemini 3.1 Pro Preview

oah/gemini-3.1-pro-preview
Closed โ€” Mini

Deploy Gemini 3.1 Pro Preview with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $2.00/MOutput: $12.00/M

Gemini 3.1 Pro Preview Custom Tools

oah/gemini-3.1-pro-preview-customtools
Closed โ€” Mini

Deploy Gemini 3.1 Pro Preview Custom Tools with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $2.00/MOutput: $12.00/M

Gemini Flash Latest

oah/gemini-flash
Closed โ€” Mini

Deploy Gemini Flash Latest with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $0.30/MOutput: $2.50/M

Gemini Flash-Lite Latest

oah/gemini-flash-lite
Closed โ€” Mini

Deploy Gemini Flash-Lite Latest with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $0.10/MOutput: $0.40/M

Gemini Pro Latest

oah/gemini-pro
Closed โ€” Mini

Deploy Gemini Pro Latest with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $1.25/MOutput: $10.00/M

Gemini Robotics-ER 1.5 Preview

oah/gemini-robotics-er-1.5-preview
Closed โ€” Mini

Deploy Gemini Robotics-ER 1.5 Preview with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

Google Gemini
Vision ReasoningInput: $0.30/MOutput: $2.50/M

google/gemini-1.5-flash

oah/gemini-1.5-flash
Open Source

Deploy google/gemini-1.5-flash with built-in PII redaction and Hub governance. Available on Managed Credits and BYOK.

DeepInfra
Input: Free/MOutput: Free/M

Gemini Pricing Comparison (per 1M tokens, USD)

Input / Output pricing by provider. Managed Mode adds a 30% managed markup. Pro BYOK = 0% markup.

ModelParamsContextVisionGoogle GeminiDeepInfra
Gemini 2.0 Flash
oah/gemini-2.5-flash-lite-preview-09
โ€”1.0MYes
$0.10/$0.40
โ€”
Gemini 2.0 Flash 001
oah/gemini-2.0-flash-001
โ€”1.0MYes
$0.10/$0.40
โ€”
Gemini 2.0 Flash-Lite
oah/gemini-2.0-flash-lite
โ€”1.0MYes
$0.07/$0.30
โ€”
Gemini 2.0 Flash-Lite 001
oah/gemini-2.0-flash-lite-001
โ€”1.0MYes
$0.07/$0.30
โ€”
Gemini 2.5 Computer Use Preview 10-2025
oah/gemini-2.5-computer-use-preview-10
โ€”131KYes
$1.25/$10.00
โ€”
Gemini 2.5 Flash
oah/gemini-2.5-flash
โ€”1.0MYes
$0.30/$2.50
$0.30/$2.50
Nano Banana
oah/gemini-2.5-flash-image
โ€”33KYes
$0.30/$2.50
โ€”
Gemini 2.5 Flash-Lite
oah/gemini-2.5-flash-lite
โ€”1.0MYes
$0.10/$0.40
โ€”
Gemini 2.5 Flash Preview TTS
oah/gemini-2.5-flash-preview-tts
โ€”8KYes
$0.30/$2.50
โ€”
Gemini 2.5 Pro
oah/gemini-2.5-pro
โ€”1.0MYes
$1.25/$10.00
$1.25/$10.00
Gemini 2.5 Pro Preview TTS
oah/gemini-2.5-pro-preview-tts
โ€”8KYes
$1.25/$10.00
โ€”
Gemini 3 Flash Preview
oah/gemini-3-flash-preview
โ€”1.0MYes
$0.50/$3.00
โ€”
Nano Banana Pro
oah/gemini-3-pro-image-preview
โ€”131KYes
$2.00/$12.00
โ€”
Gemini 3 Pro Preview
oah/gemini-3-pro-preview
โ€”1.0MYes
$2.00/$12.00
โ€”
Nano Banana 2
oah/gemini-3.1-flash-image-preview
โ€”66KYes
$0.25/$1.50
โ€”
Gemini 3.1 Flash Lite Preview
oah/gemini-3.1-flash-lite-preview
โ€”1.0MYes
$0.25/$1.50
โ€”
Gemini 3.1 Pro Preview
oah/gemini-3.1-pro-preview
โ€”1.0MYes
$2.00/$12.00
โ€”
Gemini 3.1 Pro Preview Custom Tools
oah/gemini-3.1-pro-preview-customtools
โ€”1.0MYes
$2.00/$12.00
โ€”
Gemini Flash Latest
oah/gemini-flash
โ€”1.0MYes
$0.30/$2.50
โ€”
Gemini Flash-Lite Latest
oah/gemini-flash-lite
โ€”1.0MYes
$0.10/$0.40
โ€”
Gemini Pro Latest
oah/gemini-pro
โ€”1.0MYes
$1.25/$10.00
โ€”
Gemini Robotics-ER 1.5 Preview
oah/gemini-robotics-er-1.5-preview
โ€”1.0MYes
$0.30/$2.50
โ€”
google/gemini-1.5-flash
oah/gemini-1.5-flash
โ€”โ€”Noโ€”โ€”

Gemini Direct vs OpenSourceAIHub

What you get at each pricing tier. Hub adds security, governance, and multi-provider routing on top of raw API access.

ModeWhat You PayPII RedactionBudget CapsRoutingAudit Trail
Direct to GoogleProvider pricing onlyNoneNoneManualNone
Hub โ€” Managed ModeProvider + 30% markup28+ PII typesPer-key hard capsSmart RouterFull compliance log
Hub โ€” Pro BYOK ($29/mo)Direct to provider (0% markup)28+ PII typesPer-key hard capsSmart RouterFull compliance log

Popular Use Cases

1

Long-document analysis and RAG over large corpora

2

Multimodal applications processing images and documents

3

Multilingual customer support and translation

4

High-throughput batch processing (Flash variant)

Integration โ€” 2 Lines

from openai import OpenAI

client = OpenAI(
    base_url="https://api.opensourceaihub.ai/v1",
    api_key="your_hub_api_key"
)

# Use any virtual model name from the pricing table above
response = client.chat.completions.create(
    model="oah/gemini-2.5-flash-lite-preview-09",
    messages=[{"role": "user", "content": "Hello!"}]
)

Use any virtual model name from the pricing table above (prefixed with oah/). Works with the standard OpenAI SDK. Every request is PII-scanned before reaching Google (Closed Source).

Frequently Asked Questions

What is the Gemini API pricing on OpenSourceAIHub?
Gemini API pricing depends on the model variant. In Managed Mode, we add a 30% markup on Google's published API pricing. With Pro BYOK, use your own Google AI key at 0% markup. See the live pricing table above.
What is Google AI API pricing in 2026?
Google AI API pricing varies by Gemini model tier. Gemini 2.0 Flash is the most cost-effective, while Gemini 2.5 Pro is the premium option with 1M+ token context. The pricing table above reflects current rates.
What is the Gemini 2 API cost?
Gemini 2.0 Flash and Gemini 2.5 Pro have different pricing tiers. Check the comparison table above for per-token input/output costs across providers.
Can I use Gemini with PII redaction?
Yes. Our AI Firewall scans all Gemini-bound prompts for 28+ PII types before they reach Google's servers.
Does Gemini support vision through the Hub?
Yes. Vision-capable Gemini models work through the Hub, including OCR-based DLP scanning for images.

Previous Versions

These models have been retired by the provider. Migrate to a current variant above.

Gemini 2.5 Flash-Lite Preview Sep 2025gemini

Deploy Gemini with Enterprise-Grade Security

Get started with 1,000,000 free credits. Every Gemini request is PII-scanned, cost-optimized, and fully logged โ€” zero configuration.

Not ready yet? Get notified about Gemini updates:

Explore Other Model Families

Model registry last updated: . Pricing shown is the lowest available rate across providers (per 1M tokens, USD). Actual pricing depends on provider and plan.