Google AI Studio API

Google AI Studio is a platform for accessing Google's Gemini models.

Data & Privacy

HQ:US
Safety identifier:Not forwarded
API Training:No
Prompt Logging:Yes
Retention:55 days
GDPR:Compliant
SOC2:Type II Certified
ISO 27001:Certified

Available Models

Pricing and availability as of

Gemini 4 Neon

googlePremium
gemini-4-neon
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
Google AI StudioBatch
Context: 1.0M
Input
$3
/M tokens
Cached
$0.15
/M tokens
Output
$15
/M tokens
+ $0.014 per search

Gemini 4 Hydrogen

google
gemini-4-hydrogen
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
Google AI StudioBatch
Context: 1.0M
Input
$1.5
/M tokens
Cached
$0.075
/M tokens
Output
$7.5
/M tokens
+ $0.014 per search

Gemini 4 Carbon

googlePremium
gemini-4-carbon
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
Google AI StudioBatch
Context: 1.0M
Input
$4
/M tokens
Cached
$0.2
/M tokens
Output
$20
/M tokens
+ $0.014 per search

Gemini Omni 1.2 Flash

google
gemini-omni-1.2-flash
Google AI Studio
Context: 131.1k
Per Second Pricing
360p$0.02317/sec
720p$0.0695/sec
1080p$0.10426/sec
4k$0.20851/sec

Gemini Nano Banana 2.1

google
gemini-nano-banana-2.1
Streaming
Vision
Image Generation
Google AI StudioBatch
Context: 131.1k
Per image (1K)
$0.03360
Image Pricing (est. per image)
Input
any size~$0.00168
Output
1K~$0.03360
2K~$0.05040
4K~$0.07560
+ $0.014 per search

Gemini 4 Argon

googlePremium
gemini-4-argon
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
Google AI StudioBatch
Context: 1.0M
Input
$4
/M tokens
Cached
$0.2
/M tokens
Output
$20
/M tokens
+ $0.014 per search

Gemini 3.8 Flash-Lite TTS

google
gemini-3.8-flash-lite-tts
Google AI Studio
Context: 8.2k
Input
$1
/M tokens
Cached
—
/M tokens
Output
$12
/M tokens

Gemini 3.8 Flash TTS

googlePremium
gemini-3.8-flash-tts
Google AI Studio
Context: 8.2k
Input
$1
/M tokens
Cached
—
/M tokens
Output
$18
/M tokens

Gemini 3.8 Live

google
gemini-3.8-live
Tools
Google AI Studio
Context: 131.1k
Input
$0.75
/M tokens
Cached
$0.75
/M tokens
Output
$4.5
/M tokens

Lyria 3.5

google
lyria-3.5
Google AI Studio
Context: —
Input
$0
/M tokens
Cached
—
/M tokens
Output
$0
/M tokens
+ $0.080 per request

Gemini 3.8 Flash

google
gemini-3.8-flash
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
Google AI StudioBatch
Context: 1.0M
Input
$1.5
/M tokens
Cached
$0.15
/M tokens
Output
$7.5
/M tokens
+ $0.014 per search

Gemini Omni 1.1 Flash

google
gemini-omni-1.1-flash
Google AI Studio
Context: 131.1k
Per Second Pricing
360p$0.03379/sec
720p$0.10136/sec
1080p$0.15204/sec
4k$0.30408/sec

Gemini 3.6 Flash

google
gemini-3.6-flash
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
Google AI StudioBatch
Context: 1.0M
Input
$1.5
/M tokens
Cached
$0.15
/M tokens
Output
$7.5
/M tokens
+ $0.014 per search

Gemini 3.5 Flash Lite

google
gemini-3.5-flash-lite
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
Google AI StudioBatch
Context: 1.0M
Input
$0.3
/M tokens
Cached
$0.03
/M tokens
Output
$2.5
/M tokens
+ $0.014 per search

Gemini 3.1 Flash Lite Image

google
gemini-3.1-flash-lite-image
Streaming
Vision
Reasoning
Image Generation
Google AI StudioBatch
Context: 65.5k
Per image (1K)
$0.03360
Image Pricing (est. per image)
Input
any size~$0.00014
Output
1K~$0.03360

Gemini 3 Pro Image

google
gemini-3-pro-image
Streaming
Vision
JSON Output
JSON Schema
Image Generation
Google AI StudioBatch
Context: 65.5k
Per image (1K)
$0.13440
Image Pricing (est. per image)
Input
any size~$0.00112
Output
1K~$0.13440
2K~$0.13440
4K~$0.24000

Gemini 3.1 Flash Image

google
gemini-3.1-flash-image
Streaming
Vision
Image Generation
Google AI StudioBatch
Context: 131.1k
Per image (0.5K)
$0.04482
Image Pricing (est. per image)
Input
any size~$0.00056
Output
0.5K~$0.04482
1K~$0.06720
2K~$0.10080
4K~$0.15120

Gemini 3.1 Flash Lite

google
gemini-3.1-flash-lite
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
Google AI StudioBatch
Context: 1.0M
Input
$0.25
/M tokens
Cached
$0.025
/M tokens
Output
$1.5
/M tokens
+ $0.014 per search

Gemini Embedding 2

google
gemini-embedding-2
Google AI StudioBatch
Context: 8.2k
Input
$0.2
/M tokens
Cached
—
/M tokens
Output
$0
/M tokens

Gemini 3.1 Flash TTS Preview

googlePremiumScheduled for Deactivation
gemini-3.1-flash-tts-preview
Google AI Studio
Context: 8k
Deprecated since Nov 20, 2026Deactivating on Dec 18, 2026
Input
$1
/M tokens
Cached
—
/M tokens
Output
$20
/M tokens

Gemini 3.1 Flash Live Preview

google
gemini-3.1-flash-live-preview
Tools
Google AI Studio
Context: 131.1k
Input
$0.75
/M tokens
Cached
$0.75
/M tokens
Output
$4.5
/M tokens

Lyria 3 Pro Preview

google
lyria-3-pro-preview
Google AI Studio
Context: —
Input
$0
/M tokens
Cached
—
/M tokens
Output
$0
/M tokens
+ $0.080 per request

Lyria 3 Clip Preview

google
lyria-3-clip-preview
Google AI Studio
Context: —
Input
$0
/M tokens
Cached
—
/M tokens
Output
$0
/M tokens
+ $0.040 per request

Gemini Pro Latest

google
gemini-pro-latest
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
Google AI StudioBatch
Context: 1.0M
Input
$2
/M tokens
Cached
$0.2
/M tokens
Output
$12
/M tokens
Tiered Pricing
IN
CACHED
OUT
≤200K tokens
$2
$0.2
$12
>200K tokens
$4
$0.4
$18
+ $0.014 per search

Gemini 3.1 Flash Image (Preview)

google
gemini-3.1-flash-image-preview
Streaming
Vision
Image Generation
Google AI StudioBatch
Context: 131.1k
Per image (0.5K)
$0.04482
Image Pricing (est. per image)
Input
any size~$0.00056
Output
0.5K~$0.04482
1K~$0.06720
2K~$0.10080
4K~$0.15120

Gemini 3.1 Pro (Preview)

google
gemini-3.1-pro-preview
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
Google AI StudioBatch
Context: 1.0M
Input
$2
/M tokens
Cached
$0.2
/M tokens
Output
$12
/M tokens
Tiered Pricing
IN
CACHED
OUT
≤200K tokens
$2
$0.2
$12
>200K tokens
$4
$0.4
$18
+ $0.014 per search

Gemini 3 Flash (Preview)

google
gemini-3-flash-preview
Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
Google AI StudioBatch
Context: 1.0M
Input
$0.5
/M tokens
Cached
$0.05
/M tokens
Output
$3
/M tokens
+ $0.014 per search

Gemini 2.5 Flash Native Audio Preview (12-2025)

googleModel Deprecated
gemini-2.5-flash-native-audio-preview-12-2025
Tools
Google AI Studio
Context: 131.1k
Deprecated since Nov 20, 2026
Input
$0.5
/M tokens
Cached
$0.5
/M tokens
Output
$2
/M tokens

Gemini 3 Pro Image (Preview)

google
gemini-3-pro-image-preview
Streaming
Vision
JSON Output
JSON Schema
Image Generation
Google AI StudioBatch
Context: 65.5k
Per image (1K)
$0.13440
Image Pricing (est. per image)
Input
any size~$0.00112
Output
1K~$0.13440
2K~$0.13440
4K~$0.24000

Gemini 2.5 Flash Image

google
gemini-2.5-flash-image
Streaming
Vision
Image Generation
Google AI StudioBatch
Context: 32.8k
Per image (default)
$0.03870
Image Pricing (est. per image)

Gemini Embedding 001

google
gemini-embedding-001
Google AI StudioBatch
Context: 2.0k
Input
$0.15
/M tokens
Cached
—
/M tokens
Output
$0
/M tokens

Gemini 2.5 Flash Preview TTS

googleScheduled for Deactivation
gemini-2.5-flash-preview-tts
Google AI Studio
Context: 8k
Deprecated since Nov 20, 2026Deactivating on Dec 18, 2026
Input
$0.5
/M tokens
Cached
—
/M tokens
Output
$10
/M tokens

Gemini 2.5 Pro Preview TTS

googlePremiumScheduled for Deactivation
gemini-2.5-pro-preview-tts
Google AI Studio
Context: 8k
Deprecated since Nov 20, 2026Deactivating on Dec 18, 2026
Input
$1
/M tokens
Cached
—
/M tokens
Output
$20
/M tokens

FAQ

Google AI Studio API questions

Can't find an answer? Contact us

Create an LLM Gateway API key and point any OpenAI-compatible SDK at https://api.llmgateway.io/v1. Set the model to gemini-4-neon. On pay-as-you-go keys, google-ai-studio/gemini-4-neon pins every request to Google AI Studio; DevPass coding plans do not support provider pinning. You do not need a separate Google AI Studio account or SDK.