# Gemini 3.8 Flash

`gemini-3.8-flash` reasoning dial

Gemini 3.8 Flash by Google is available through model.lol's OpenAI-, Anthropic- and Gemini-compatible API under the model id gemini-3.8-flash. It costs $0.36 per million input tokens and $1.8 per million output tokens ($0.036 per million cached input tokens), charged per token from a prepaid balance. That is 76% below Google's official API price. Context window: 1,048,576 tokens. Supports the reasoning dial: append -low, -medium, -high, -thinking, -nothinking to the id.

- **Input:** $0.36 per 1M tokens
- **Output:** $1.8 per 1M tokens
- **Cached input:** $0.036 per 1M tokens
- **Vs official price:** −76%input price
- **Context window:** 1M 1,048,576 tokens

|  |  |
| --- | --- |
| Vendor | Google |
| Prompt-cache writes | $0.45 (5 min) / $0.72 (1 hour) per 1M tokens: 1.25× and 2× the input price |
| Reasoning dial | `gemini-3.8-flash-low` `gemini-3.8-flash-medium` `gemini-3.8-flash-high` `gemini-3.8-flash-thinking` `gemini-3.8-flash-nothinking` |
| Also accepted as | `google/gemini-3.8-flash` `~google/gemini-flash-latest` `google/gemini-flash-latest` `gemini-flash-latest` |
| Added to the catalog | 2026-11-12 |
| Catalog entry updated | 2026-11-28 |

Prices are what a prepaid model.lol balance is charged per token; every answer reports the exact amount in `usage.cost`. A refused or moderated request also carries a violation fee (see [billing](https://model.lol/docs.md#billing)). Signed-in accounts in a pricing group see their group rate on [/pricing](https://model.lol/pricing.md).

## Call it

```
$ curl https://api.model.lol/v1/chat/completions \
  -H "Authorization: Bearer ml-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.8-flash",
    "messages": [{"role": "user", "content": "hi"}]
  }'
```

OpenAI SDKs: `base_url = https://api.model.lol/v1`. Anthropic SDKs and `POST /v1/messages` take the same id, and so does Claude Code:

```
export ANTHROPIC_BASE_URL=https://api.model.lol
export ANTHROPIC_AUTH_TOKEN=ml-your-key
claude --model gemini-3.8-flash
```

Gemini SDKs, the Responses API, streaming and tool calls: see the [docs](https://model.lol/docs.md).

## Other Google models

[gemini-4-argon](https://model.lol/models/gemini-4-argon.md) [gemini-4-carbon](https://model.lol/models/gemini-4-carbon.md) [gemini-4-hydrogen](https://model.lol/models/gemini-4-hydrogen.md) [gemini-4-neon](https://model.lol/models/gemini-4-neon.md)
