Gemini 3.8 Flash

google/gemini-3.8-flash

Sign up to try it

Overview

Chat Low cost

Google's most capable Flash model at release, built for long-horizon software engineering, autonomous agents and complex enterprise workflows.

Made by Google · released Sep 2026

Input

Text · Images · Audio · Video · File

Output

Text
Context
1.048.576
Input, maximum
960.000
Output, maximum
65.536
Default output
4.096
  • Reasoning Supported
  • Tool calling Supported
  • Prompt caching Supported
  • Automatic fallback routes Not supported

Routes and pricing

Providers are tried in the order listed below. We try these providers in order. If one fails, we move on to the next, and you pay the rate of the one that answers.

Google

primary
Input
Rp13.880per million tokens$0.75
Output
Rp69.380per million tokens$3.75
Cache read
Rp1.390per million tokens$0.075

Per-part units

Max tokens per input image
2.240 Gemini media-resolution guide, 2026-09-07
Tokens per document page
2.240 Gemini document processing, 2026-09-07
Document pages, maximum
1.000
Tokens per second of audio
32 Gemini API pricing and token guide, 2026-09-07
Tokens per second of video
300 Gemini API token guide, 2026-09-07

From 2027-01-01

  • Input: Rp27.750 per million tokens
  • Output: Rp138.750 per million tokens
  • Cache read: Rp2.780 per million tokens

Today's reference rate: Rp18.500/USD

Prices exclude the 5,5% service fee

Data and privacy

Google Gemini API Additional Terms

Used to train models
No Under the Gemini API terms for paid use.
Retention
Logged for a limited period, only to detect abuse and meet legal duties.
Processing location
Any country where Google has facilities.
At indoRouter
We don't store your prompts or responses. Files you upload, batches, and responses you send with store: true are kept encrypted for up to 30 days.

Code samples

Use this model ID with any OpenAI SDK. The base URL is the same for every model.

curl https://api.indorouter.ai/v1/chat/completions \
  -H "authorization: Bearer $INDOROUTER_API_KEY" \
  -H "content-type: application/json" \
  -d '{"model": "google/gemini-3.8-flash",
       "messages": [{"role": "user", "content": "halo"}]}'