SunsetDiff

Replacement for gemini-2.5-flash-preview-tts: what changes when you switch

The official replacement is gemini-3.8-flash-tts. gemini-2.5-flash-preview-tts shuts down on 2026-11-17 per Google Gemini API's deprecation page (checked 2026-10-17). On the labeled example of 10 million input tokens and 2 million output tokens, gemini-3.8-flash-tts costs $23 a month, lower than $25 for gemini-2.5-flash-preview-tts.

gemini-2.5-flash-preview-tts model page · Google Gemini API

Official replacement. Full diff page

gemini-2.5-flash-preview-tts to gemini-3.8-flash-tts

Some values not published Checked 2026-10-17.

Price per 1M tokens

Price comparison. Example monthly cost for 10M input tokens and 2M output tokens. Labeled example, not a bill.
FieldOldNewChange
Input $0.5 $0.5 0% (same)
Output $10 $9 -10% (lower)
Cached input Not published Not published Not published
Example monthly cost $25 $23 Example only

Context and max output

Token limits
LimitOldNewChange
Context window 8,192 Not published Not published
Max output 16,384 Not published Not published

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-preview-tts",
    contents="Hello",
)
python after
from google import genai
client = genai.Client()
response = client.models.generate_content(
    model="gemini-3.8-flash-tts",
    contents="Hello",
)
typescript before
import { GoogleGenAI } from "@google/genai";
const ai = new GoogleGenAI({});
const response = await ai.models.generateContent({
  model: "gemini-2.5-flash-preview-tts",
  contents: "Hello",
});
typescript after
import { GoogleGenAI } from "@google/genai";
const ai = new GoogleGenAI({});
const response = await ai.models.generateContent({
  model: "gemini-3.8-flash-tts",
  contents: "Hello",
});
curl before
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-preview-tts: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.8-flash-tts:generateContent" \
  -H "x-goog-api-key: $GEMINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contents":[{"parts":[{"text":"Hello"}]}]}'

Checklist

  1. Read the shutdown date for gemini-2.5-flash-preview-tts on the linked official page.
  2. Point your requests at gemini-3.8-flash-tts.
  3. Re-check price, context, and parameters on the provider pages linked here.
  4. Ship the change before the published shutdown date.

Related models

Questions

What is the replacement for gemini-2.5-flash-preview-tts?

The official replacement is gemini-3.8-flash-tts. gemini-2.5-flash-preview-tts shuts down on 2026-11-17 per Google Gemini API's deprecation page (checked 2026-10-17). On the labeled example of 10 million input tokens and 2 million output tokens, gemini-3.8-flash-tts costs $23 a month, lower than $25 for gemini-2.5-flash-preview-tts.

Is gemini-3.8-flash-tts cheaper than gemini-2.5-flash-preview-tts?

Yes. The labeled example monthly cost is $25 for the old model and $23 for the replacement.

Does gemini-3.8-flash-tts have a bigger context window than gemini-2.5-flash-preview-tts?

Context window sizes are not both published on the official pages we checked.

Sources

Deprecation alerts

We store your email for deprecation alerts. We do not send email.

Deprecation alert signup
Providers (optional)