gemini-2.5-flash-lite-preview-09-2025 to gemini-3.1-flash-lite
Some values not published Checked 2026-10-17.
Price per 1M tokens
| Field | Old | New | Change |
|---|---|---|---|
| Input | Not published | $0.25 | Not published |
| Output | Not published | $1.5 | Not published |
| Cached input | Not published | $0.025 | Not published |
| Example monthly cost | Not published | $5.5 | Example only |
Context and max output
| Limit | Old | New | Change |
|---|---|---|---|
| Context window | 1,048,576 | 1,048,576 | 0% (same) |
| Max output | 65,536 | 65,536 | 0% (same) |
Capabilities that differ
No differing capability values are published for both models.
API changes
No parameter change is listed on the official pages we checked. The sample below only swaps the model id.
Code
python before
from google import genai
client = genai.Client()
response = client.models.generate_content(
model="gemini-2.5-flash-lite-preview-09-2025",
contents="Hello",
)
python after
from google import genai
client = genai.Client()
response = client.models.generate_content(
model="gemini-3.1-flash-lite",
contents="Hello",
)
typescript before
import { GoogleGenAI } from "@google/genai";
const ai = new GoogleGenAI({});
const response = await ai.models.generateContent({
model: "gemini-2.5-flash-lite-preview-09-2025",
contents: "Hello",
});
typescript after
import { GoogleGenAI } from "@google/genai";
const ai = new GoogleGenAI({});
const response = await ai.models.generateContent({
model: "gemini-3.1-flash-lite",
contents: "Hello",
});
curl before
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite-preview-09-2025:generateContent" \
-H "x-goog-api-key: $GEMINI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"contents":[{"parts":[{"text":"Hello"}]}]}'
curl after
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-3.1-flash-lite:generateContent" \
-H "x-goog-api-key: $GEMINI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"contents":[{"parts":[{"text":"Hello"}]}]}'
Checklist
- Read the shutdown date for gemini-2.5-flash-lite-preview-09-2025 on the linked official page.
- Point your requests at gemini-3.1-flash-lite.
- Re-check price, context, and parameters on the provider pages linked here.
- Ship the change before the published shutdown date.