# Gemini 3.8 Flash

> Google's Gemini 3.8 Flash is a multimodal model for fast agentic workflows, coding, and complex multi-step reasoning, with a 1,048,576-token context window.

**ID**: `google/gemini-3.8-flash`  
**Creator**: Google  
**Category**: text  
**Context**: 1M tokens  
**Pricing**: $0.38 / $1.88 per 1M · billed by your provider (BYOK)  
**Released**: 2026-09-02  
**Web page**: https://anyrouter.dev/model/google/gemini-3.8-flash

**Input modalities**: text, image, video, file, audio  
**Output modalities**: text  

**Tokenizer**: Gemini

**Capabilities**: chat, streaming, function-calling, vision, coding

**Aliases**: `gemini-3.8-flash`, `google/gemini-3.8-flash-free`, `gemini-3.8-flash-free`

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "google/gemini-3.8-flash",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| aihubmix-byok | $0.38/M (list) | $1.88/M (list) |
| openrouter-byok | $0.38/M (list) | $1.88/M (list) |
| google-aistudio-byok | $0.38/M (list) | $1.88/M (list) |
| google-agent-platform-byok | $0.38/M (list) | $1.88/M (list) |
| vercel-byok | $0.75/M (list) | $3.75/M (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.

## Source

- Upstream docs: https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/gemini/3-8-flash
