Google: Gemini 2.5 Pro TTS

google/gemini-2.5-pro-preview-tts

Google Gemini 2.5 Pro TTS API pricing

Gemini 2.5 Pro TTS costs $0.400 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 $1.00). It takes text as input and returns audio. A cheaper Google option is Gemini 2.5 Flash TTS at $0.200 per 1M tokens; for every model and rate, see Gemini API pricing.

High-fidelity speech synthesis optimized for quality in structured workflows such as podcasts and audiobooks, with more natural outputs and easier-to-steer prompts.
ModalitiesTextAudio
Price$0.400 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.40012.20s—

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.400
per 1M tokens, input and output · standard price $1.00
Current discount
60%
off every rate
RateStandard priceChargedUnit
Tokens (input + output)$1.00$0.400per 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-pro-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-pro-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-pro-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
12.20s
P50, end to end
UTC

Throughput

P99—
P95—
P50—

Latency

P5010.3s
P7517.3s
P9526.0s
P9926.6s

Time to first token

P50—
P95—

Cache hit rate

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

Activity

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

Prompt672.1K
Completion5.3M

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 Pro TTS?
High-fidelity speech synthesis optimized for quality in structured workflows such as podcasts and audiobooks, with more natural outputs and easier-to-steer prompts.
How much does Gemini 2.5 Pro TTS cost?
Gemini 2.5 Pro TTS costs $0.400 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 $1.00). You pay per request, with no subscription.
How do I call Gemini 2.5 Pro TTS through the API?
Send a POST request to https://api.oxyy.ai/v1/audio/speech with "model": "gemini-2.5-pro-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 Pro TTS support?
Gemini 2.5 Pro TTS accepts text as input and returns audio.
When was Gemini 2.5 Pro TTS released?
Gemini 2.5 Pro TTS was released on May 20, 2025.
What other models does Google have?
Google also offers Gemini 2.5 Flash 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 Pro 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