YepAPI
AI API/Google

Gemini API pricing & API key

Every Google model on one page: 29 models, from $0.13 to $2.95 per 1M input tokens. Get one Gemini API key from YepAPI and pay per request — no subscription, no Google account or waitlist.

Takes 30 seconds.

Gemini API pricing (29 models)

YepAPI prices per 1M tokens (text) or per output (media), cheapest first. Updated November 8, 2026.

Text Generation

ModelInput / 1MOutput / 1MContext
Gemma 4 26B$0.13$0.44262K
Gemini 2.5 Flash Lite$0.15$0.591.0M
Gemma 4 31B$0.30$0.59262K
Gemini 3.1 Flash Lite$0.37$2.221.0M
Gemini 2.5 Flash$0.44$3.691.0M
Gemini 3.5 Flash Lite$0.44$3.691.0M
Gemini 3 Flash$0.74$4.431.0M
Gemini 3.7 Flash$1.11$5.541.0M
Gemini 3.6 Flash$1.11$5.541.0M
Gemini 3.8 Flash$1.22$6.091.0M
Gemini 3.5 Flash$2.22$13.291.0M
Gemini 2.5 Pro$1.85$14.771.0M
Gemini 4 Argon$2.95$14.771.0M
Gemini 3.1 Pro$2.95$17.721.0M

Image Generation

ModelPrice
Gemini 3.1 Flash Lite Imagefrom $0.08/image
Gemini 2.5 Flash Imagefrom $0.09/image
Nano Banana 3.1 Flash$1.00/1M input, $120.00/1M output (~$0.19 est.)
Nano Banana 3 Pro$4.00/1M input, $240.00/1M output (~$0.32 est.)

Text to Speech

ModelPrice
Gemini 3.8 Flash Lite TTS$0.0359/1K chars
Gemini 3.8 Flash TTS$0.0527/1K chars
Gemini 3.1 Flash TTS$0.2005/1K chars

Video Generation

ModelPrice
Veo 3.1 Lite$0.11/sec (720p), $0.17/sec (1080p); without audio from $0.06/sec
Veo 3.1 Fast$0.21/sec (720p), $0.25/sec (1080p), $0.63/sec (4K); without audio from $0.17/sec
Veo 3.1$0.84/sec (720p-1080p), $1.27/sec (4K); without audio $0.42/sec, $0.84/sec (4K)

Music Generation

ModelPrice
Lyria 3 Clip$0.08/song
Lyria 3 Pro$0.16/song
Lyria 3.5$0.16/track

Image Analysis

ModelPrice
Gemini Image Analysis$0.60/1M input, $5.00/1M output, thinking billed as output (~$0.01 est.)

Video Analysis

ModelPrice
Gemini Video Analysis$0.60/1M input, $5.00/1M output, thinking billed as output (~$0.03 est.)

All Gemini models

Text Generation

Gemini 2.5 Flash

Text Generation

Access Gemini 2.5 Flash through one API key. Google's fastest model with 1M context.

1.0M ctx$0.44/M in

Gemini 2.5 Pro

Text Generation

Access Gemini 2.5 Pro through one API key. Google's most capable model with 1M context.

1.0M ctx$1.85/M in

Gemini 3.5 Flash

Text Generation

Access Gemini 3.5 Flash through one API key. Google's latest fast multimodal model.

1.0M ctx$2.22/M in

Gemini 3.1 Pro

Text Generation

Access Gemini 3.1 Pro through one API key. Google's next-generation model.

1.0M ctx$2.95/M in

Gemini 3 Flash

Text Generation

Access Gemini 3 Flash through one API key. Google's next-generation fast model.

1.0M ctx$0.74/M in

Gemini 3.1 Flash Lite

Text Generation

Access Gemini 3.1 Flash Lite through one API key. Ultra-affordable with 1M context.

1.0M ctx$0.37/M in

Gemini 3.8 Flash

Text Generation

Access Gemini 3.8 Flash through one API key. Google Most Intelligent Flash.

1.0M ctx$1.22/M in

Gemini 3.7 Flash

Text Generation

Access Gemini 3.7 Flash through one API key. Google Fast Agentic Multimodal.

1.0M ctx$1.11/M in

Gemini 3.6 Flash

Text Generation

Access Gemini 3.6 Flash through one API key. Google High-Efficiency Coding Flash.

1.0M ctx$1.11/M in

Gemini 3.5 Flash Lite

Text Generation

Access Gemini 3.5 Flash Lite through one API key. Google Cheapest Gemini Subagent Model.

1.0M ctx$0.44/M in

Gemma 4 31B

Text Generation

Access Gemma 4 31B through one API key. Google's open-weight model at ultra-low cost.

262K ctx$0.30/M in

Gemma 4 26B

Text Generation

Access Gemma 4 26B through one API key. Efficient MoE model at the lowest price.

262K ctx$0.13/M in

Gemini 2.5 Flash Lite

Text Generation

Access Gemini 2.5 Flash Lite through one API key. Google's cheapest model.

1.0M ctx$0.15/M in

Gemini 4 Argon

Text Generation

Access Gemini 4 Argon through one API key. Google Gemini 4 Flagship Reasoning.

1.0M ctx$2.95/M in

Image Generation

Text to Speech

Video Generation

Music Generation

Image Analysis

Video Analysis

Start using Google models in 30 seconds

Pay as you go, no subscriptions.

Google API through YepAPI

YepAPI provides access to Google models through a unified API endpoint. Instead of managing a separate Google API key and billing account, use your single YepAPI key to call any Google model alongside 256 other AI models from OpenAI, Anthropic, Google, Meta, and more.

All Google models use the same OpenAI-compatible request format. Switch between models by changing the model parameter — no SDK changes, no code rewrites. Pay per token with no monthly minimums.

How to get a Gemini API key

  1. Sign up at yepapi.com with Google or email — about 30 seconds.
  2. Open the dashboard and create an API key (it starts with yep_sk_).
  3. Call any Google model with that key — the OpenAI-compatible /v1/ai/chat/completions endpoint for text models.
  4. Top up any amount; usage is billed per request.

Gemini API FAQ

How much does the Gemini API cost?
Google models cost from $0.13 to $2.95 per 1M input tokens through YepAPI. The cheapest is Gemma 4 26B ($0.13 in / $0.44 out per 1M). You pay per request with no monthly fee.
How do I get a Gemini API key?
Sign up at yepapi.com (about 30 seconds), open the dashboard and create an API key. The one key works for all 29 Google models and 256 models from other providers — no separate Google account.
What is the cheapest Gemini model?
Gemma 4 26B — $0.13 in / $0.44 out per 1M.
Which Gemini model has the largest context window?
Gemini 2.5 Flash, with 1.0M tokens of context.
Can I use the Gemini API with the OpenAI SDK?
Yes. Set the base URL to https://api.yepapi.com/v1/ai, use your YepAPI key, and pass the Google model ID (for example "google/gemini-2.5-flash").

Ready to use Google models?

29 Google models included with one API key.