KernelFox
Home / Models / Google / Gemini 3.1 Flash-Lite

Gemini 3.1 Flash-Lite

By Google.
6.4 / 10
About the level of Gemini 2.5 Pro (Jun 2025)Epoch index 144.97, updated 24 Nov 2026
Released
7 May 2026
Type
Proprietary
API only, closed weights
Context
1,048,576 tokens
Up to 65,536 output tokens
Price per million
$0.25 in
$1.5 out

Gemini 3.1 Flash Lite is Google’s GA high-efficiency multimodal model optimized for low-latency, high-volume workloads.

Will it run on my PC?

No. Gemini 3.1 Flash-Lite has closed weights, so it only runs on Google’s servers or through a provider. The closest model you can run yourself today is Qwen3.8-27B: 1.1 points higher out of 10, and about 17.6 GB of GPU memory.

How it compares

Models closest in score, open and proprietary together.

Gemini 3.5 Flash-LiteProprietary, API only
6.5
$0.85/M tokens (blended)
Gemini 3.1 Flash-Lite (this page)Proprietary, API only
6.4
API
Gemini 2.5 Pro (Jun 2025)Proprietary, API only
6.4
$3.44/M tokens (blended)
Claude Opus 4.1Proprietary, API only
6.4
$30.0/M tokens (blended)
gemma-4-31B-itOpen weights
6.3
19.3 GB VRAM (Q4)
Qwen3.6-35B-A3BOpen weights
6.3
23.7 GB VRAM (Q4)

What it costs

Through an API, per million tokens.

$0.25 in / $1.5 out

Cached input: $0.025 per million.

about $123for a heavy coding-agent month (13,000 calls, 4 billion tokens, mostly cached context). Measured on one heavy Claude Code user (September 2026), priced at list.

Flat-rate subscriptions can cost far less than API list prices for heavy use. Treat this as a reference, not a bill.

Where to run it through an API

Google and its cloud partners sell this model through an API. Cheapest first.

Provider
Input $/M
Output $/M
Precision
Context
Uptime
Google AI Studio
0.125
0.75
not stated
1,048,576
100%
Google
0.25
1.5
not stated
1,048,576
100%

Prices from OpenRouter’s public provider list. Uptime over the last 30 minutes.

Call Gemini 3.1 Flash-Lite through the API

OpenRouter exposes this model through an OpenAI-compatible API. Create a key on OpenRouter, then use the model identifier google/gemini-3.1-flash-lite.

Python
OpenRouter API
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key=os.environ["OPENROUTER_API_KEY"],
)

response = client.chat.completions.create(
    model="google/gemini-3.1-flash-lite",
    messages=[{"role": "user", "content": "Explain 4-bit quantization in two sentences."}],
)
print(response.choices[0].message.content)
JavaScript
OpenRouter API
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://openrouter.ai/api/v1",
  apiKey: process.env.OPENROUTER_API_KEY,
});

const response = await client.chat.completions.create({
  model: "google/gemini-3.1-flash-lite",
  messages: [{ role: "user", content: "Explain 4-bit quantization in two sentences." }],
});
console.log(response.choices[0].message.content);
cURL
OpenRouter API
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.1-flash-lite",
    "messages": [{"role": "user", "content": "Explain 4-bit quantization in two sentences."}]
  }'

Prices and providers are in the sections above. Check the exact identifier on the OpenRouter model page.

Specifications

Developer
Released
7 May 2026
Type
Proprietary, closed weights
Context window
1,048,576 tokens, up to 65,536 output tokens
Reads
text, image, video, file and audio
Writes
text

Frozen facts (name, specifications, links) are fixed when the page is created. Scores, prices and download numbers: refreshed daily; last update 24 Nov 2026. Scores: Epoch AI (Capabilities & benchmarking, CC BY 4.0), adapted by KernelFox.