# Gemini 3.8 Flash TTS

Gemini 3.8 Flash TTS is Google’s text-to-speech model for expressive voice generation and custom character design across more than 100 languages. It creates original voices from natural language prompts and offers granular control over acting cues, pacing, accents, and conversational reactions. Long-form audio and native two-speaker dialogue make it well suited to immersive audiobooks, games, podcasts, and interactive media

- **Model ID:** `google/gemini-3.8-flash-tts`
- **Type:** speech
- **Providers:** google, vertex
- **Context window:** 8,192
- **Maximum output tokens:** 16,384
- **Pricing:** $0.5/1M input tokens, $9/1M output tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/gemini-3.8-flash-tts

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
// Requires ai@7 and @ai-sdk/gateway@4.
import { experimental_generateSpeech as generateSpeech } from 'ai';
import { gateway } from '@ai-sdk/gateway';
import { writeFile } from 'node:fs/promises';

const result = await generateSpeech({
  model: gateway.speechModel('google/gemini-3.8-flash-tts'),
  text: 'Hello from the Vercel AI Gateway!',
  voice: 'Kore',
  outputFormat: 'wav',
});

await writeFile('speech.wav', result.audio.uint8Array);
```

## Links

- [Model page](https://vercel.com/ai-gateway/models/gemini-3.8-flash-tts)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider pricing](https://ai.google.dev/pricing)


If you encounter incorrect information, can’t find what you need, need a capability Vercel doesn’t currently offer, or have any other feedback to report, please do it by following the instructions at https://vercel.com/feedback.md.
