Models / Gemini 3.1 Flash Lite Preview
Gemini 3.1 Flash Lite Preview
Tier 1ProprietaryGoogle Gemini 3.1 Flash Lite Preview (preview) — fast multimodal. Via yylx gateway.
google/gemini-3.1-flash-lite-previewContext Window
1M
Max Output
66K
Providers
1
Released
2026-01
Capabilities
ChatToolsFunction CallingStreamingVision
Pricing by Provider
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.
| Provider | Price | Latency p50 | Latency p95 | Status |
|---|---|---|---|---|
| yylx_gemini | $0.25 /M in · $1.50 /M out | 700ms | 3000ms |
Quick Start
Python
import magicrouter
mr = magicrouter.Client(
provider_keys={"yylx_gemini": "your-api-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({
providerKeys: { yylx_gemini: "your-api-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://app.yylx.io/v1/chat/completions \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-flash-lite-preview",
"messages": [{"role": "user", "content": "Your prompt here"}]
}'