Google: Gemini 2.5 Flash TTS

google/gemini-2.5-flash-preview-tts

Google Gemini 2.5 Flash TTS API pricing

Gemini 2.5 Flash TTS costs $0.200 per million tokens on Oxyy, one rate for input and output. That is the pay-as-you-go price after the current 60% discount (Launch Promo; standard price $0.500). It takes text as input and returns audio. It is the lowest-priced Google speech model on Oxyy; for every model and rate, see Gemini API pricing.

Fast and controllable text-to-speech for low-latency, cost-efficient applications and real-time assistants, with fine control over style and pacing.
ModalitiesTextAudio
Price$0.200 per 1M tokens, input and outputAll Gemini API pricing
Context8K
ReleasedMay 20, 2025

Providers

Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.

ProviderTokens /MLatencyThroughput
Google$0.2005.62s—

Capabilities (7)

StreamingAudio GenerationVoice InstructionsMulti SpeakerLanguage DetectionSynthid WatermarkBatch

Supported parameters (5)

speech_config.voice_namespeech_config.multi_speaker_voice_configresponse_modalitiessystem_instructiontemperature

The endpoint's own fields, shown in the quickstart below, are required as well; a request without them is rejected.

Pricing

What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.

Price
$0.200
per 1M tokens, input and output · standard price $0.500
Current discount
60%
off every rate
RateStandard priceChargedUnit
Tokens (input + output)$0.500$0.200per 1M tokens, input and output

Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.

Specifications

Model ID
gemini-2.5-flash-preview-tts
Developer
Google
Type
Text to speech
Input
Text
Output
Audio
Context window
8,000 tokens
Max output
16,000 tokens
Released
May 20, 2025
Endpoint
/v1/audio/speech

Quickstart

Call gemini-2.5-flash-preview-tts with a POST to /v1/audio/speech on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oxyy.ai/v1",
    api_key=os.environ["OXYY_API_KEY"],
)

with client.audio.speech.with_streaming_response.create(
    model="gemini-2.5-flash-preview-tts",
    voice="alloy",
    input="Hello from Oxyy.",
    response_format="mp3",
) as response:
    response.stream_to_file("speech.mp3")

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better). Throughput and TTFT are measured on streaming requests, which are the only ones with a first-token moment to time.

Throughput
—tok/s
P50, streaming requests
Latency
5.62s
P50, end to end
UTC

Throughput

P99—
P95—
P50—

Latency

P504652ms
P7511.4s
P9523.4s
P9928.5s

Time to first token

P50—
P95—

Cache hit rate

0.00%
Share of input tokens served from the prompt cache over the window.

Availability

The share of requests to this model that completed successfully over the last 30 days. Requests the caller cancelled, and requests still in flight, are not counted. When an upstream provider errors, the gateway retries against another provider serving the same model, so a single provider incident does not necessarily show up here.

Success rate (30 days)
16.30%
over 7,179 completed requests
Days with traffic
19
of the last 30 days

Days are UTC days. Days with no completed requests are omitted rather than drawn at 100% — no traffic is not evidence of availability.

Activity

Token volume and request traffic to this model over time. Daily totals, UTC.

Prompt33.2K
Completion302.2K

Prompt tokens measure input size. Completion tokens reflect total output length. Reasoning is not priced separately for this model, so it is not itemised here.

Frequently asked questions

What is Gemini 2.5 Flash TTS?
Fast and controllable text-to-speech for low-latency, cost-efficient applications and real-time assistants, with fine control over style and pacing.
How much does Gemini 2.5 Flash TTS cost?
Gemini 2.5 Flash TTS costs $0.200 per million tokens on Oxyy, one rate for input and output. That is the pay-as-you-go price after the current 60% discount (Launch Promo; standard price $0.500). You pay per request, with no subscription.
How do I call Gemini 2.5 Flash TTS through the API?
Send a POST request to https://api.oxyy.ai/v1/audio/speech with "model": "gemini-2.5-flash-preview-tts", authenticated with your Oxyy API key. Put the text in "input" and choose a "voice"; the response body is the audio file.
What inputs and outputs does Gemini 2.5 Flash TTS support?
Gemini 2.5 Flash TTS accepts text as input and returns audio.
When was Gemini 2.5 Flash TTS released?
Gemini 2.5 Flash TTS was released on May 20, 2025.
What other models does Google have?
Google also offers Gemini 2.5 Pro TTS, Gemini 3.1 Flash TTS, Gemini 3.8 Flash-Lite TTS and Gemini 3.8 Flash TTS through Oxyy.

Alternatives to Gemini 2.5 Flash TTS

Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

Explore more models

More models from Google