Gemini 3.1 Flash-Lite
google/gemini-3.1-flash-lite
Overview
Chat
Low cost
Google's cost-efficient Flash-Lite model, with performance that rivals larger models. Reads text, images, video and files.
Made by Google · released Mei 2026
Input
Text · Images · Video · FileOutput
Text- Context
- 1.048.576
- Input, maximum
- 983.040
- Output, maximum
- 65.536
- Default output
- 4.096
- Reasoning Not 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.
99,7% succeeded
1,5 s to first byte
394 tokens/s
last 7 days · 391 attempts
- Input
- Rp4.630per million tokens$0.25
- Output
- Rp27.750per million tokens$1.5
- Cache read
- Rp470per million tokens$0.025
Per-part units
- Max tokens per input image
- 2.240 Gemini media-resolution guide, 2026-09-15
- Tokens per document page
- 2.240 Gemini media-resolution guide, 2026-09-15
- Tokens per second of video
- 263 Gemini token guide, 2026-09-08
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: trueare 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.1-flash-lite",
"messages": [{"role": "user", "content": "halo"}]}'
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.indorouter.ai/v1",
api_key=os.environ["INDOROUTER_API_KEY"],
)
reply = client.chat.completions.create(
model="google/gemini-3.1-flash-lite",
messages=[{"role": "user", "content": "halo"}],
)
print(reply.choices[0].message.content)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.indorouter.ai/v1",
apiKey: process.env.INDOROUTER_API_KEY,
});
const reply = await client.chat.completions.create({
model: "google/gemini-3.1-flash-lite",
messages: [{ role: "user", content: "halo" }],
});
console.log(reply.choices[0].message.content);