Gemini 3.1 Flash Lite API
Lightweight Gemini 3.1 model for high-volume tasks
About this model
Gemini 3.1 Flash-Lite is the lightweight, cost-efficient tier of Google’s Gemini 3.1 generation, intended for high-volume, latency-sensitive workloads. It sits below the Flash models and Gemini 3.1 Pro in capability.
In this catalog it accepts text, images and PDF with a context window of 1,048,576 tokens.
Choose it for simple, repeated tasks such as tagging, extraction and short answers. For harder reasoning or coding, step up to a Flash or Pro model; its successor in the Flash-Lite line is Gemini 3.5 Flash-Lite.
Use cases
- Classification and extraction at scale
- Translation and summarization
- Low-latency assistants
Input and output
- Input
- Text, images and PDF
- Output
- Text
Developer
- Developer
- Type
- Conversation
- Context
- 1,048,576 tokens
- Capabilities
- Image input
Gemini 3.1 Flash Lite request example
Use https://gatelum.com/v1 as the base URL and pass google/gemini-3.1-flash-lite in the model field. You create the key in your account after signing up.
curl --silent --show-error --fail-with-body \
--header 'Authorization: Bearer glt_YOUR_KEY' \
'https://gatelum.com/v1/chat/completions' \
--header "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "google/gemini-3.1-flash-lite",
"messages": [
{
"role": "user",
"content": "Hi! Tell me about yourself in two sentences."
}
]
}
JSONClaude Code and Anthropic-protocol clients
For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=google/gemini-3.1-flash-lite
claudeWhere to use Gemini 3.1 Flash Lite
Guides with step-by-step instructions for the tools that support this model: