Models / Gemini 3.1 Flash Lite Preview

Gemini 3.1 Flash Lite Preview

Proprietary

Google Gemini 3.1 Flash Lite Preview (preview) — fast multimodal.

google/gemini-3.1-flash-lite-preview
Context Window
1M
Max Output
66K
Released
2026-01

Capabilities

ChatToolsFunction CallingStreamingVision

Price

Prices shown are the official rate published by the model provider, before any platform discounts. Your actual rate may be lower based on your account's discount tier.

PriceLatency p50Latency p95Status
$0.25 /M in · $1.50 /M out700ms3000ms

Quick Start

Python
import magicrouter

mr = magicrouter.Client(api_key="mr-your-key")

response = mr.chat(
    "google/gemini-3.1-flash-lite-preview",
    "Your prompt here"
)
print(response.choices[0].message.content)
TypeScript
import { MagicRouter } from "magicrouter";

const mr = new MagicRouter({ apiKey: "mr-your-key" });

const response = await mr.chat({
  model: "google/gemini-3.1-flash-lite-preview",
  messages: [{ role: "user", content: "Your prompt here" }]
});
console.log(response.choices[0].message.content);
cURL
curl https://api.magicrouter.ai/v1/chat/completions \
  -H "Authorization: Bearer mr-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.1-flash-lite-preview",
    "messages": [{"role": "user", "content": "Your prompt here"}]
  }'

Use this model

Sign up for free and test Gemini 3.1 Flash Lite Preview in the playground

Get Started