#### Models

# Gemini 3.8 Flash

* Model ID: gemini-3.8-flash

* Context window: 200k

* Max context: 1M

* Provider: Google

* Capabilities: agent, thinking, images

* Speed: fast

* Cost: low

* Intelligence: high

> [!NOTE]
>
> Grok Build recommends using [Gemini 4 Hydrogen](/build/agents-window/models/gemini-4-hydrogen). It's Google's successor to Gemini 3.8 Flash.

Gemini 3.8 Flash is Google's previous speed-tier model. It pairs strong agentic coding performance with low per-token costs. Use it for high-throughput coding tasks that benefit from reasoning and a large context window.

## Strengths

* $0.75 per million input tokens and $3.75 per million output tokens.
* 90% discount on cached input tokens ($0.075/1M). Useful for repeated context such as large codebases.
* 1M token context window. Fits substantial portions of a repository in a single request.
* Three effort levels: high (the default), medium, and low. Drop to medium or low for faster responses on simpler tasks.

## Tools

Gemini 3.8 Flash has access to all agent tools in the Agents Window including:

* Search files and folders: Find files by name, read directory structures, and grep for patterns.

* Web: Generate search queries and fetch results from the web.

* Read files: Read file contents, including images for vision-capable models.

* Edit files: Suggest edits and apply them automatically.

* Run shell commands: Execute terminal commands and monitor output.

* Browser: Control a browser to take screenshots, test applications, and verify visual changes.

* Image generation: Generate images from text descriptions or reference images.

* Ask questions: Ask clarifying questions while continuing to work in the background.

* Fetch rules: Retrieve rules based on type and description.

Learn more about [how tools work](/build/agents-window/agent/overview#tools) and [tool calling fundamentals](/build/agents-window/learn/tool-calling).

## Pricing

Gemini 3.8 Flash is a third-party model, so it isn't part of the usage included with your [plan](/build/agents-window/models-and-pricing#third-party-models). On The X Subscription it's billed at the rates below from your prepaid credit. On legacy plans it draws from the **Other Models** pool. All prices are per million tokens.

* Gemini 3.8 Flash (Google): input $0.75/M, cache write -, cache read $0.075/M, output $3.75/M
