Gemini 3.1 Flash-Lite Image
google/gemini-3.1-flash-lite-image
Overview
Images
Low cost
Google's lowest-latency, most cost-effective image model, for high-volume interactive image generation.
Made by Google · released Jun 2026
Input
TextOutput
Images- Context
- 32.000
- Input, maximum
- 32.000
- Reasoning Not 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,4% succeeded
3,1 s to first byte
last 7 days · 175 attempts
- Input
- Rp4.630per million tokens$0.25
- Output
- Rp27.750per million tokens$1.5
- Image output
- Rp555.000per million tokens$30
Per-part units
- Max tokens per output image
- 1.120 Gemini API pricing, 2026-09-07
- Max images per request
- 1
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/images/generations \
-H "authorization: Bearer $INDOROUTER_API_KEY" \
-H "content-type: application/json" \
-d '{"model": "google/gemini-3.1-flash-lite-image", "prompt": "kucing di atas becak"}'
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.indorouter.ai/v1",
api_key=os.environ["INDOROUTER_API_KEY"],
)
image = client.images.generate(model="google/gemini-3.1-flash-lite-image", prompt="kucing di atas becak")
print(image.data[0])
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.indorouter.ai/v1",
apiKey: process.env.INDOROUTER_API_KEY,
});
const image = await client.images.generate({ model: "google/gemini-3.1-flash-lite-image", prompt: "kucing di atas becak" });
console.log(image.data[0]);