freeaiapi.aiSign Up

Gemini API — every model, up to 30% cheaper

Get free Gemini API key

Access Gemini models with the OpenAI SDK you already use. One key, one balance, and live per-token prices on every model.

Models
9
From
$0.07 /M input
Below official
up to 30%
Prices updated
2026-11-26

Gemini API pricing

Live prices next to the official list price

Google: gemini-2.5-flash

−30% vs official

gemini-2.5-flash is a text and chat model from Google, available through one freeaiapi.ai API key and billed from your prepaid balance.

by google$0.21/M input tokens$1.75/M output tokens$0.021/M cached input

gemini-2.5-flash-lite is a text and chat model from Google, available through one freeaiapi.ai API key and billed from your prepaid balance.

by google$0.07/M input tokens$0.28/M output tokens$0.007/M cached input

gemini-3-flash-preview is a text and chat model from Google, available through one freeaiapi.ai API key and billed from your prepaid balance.

by google$0.35/M input tokens$2.10/M output tokens$0.035/M cached input

gemini-3.1-flash-lite is a text and chat model from Google, available through one freeaiapi.ai API key and billed from your prepaid balance.

by google$0.175/M input tokens$1.05/M output tokens$0.017/M cached input

gemini-3.1-flash-lite-preview is a text and chat model from Google, available through one freeaiapi.ai API key and billed from your prepaid balance.

by google$0.175/M input tokens$1.05/M output tokens$0.017/M cached input

Google: gemini-3.5-flash

−30% vs official

gemini-3.5-flash is a text and chat model from Google, available through one freeaiapi.ai API key and billed from your prepaid balance.

by google$1.05/M input tokens$6.30/M output tokens$0.105/M cached input

Gemini 3.5 Flash-Lite is the budget multimodal option for sub-agents, document parsing and other high-volume jobs, accepting text, pictures, video, sound and PDF files.

by google$0.21/M input tokens$1.75/M output tokens$0.021/M cached input

Google: gemini-3.8-flash

−30% vs official

Gemini 3.8 Flash is Google's generally available multimodal Flash model for coding and agents, with configurable reasoning depth and a very long context window for text, image, audio and video input.

by google$0.525/M input tokens$2.63/M output tokens$0.053/M cached input

Google: gemini-4-argon

−30% vs official

Gemini 4 Argon belongs to Google's newest Gemini generation and is aimed at demanding reasoning, coding and multimodal tasks.

by google$1.40/M input tokens$7.00/M output tokens$0.07/M cached input

Call Gemini models with the OpenAI SDK

Change the base URL and key — nothing else

curl https://api.freeaiapi.ai/v1/chat/completions \
  -H "Authorization: Bearer $FREEAIAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-2.5-flash",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Gemini API FAQ

Is this the official Google API?

No. freeaiapi.ai is an independent API gateway. You get one OpenAI-compatible key that routes to Google and other models, billed from a prepaid balance.

Do I need a credit card to start?

No. Sign up, connect Telegram and join our channel to unlock $1 trial credit. Create an API key and make your first request. Add funds when you want to keep going.

Does it work with the OpenAI SDK?

Yes. Point any OpenAI SDK or OpenAI-compatible tool at https://api.freeaiapi.ai/v1 and use your freeaiapi.ai key. No code changes beyond the base URL and key.

Other model APIs

Get your free Gemini API key

No card required. One key for every model, up to 30% below official pricing.

Get free API key

Not affiliated with Google. Gemini is a trademark of Google.