# Gemini 3.8 Flash

Gemini 3.8 Flash is the next iteration in the Gemini 3 model family, featuring algorithmic improvements to its core reasoning foundation. It supports customizable thinking configurations to control the mix of quality, cost and latency.

- **Model ID:** `google/gemini-3.8-flash`
- **Type:** chat
- **Providers:** google, vertex
- **Context window:** 1,000,000
- **Maximum output tokens:** 65,536
- **Pricing:** $0.75/1M input tokens, $3.75/1M output tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/gemini-3.8-flash

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { streamText } from 'ai'

const result = streamText({
  model: 'google/gemini-3.8-flash',
  prompt: 'Why is the sky blue?'
})
```

## Links

- [Model page](https://vercel.com/ai-gateway/models/gemini-3.8-flash)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://deepmind.google/models/model-cards/gemini-3-8-flash/)
