Google: Gemini 3.1 Flash Lite
Chatgoogle/gemini-3.1-flash-liteGemini 3.1 Flash Lite (GA) is Google's high-efficiency multimodal model optimized for low-latency, high-volume workloads. GA version of the preview model. Supports full thinking levels (minimal, low, medium, high) for cost/performance trade-offs. Priced at half the cost of Gemini 3 Flash. Released May 7, 2026.
Context Window
1M
Max Output Tokens
64K
Released
2026-05-07
Capabilities
VisionFunction CallingReasoningPrompt CachingWeb SearchAudio InputVideo InputPDF Input
Available Providers
Vertex
Supported Protocols
openaigemini
Providers
Vertex
Input Tokens
$0.25/M
Output Tokens
$1.5/M
Cache Read
$0.025/M
Cache Write
$1/M
Audio Input
$0.5/M
Cache Write (1 hour)
$1/M
Cached Audio
$0.05/M
Web Search
$0.014/R
Protocols
openai
/v1/chat/completionsgemini
Code Examples
from google import genaiclient = genai.Client(api_key="YOUR_OFOX_API_KEY",http_options={"api_version": "v1beta", "base_url": "https://api.ofox.io/gemini"},)response = client.models.generate_content(model="google/gemini-3.1-flash-lite",contents="Hello!",)print(response.text)
Benchmarks
LMArena ↗Evaluated as gemini-3.1-flash-lite-preview
Google: Gemini 3.1 Flash Lite scores 1432 in the Overall category of the LMArena text leaderboard (style control), ranking #77 of 374 models based on 60,926 human preference votes (updated 2026-07-12).
| Category | Arena Score | 95% CI | Rank | Votes |
|---|---|---|---|---|
| Overall | 1432 | 1428–1435 | #77 of 374 | 60,926 |
| Hard Prompts | 1444 | 1439–1449 | #91 of 374 | 39,139 |
| Coding | 1457 | 1451–1463 | #111 of 369 | 16,852 |
| Math | 1438 | 1428–1449 | #62 of 362 | 3,430 |
| Creative Writing | 1412 | 1405–1420 | #62 of 372 | 9,869 |
| Instruction Following | 1406 | 1401–1412 | #101 of 374 | 19,934 |
| Chinese | 1478 | 1466–1489 | #68 of 344 | 3,283 |
Source: LMArena · CC BY 4.0 · Updated 2026-07-12 · Methodology ↗ · Ranks compare models within each category of the LMArena text leaderboard (style control). Scores come from third-party human preference evaluations, not from OFOX.
Related Models
Frequently Asked Questions
Google: Gemini 3.1 Flash Lite on Ofox.ai costs $0.25/M per million input tokens and $1.5/M per million output tokens. Pay-as-you-go, no monthly fees.
Google: Gemini 3.1 Flash Lite supports a context window of 1M tokens with max output of 64K tokens, allowing you to process large documents and maintain long conversations.
Simply set your base URL to https://api.ofox.ai/v1 and use your Ofox API key. The API is OpenAI-compatible — just change the base URL and API key in your existing code.
Google: Gemini 3.1 Flash Lite supports the following capabilities: Vision, Function Calling, Reasoning, Prompt Caching, Web Search, Audio Input, Video Input, PDF Input. Access all features through the Ofox.ai unified API.