Staxly
Google Gemini API logo
ai-api

Google Gemini API pricing & features

Gemini 2.5 Pro, Flash, Flash-Lite — multimodal + 2M context

Gemini 2.5 Pro (1M-2M context), 2.5 Flash (fast/cheap), 2.5 Flash-Lite (cheapest). Multimodal (text, image, video, audio). Also available via Vertex AI (enterprise) + AI Studio (free dev).

Data sourced from vendor documentation · Last updated May 2026

Google AI StudioDocs ↗

Pricing

TierPriceNotes
Free Tier (AI Studio)FreeGenerous free tier with rate limits. Good for dev + prototyping. Data may be used to improve Google products.
Paid API (Gemini API)FreePay-as-you-go per-token. Data NOT used for training.
Vertex AI (GCP)FreeEnterprise deployment via Google Cloud. Same pricing structure + GCP features (IAM, VPC-SC, CMEK).
Gemini EnterpriseCustomCustom. Gemini 2.5 Deep Think model access + Google Workspace + Agentspace.

Limits

TierMetricValueNotes
batch api discount50% off all modelsBatch API
context cachingUp to 90% savings on cached prefixesContext caching
context window pro1048576 tokensGemini 2.5 Pro context (1M). 2M rolling out.
embedding-004$0.025/M tokenstext-embedding-004
free tier data usageFree tier prompts MAY be used to train/improve Google productsCritical privacy note
function callingFull support incl. parallel function callsFunction calling
gemini-2.5-flash-lite input$0.10/M tokensFlash-Lite input
gemini-2.5-flash-lite output$0.40/M tokensFlash-Lite output
gemini-2.5-flash input$0.30/M tokensGemini 2.5 Flash input
gemini-2.5-flash output$2.50/M tokensGemini 2.5 Flash output
gemini-2.5-pro input$1.25/M (≤200k tokens), $2.50/M (>200k)Gemini 2.5 Pro input
gemini-2.5-pro output$10/M (≤200k), $15/M (>200k)Gemini 2.5 Pro output
grounding with searchGoogle Search grounding available for factual queriesSearch grounding
imagen-3$0.04/image (standard)Imagen 3 generation
multimodal inputstext, image, video, audio, PDFAccepted input types
paid tier data usagePaid tier prompts are NEVER used for trainingPaid tier privacy

Features

Developer interfaces

SlugNameKindVersion
sdk-node@google/genaisdk1.x
mcpGemini MCPmcp
rest-apiGemini REST APIrestv1beta
vertex-aiVertex AI Endpointrestv1
sdk-pythongoogle-genai (Python)sdk1.x
sdk-gogoogle-genai-gosdk1.x

Related ai-api platforms

Compare Google Gemini API with

Staxly is an independent catalog of developer platforms. The link to Google Gemini API above may be an affiliate link — Staxly may earn a commission if you sign up through it, at no extra cost to you. Pricing is verified at publication time — reconfirm on the vendor site before buying.