google/gemini-3.1-flash-lite

Google: Gemini 3.1 Flash Lite

Context length
1049K
Input / 1M tokens
$0.25
Output / 1M tokens
$1.50
Released
2026-05-07
Modality
text+image+file+audio+video->text

About Google: Gemini 3.1 Flash Lite

Gemini 3.1 Flash Lite is Google’s GA high-efficiency multimodal model optimized for low-latency, high-volume workloads. It supports text, image, video, audio, and PDF inputs, and is designed for lightweight agentic...

Call Google: Gemini 3.1 Flash Lite

Via OpenRouter: one base URL for every provider.

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": "Say hello"}]
  }'

Direct on Google Gemini / AI Studio:

curl https://generativelanguage.googleapis.com/v1beta/chat/completions \
  -H "Authorization: Bearer $GEMINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-flash-lite",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

Google Gemini / AI Studio keys

OpenRouter keys

OpenRouter keys work for google/gemini-3.1-flash-lite regardless of the upstream provider.