Google: Gemini 3.1 Flash-Lite
Google Gemini 3.1 Flash-Lite API pricing
Gemini 3.1 Flash-Lite costs $0.100 per million input tokens and $0.600 per million output tokens on Oxyy. These are the pay-as-you-go prices after the current 60% discount (Launch Promo; standard price $0.250 input and $1.50 output), and cached input tokens are billed at $0.010 per million. It accepts text, images, video, audio and files and returns text, with a 1.05M-token context window and up to 66K output tokens per response. At a typical 3:1 input-to-output token mix, a cheaper Google option is Gemma 4 31B Instruct at $0.108 / $0.304 per 1M tokens; for every model and rate, see Gemini API pricing.
Providers
Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.
| Provider | Input /M | Output /M | Cache read /M |
|---|---|---|---|
| $0.100 | $0.600 | $0.010 |
Capabilities (21)
Supported parameters (15)
A parameter not listed here may be removed before the request reaches the model. When it is, the request still succeeds and the response names it, with the reason, in provider_specific_fields.dropped_params.
Pricing
What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.
| Rate | Standard price | Charged | Unit |
|---|---|---|---|
| Input | $0.250 | $0.100 | per 1M input tokens |
| Output | $1.50 | $0.600 | per 1M output tokens |
| Cached input | $0.025 | $0.010 | per 1M cached input tokens |
| Cache write | $0.250 | $0.100 | per 1M cache-write tokens |
Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.
Specifications
- Model ID
gemini-3.1-flash-lite- Developer
- Type
- Text
- Input
- Text, images, video, audio and files
- Output
- Text
- Context window
- 1,048,576 tokens
- Max output
- 65,536 tokens
- Image input
- Up to 20 MB each · PNG, JPEG, WebP, HEIC, HEIF
- File input
- Up to 100 MB each · PDF
- Audio input
- Up to 50 MB each · WAV, MP3, AIFF, AAC, OGG, FLAC
- Video input
- Up to 100 MB each · MP4, MPEG, MOV, AVI, WEBM
- Endpoint
/v1/chat/completions
Quickstart
Call gemini-3.1-flash-lite with a POST to /v1/chat/completions on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.oxyy.ai/v1",
api_key=os.environ["OXYY_API_KEY"],
)
response = client.chat.completions.create(
model="gemini-3.1-flash-lite",
messages=[
{"role": "user", "content": "Explain unified AI APIs in one sentence."},
],
)
print(response.choices[0].message.content)Frequently asked questions
What is Gemini 3.1 Flash-Lite?
How much does Gemini 3.1 Flash-Lite cost?
What is the context length of Gemini 3.1 Flash-Lite?
Does Gemini 3.1 Flash-Lite support tool calling and structured outputs?
What inputs and outputs does Gemini 3.1 Flash-Lite support?
Which API endpoint does Gemini 3.1 Flash-Lite use?
What other models does Google have?
Alternatives to Gemini 3.1 Flash-Lite
Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

