Gemini 3.1 Flash Lite Preview is Google’s high-efficiency multimodal model, optimized for high-throughput, cost-sensitive AI workloads. It delivers higher overall quality than Gemini 2.5 Flash Lite and approaches Gemini 2.5 Flash across many core capabilities, while maintaining low latency and excellent cost efficiency. The model provides notable improvements in audio understanding and speech recognition (ASR), RAG retrieval and snippet ranking, translation, data extraction, and code completion. It supports configurable thinking levels (minimal, low, medium, and high) for flexible control over intelligence, latency, and cost. At half the price of Gemini 3 Flash, Gemini 3.1 Flash Lite Preview is an excellent choice for scalable production and high-volume AI applications.
Pricing
USD · live rate| Pricing | USD / M |
|---|---|
| Input | $0.25 |
| Output | $1.50 |
| Cache hit | $0.03 |
| Image input | — |
Providers
Same model, multi-channel live comparison · best values highlighted| Provider | Context | Max output | Input /M | Output /M | Cache /M | Latency | Throughput |
|---|---|---|---|---|---|---|---|
| OpenRouter | 1M | 66K | $0.25 | $1.50 | $0.03 | 1241ms | 176 t/s |
| Google Vertex | 1M | 66K | $0.25 | $1.50 | $0.03 | 1159ms | 286 t/s |
Usage trends
API example
Model Center normalizes requests and responses across providers behind one OpenAI-compatible API.
Call this model directly or through the OpenAI SDK — one API key for every model in the catalog.
from openai import OpenAI
client = OpenAI(
base_url="https://router-integration.test.cogfoundry.ai/api/v1",
api_key="$MODEL_CENTER_API_KEY",
)
completion = client.chat.completions.create(
model="google/gemini-3.1-flash-lite-preview",
messages=[{"role": "user", "content": "Which number is larger, 9.11 or 9.8?"}],
stream=True,
)
for chunk in completion:
if chunk.choices and chunk.choices[0].delta.content is not None:
print(chunk.choices[0].delta.content, end="", flush=True) import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://router-integration.test.cogfoundry.ai/api/v1",
apiKey: process.env.MODEL_CENTER_API_KEY,
});
const stream = await client.chat.completions.create({
model: "google/gemini-3.1-flash-lite-preview",
messages: [{ role: "user", content: "Which number is larger, 9.11 or 9.8?" }],
stream: true,
});
for await (const chunk of stream) {
process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
} curl https://router-integration.test.cogfoundry.ai/api/v1/chat/completions \
-H "Authorization: Bearer $MODEL_CENTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3.1-flash-lite-preview",
"messages": [{"role": "user", "content": "Which number is larger, 9.11 or 9.8?"}],
"stream": true
}' import requests
response = requests.post(
"https://router-integration.test.cogfoundry.ai/api/v1/messages",
headers={"Authorization": "Bearer $MODEL_CENTER_API_KEY", "Content-Type": "application/json"},
json={
"model": "google/gemini-3.1-flash-lite-preview",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Which number is larger, 9.11 or 9.8?"}],
},
)
print(response.json()["content"][0]["text"]) const response = await fetch("https://router-integration.test.cogfoundry.ai/api/v1/messages", {
method: "POST",
headers: {
Authorization: "Bearer $MODEL_CENTER_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "google/gemini-3.1-flash-lite-preview",
max_tokens: 1024,
messages: [{ role: "user", content: "Which number is larger, 9.11 or 9.8?" }],
}),
});
const data = await response.json();
console.log(data.content[0].text); curl https://router-integration.test.cogfoundry.ai/api/v1/messages \
-H "Authorization: Bearer $MODEL_CENTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3.1-flash-lite-preview",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Which number is larger, 9.11 or 9.8?"}]
}'