Gemini Pro — Google's higher-quality Gemini tier. Strong reasoning with large context windows.
Key strengths
- Strong reasoning
- 1M+ context
- Multimodal
- Good for research
Use cases
- Deep analysis
- Long-context reasoning
- Multimodal workflows
- Complex QA
Google's google/gemini-2.5-pro-tts is a high-quality speech model. It generates natural-sounding speech across multiple voices and languages, with low-latency streaming output suitable for real-time voice applications.
Supports SSML-style controls, configurable voices, speaking rate, and pitch. Compatible with the OpenAI `/audio/speech` and `/audio/transcriptions` endpoint shapes.
google/gemini-2.5-pro-tts is fully OpenAI-compatible — drop in your existing OpenAI Python or Node SDK and switch `baseURL` to `https://api.tokenlx.ai`. TokenLX transparently routes your requests to the optimal provider endpoint while preserving streaming, function-calling, and structured-output semantics.
Performance
Compare different providers across TokenLX · All locations.
Effective Pricing
Actual cost per million tokens across providers over the past 7 days.
Recent activity
Total usage per day on TokenLX (last 30 days).
Sample code & API
TokenLX normalizes requests and responses across providers. Use any OpenAI SDK or our native SDK.
import requests
response = requests.post(
"https://api.tokenlx.ai/v1/generate/speech",
headers={
"Authorization": "Bearer sk-tokenlx-...",
"Content-Type": "application/json",
},
json={
"model": "gemini-2.5-pro-tts",
"text": "你好,欢迎使用 AI 语音合成服务。",
"voiceName": "default",
"format": "mp3",
"sampleRate": 24000,
},
)
data = response.json()
print(data)Replace sk-aihubrouter-… with your key from the dashboard.