Models
Gemini 3.8 Flash
- Model ID
- gemini-3.8-flash
- Context window
- 200k
- Max context
- 1M
- Provider
- Capabilities
- Agent, Thinking, Images
- Speed
- Fast
- Cost
- Low
- Intelligence
- High
Grok Build recommends using 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:
| Tool | What it does |
|---|---|
| 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. See Browser. |
| 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. See Rules. |
Learn more about how tools work and tool calling fundamentals.
Pricing
Gemini 3.8 Flash is a third-party model, so it isn't part of the usage included with your plan. 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.
| Name | Provider | Input | Cache write | Cache read | Output |
|---|---|---|---|---|---|
| Gemini 3.8 Flash | $0.75 | - | $0.075 | $3.75 |
Last updated: November 23, 2026