Google: gemini-3.1-flash-lite
gemini-3.1-flash-lite
Start building free
gemini-3.1-flash-lite is a lightweight, cost-optimized member of Google’s Gemini 3.1 family, designed for very fast, inexpensive inference in applications that need high request volume or must run on more constrained hardware. It sits below the general Gemini 3.1 Flash tier in size and capability, trading some raw reasoning depth and multimodal sophistication for lower latency and better efficiency. Typical uses include high-traffic chatbots, simple agents, UI helpers, autocomplete, and other tasks where responsiveness and throughput matter more than advanced creativity or complex multi-step reasoning. It is generally intended as a practical, production-friendly workhorse model rather than a flagship frontier system.
Pricing
Current price per 1,000,000 tokens. Every request is billed automatically from its exact usage.
Included in plans
Statistics
Live performance and usage of this model, aggregated across all users.
Usage over time
Token usage
Last 30 days- Input tokens
- 129,6K 48,8%
- Output tokens
- 136,1K 51,2%
- Avg. input per request
- 1,178
- Avg. output per request
- 1,237
- Largest request
- 3,972 tokens
Reliability
Last 30 days- Successful
- 110 100%
- Failed
- 0 0%
- 200 Success 110 100%
Response time
Successful requests · last 30 daysLast 24 hours
Latency (ms)
Requests per hour
Usage rhythm
Last 30 days · site timezone- Busiest hour: 23:00
- Busiest weekday: Wednesday
- Busiest day: 23 September (110 requests)
All-time record
- Total requests
- 110
- Total tokens
- 265,7K
- Active days
- 1
- First request
- 23 September 2026
- Last request
- 3 هفته ago
API
Call this model from any OpenAI-compatible client using your API token.
curl https://apiex.cloud/api/v1/chat/completions \
-H "Authorization: Bearer $NEW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-flash-lite",
"messages": [
{
"role": "user",
"content": "Explain quantum entanglement in one paragraph."
}
],
"temperature": 0.7
}'
Authentication
Every request must include an Authorization: Bearer <TOKEN> header. Generate a token from your account's API Keys page — its access to models is set automatically from your active plans and redeemed codes, and you can set its rate limit and IP restrictions.
| Parameter | Type | Description |
|---|---|---|
model | string, required | This model's ID, exactly as shown above. |
messages | array, required | Conversation history as role/content objects (system, user, assistant). |
temperature | number, optional | Sampling randomness, typically 0–2. |
max_tokens | integer, optional | Upper limit on tokens generated in the reply. |
top_p | number, optional | Nucleus-sampling threshold, as an alternative to temperature. |
stream | boolean, ignored | Responses are always returned in full so the exact cost can be billed; streaming is not available. |
Replace YOUR_API_KEY with a token from your account, then see the full API reference for every parameter.
Frequently asked questions
What is gemini-3.1-flash-lite?
gemini-3.1-flash-lite is a lightweight, cost-optimized member of Google’s Gemini 3.1 family, designed for very fast, inexpensive inference in applications that need high request volume or must run on more constrained hardware. It sits below the general Gemini 3.1 Flash tier in size and capability, trading some raw reasoning depth and multimodal sophistication for lower latency and better efficiency. Typical uses include high-traffic chatbots, simple agents, UI helpers, autocomplete, and other tasks where responsiveness and throughput matter more than advanced creativity or complex multi-step reasoning. It is generally intended as a practical, production-friendly workhorse model rather than a flagship frontier system.
How much does gemini-3.1-flash-lite cost?
Input tokens are priced at $0,30 per 1,000,000 tokens and output tokens at $1,80 per 1,000,000 tokens. Pricing is billed automatically per request; no separate plan is required.
What is the context length of gemini-3.1-flash-lite?
gemini-3.1-flash-lite supports a context window of up to 1,048,576 tokens.
Does gemini-3.1-flash-lite support image input?
Yes, gemini-3.1-flash-lite accepts image input in addition to text.
Which provider is gemini-3.1-flash-lite from?
gemini-3.1-flash-lite is developed by Google and made available on this gateway through our routing infrastructure.
When was gemini-3.1-flash-lite added to this gateway?
gemini-3.1-flash-lite has been available on this gateway since September 23, 2026.
Is gemini-3.1-flash-lite currently available?
Yes, gemini-3.1-flash-lite is active and can be used right now through this gateway.