# Gemini 3.8 Flash

> Gemini 3.8 Flash is Google's multimodal model for fast agentic workflows, coding, and complex multi-step reasoning. It has a 1,048,576-token context window. It accepts text, image, video, file, and audio input.

**ID**: `google/gemini-3.8-flash`  
**Creator**: Google  
**Category**: text  
**Context**: 1M tokens  
**Pricing**: $0.28 / $1.41 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.28/M (list) | $1.41/M (list) |
| openrouter-byok | $0.82/M (list) | $4.13/M (list) |
| google-aistudio-byok | $0.75/M (list) | $3.75/M (list) |
| google-agent-platform-byok | $0.28/M (list) | $1.41/M (list) |
| vercel-byok | $0.75/M (list) | $3.75/M (list) |
| gmicloud-byok | $0.75/M (list) | $3.75/M (list) |
| venice-byok | $0.94/M (list) | $4.69/M (list) |
| nousresearch-byok | $0.82/M (list) | $4.13/M (list) |
| respan-byok | $1.50/M (list) | $7.50/M (list) |
| beatapi-byok | $0.28/M (list) | $1.41/M (list) |
| beatapi-byok | $0.38/M (list) | $1.88/M (list) |
| tokenharbor-byok | $0.75/M (list) | $3.75/M (list) |
| zenmux-byok | $0.75/M (list) | $3.75/M (list) |
| llmgateway-byok | $0.75/M (list) | $3.75/M (list) |
| aimlapi-byok | $0.75/M (list) | $3.75/M (list) |
| infron-byok | $0.28/M (list) | $1.41/M (list) |
| getvibe-byok | $0.54/M (list) | $2.68/M (list) |
| itera-byok | $0.60/M (list) | $3.00/M (list) |
| orcarouter-byok | $0.28/M (list) | $1.41/M (list) |
| opengateway-byok | $0.75/M (list) | $3.75/M (list) |
| onetoken-byok | $0.28/M (list) | $1.41/M (list) |
| opencode-zen-byok | $0.28/M (list) | $1.41/M (list) |
| nano-gpt-byok | $0.28/M (list) | $1.41/M (list) |
| edenai-byok | $0.28/M (list) | $1.41/M (list) |
| ofox-byok | $0.28/M (list) | $1.41/M (list) |
| abacus-byok | $0.28/M (list) | $1.41/M (list) |
| hilinkup-byok | $1.50/M (list) | $7.50/M (list) |
| fluence-byok | $0.38/M (list) | $1.88/M (list) |
| cortecs-byok | $0.28/M (list) | $1.41/M (list) |
| poe-byok | $0.28/M (list) | $1.41/M (list) |
| jiekou-byok | $0.28/M (list) | $1.41/M (list) |
| kenari-byok | $0.28/M (list) | $1.41/M (list) |
| nearai-byok | $0.28/M (list) | $1.41/M (list) |
| atlascloud-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.

## Benchmarks

- **GPQA Diamond**: 1.0
- **SciCode**: 0.6
- **OTIS Mock AIME**: 1.0
- **CursorBench**: 0.4
- **SimpleQA (verified)**: 0.7

Benchmark data from [Epoch AI](https://epoch.ai/benchmarks) (CC-BY 4.0).

## Source

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