AIREITER
GoogleText Chat

Gemini 3.8 Flash

Try Gemini 3.8 Flash online for long-context coding, autonomous agents, enterprise workflows, streaming output, and OpenAI-compatible API access.

InputOfficial $0.75 per 1M tokensAIReiter $0.225 per 1M tokensOutputOfficial $3.75 per 1M tokensAIReiter $1.125 per 1M tokensCache readOfficial $0.075 per 1M tokensAIReiter $0.0225 per 1M tokens
Run with API

INPUT

OUTPUT

Example
Generated in
42.7 seconds
Input tokens
134
Output tokens
2354
Tokens per second
55.13 tokens / second
Time to first token
-

Model details

Use the same model key in Playground, API requests, and internal workflows.

Model ID
gemini-3.8-flash
Provider
Google
Protocol
OpenAI Chat Completions
Context window
1,048,576 tokens
Max output
65,536 tokens
Input tokens
22.5 credits / 1M tokens
Output tokens
112.5 credits / 1M tokens
Cache read
2.25 credits / 1M tokens
Cache write
-

What You Can Do with Gemini 3.8 Flash

A fast Flash model with a million-token context window, adjustable thinking, and enough reasoning depth for real engineering work.

Long-context coding

Review large repositories, trace changes across files, and keep the working context in one request instead of stitching together many short prompts.

Autonomous agent steps

Use low, medium, or high thinking effort to balance speed and accuracy across planning, tool orchestration, verification, and recovery.

Enterprise document work

Process long specifications, policy collections, and operational records while preserving the relationships between sections and decisions.

Streaming answers

Stream partial output through the OpenAI-compatible Chat Completions endpoint and inspect input, output, and reasoning usage after each call.

Gemini 3.8 Flash Use Cases

Choose it when the task is too broad for a small chat model but does not need a slower flagship route.
01

Multi-file refactoring

Map dependencies, propose a safe edit sequence, and explain the resulting code changes across a large project.

02

Research and synthesis

Combine long notes, reports, and structured evidence into a concise brief with explicit assumptions and next steps.

03

Agent orchestration

Handle the frequent planning and verification turns in an agent loop, then reserve premium models for the hardest decisions.

04

High-volume knowledge work

Run classification, extraction, drafting, and review workflows with a configurable thinking level and predictable token accounting.

Gemini 3.8 Flash Pricing

Google introductory standard pricing through December 31, 2026 is $0.75 input, $3.75 output, and $0.075 cached input per million tokens. AIReiter currently charges 30% of those rates; the live price is shown above the playground.
01

Output includes thinking

Google bills thinking tokens as output tokens. A difficult task can therefore cost more than its visible answer suggests.

02

Cache reads have their own rate

Repeated stable prefixes can use context caching. Confirm a hit in the response usage details before estimating the lower cached-input rate.

03

One million-token context

The context window is large enough for repository-scale prompts and long document sets, while the maximum output is 64K tokens.

04

Introductory period matters

The listed introductory rates run through December 31, 2026; Google documents higher standard rates from January 1, 2027.

Gemini 3.8 Flash vs Gemini 3.7 Flash

Both Flash generations share the same introductory price and million-token context. Choose based on the workflow you need to run, not the version number alone.

Same price, newer generation

Google lists the same introductory standard rates for Gemini 3.8 Flash and Gemini 3.7 Flash through December 31, 2026: $0.75 input, $3.75 output, and $0.075 cached input per million tokens.

3.8 is aimed at longer jobs

Gemini 3.8 Flash is positioned for long-horizon software engineering, autonomous agents, and complex enterprise workflows. Use it when the model must plan, verify, and continue across many steps.

3.7 remains a practical fallback

Keep Gemini 3.7 Flash for an existing production route with a stable evaluation set. Switching to 3.8 is a model-ID change, but your accepted-answer and latency metrics should decide the rollout.

Compare total output, not sticker price

Both models count thinking tokens as output. A route that needs fewer retries or completes a task in one pass can be cheaper even when its visible answer is longer.

Call the Gemini 3.8 Flash API

Use the same public model ID in the playground and in your OpenAI-compatible client.

01

Choose a thinking level

Gemini 3.8 Flash supports low, medium, and high thinking. Minimal thinking is not supported.

02

Leave room for reasoning

Set max_tokens high enough for thinking plus the visible answer. A small limit can be consumed before text appears.

03

POST the Chat Completions request

Call POST https://aireiter.com/api/v1/chat/completions with model "gemini-3.8-flash" and stream=true when incremental output is useful.

04

Inspect usage

Read prompt_tokens, completion_tokens, completion_tokens_details.reasoning_tokens, and prompt_tokens_details.cached_tokens when returned.

Gemini 3.8 Flash API Questions

The practical details to confirm before routing production traffic.

/ 01

What is the Gemini 3.8 Flash model ID?

Use gemini-3.8-flash. The AIReiter internal model key is chat-gemini-3.8-flash.

/ 02

Which endpoint should I use?

Use POST https://aireiter.com/api/v1/chat/completions with an AIReiter API key and the OpenAI-compatible request body.

/ 03

Does Gemini 3.8 Flash support streaming?

Yes. Set stream to true to receive incremental Chat Completions SSE events.

/ 04

How large is the context window?

The documented context window is 1,048,576 tokens, with up to 65,536 output tokens.

/ 05

Why is output-token usage higher than visible text?

Thinking tokens are included in output billing. Lower the thinking level for latency-sensitive or routine requests.

/ 06

How do I confirm a cache hit?

Check usage.prompt_tokens_details.cached_tokens. A repeated prompt alone does not prove that the prefix was reused.

/ 07

Can I use temperature and top_p?

The Gemini 3.8 Flash migration guidance recommends removing temperature, top_p, and top_k. Use the thinking-level control instead.

/ 08

What are the current official rates?

The introductory standard rates are $0.75 input, $3.75 output, and $0.075 cached input per million tokens through December 31, 2026.