Skip to main content

Speech model

Gemini 3.1 Flash TTS Preview

google/gemini-3.1-flash-tts-preview

google/gemini-3.1-flash-tts-preview is a text-to-speech model from Google you can call on the OceanToken API at $0.001 per 1,000 characters.

At a glance

Model IDgoogle/gemini-3.1-flash-tts-preview
TypeSpeech
PublisherGoogle
Price$0.001 per 1,000 characters of input text
Endpoint/v1/audio/speech
API shapeOpenAI-compatible
In the catalog since2026-04-24

Call it

Base URL https://api.oceantoken.ai/v1, your OceanToken key as the bearer token, and the model ID above as model. The OpenAI SDKs work unchanged; see your first request.

curl https://api.oceantoken.ai/v1/audio/speech \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "google/gemini-3.1-flash-tts-preview", "input": "Welcome to OceanToken."}' --output speech.mp3

Compared with similar models

Speech models on OceanToken closest to google/gemini-3.1-flash-tts-preview in price. Every price is what you pay, in US dollars, with no platform fee on top.

ModelPublisherContextPrice (per 1K characters)
Gemini 3.1 Flash TTS PreviewGoogle$0.001
Kokoro 82M
hexgrad/kokoro-82m
Hexgrad$0.00062
Orpheus 3B 0.1 Ft
canopylabs/orpheus-3b-0.1-ft
Canopylabs$0.007
Csm 1B
sesame/csm-1b
Sesame$0.007

More from Google

All Google models on OceanToken

Use it

Create an account All models and prices

Prices and capabilities on this page were read from the live OceanToken catalog on 2026-10-18 (UTC), when the documentation was built. If a price has changed since, the console's Models page shows the current one.