LLM Reference
Google AI Studio

Using Gemini 3.5 Flash-Lite on Google AI Studio

Implementation guide · Gemini 3.5 · Google DeepMind

Serverless

Quick Start

  1. 1
    Create an account at Google AI Studio and generate an API key.
  2. 2
    Use the Google AI Studio SDK or REST API to call gemini-3.5-flash-lite — see the documentation for request format.
  3. 3
    You'll be billed $0.30/1M input, $2.50/1M output tokens. See full pricing.

Code Examples

Install
pip install google-genai
API key
GOOGLE_API_KEY
Model ID
gemini-3.5-flash-lite

Use the model name directly, e.g. "gemini-2.0-flash", "gemini-1.5-pro", or "gemini-2.5-pro-preview-05-06".

import os
from google import genai

client = genai.Client(api_key=os.environ["GOOGLE_API_KEY"])
response = client.models.generate_content(
    model="gemini-3.5-flash-lite",
    contents="Hello"
)
print(response.text)

About Google AI Studio

Google AI Studio is a model prototyping environment and API access point for Gemini models, offering an inference playground for developers to test and build AI applications.

Pricing on Google AI Studio

TypePrice (per 1M)
Input tokens$0.30
Output tokens$2.50

Capabilities

VisionMultimodalReasoningFunction CallingTool UseStructured OutputsCode ExecutionPrompt CachingBatch APIAudio

About Gemini 3.5 Flash-Lite

Gemini 3.5 Flash-Lite is Google DeepMind's generally available multimodal model in the Gemini 3.5 family. It accepts text, image, video, audio, and PDF inputs and returns text, with a 1,048,576-token context window, up to 65,536 output tokens, and Gemini API support for code execution, prompt caching, and batch processing. Compare it for Coding, Agents, Long context, Vision, and JSON / Tool use. In Google AI Studio, select Gemini 3.5 Flash-Lite when lower token cost and high throughput are the priority; select Gemini 3.6 Flash when higher capability matters more.

Model Specs

Released2026-07-21
Context1.05m