Gemini 3.1 Flash Lite API Pricing
As of October 10, 2026, Gemini 3.1 Flash Lite costs $0.25 per 1M input tokens and $1.50 per 1M output tokens on Google AI Studio, with cache reads at $0.025 per 1M tokens. Across 5 providers on LiteLLM, the input price ranges from $0.25 to $0.3125. It has a 1,048,576-token context window and returns up to 65,536 tokens per response.
gemini/gemini-3.1-flash-lite.- Input
- $0.25 / 1M tokens
- Output
- $1.50 / 1M tokens
- Cache read
- $0.025 / 1M tokens
- Context window
- 1,048,576 tokens
- Max output
- 65,536 tokens
- Providers
- 5
- Added to LiteLLM
- May 2026
Gemini 3.1 Flash Lite pricing by provider
5 listings across 5 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Cache write | Batch in | Batch out | Context |
|---|---|---|---|---|---|---|---|---|
| Google AI Studio | gemini/gemini-3.1-flash-lite | $0.25 | $1.50 | $0.025 | – | $0.125 | $0.75 | 1M |
| Google Vertex AI | vertex_ai/gemini-3.1-flash-lite | $0.25 | $1.50 | $0.025 | – | $0.125 | $0.75 | 1M |
| Databricks | databricks/databricks-gemini-3-1-flash-lite | $0.3125 | $1.875 | $0.03122 | $0.3125 | – | – | 1M |
| DeepInfra | deepinfra/google/gemini-3.1-flash-lite | $0.25 | $1.50 | – | – | – | – | 1M |
| Perplexity | perplexity/google/gemini-3.1-flash-lite | $0.25 | $1.50 | $0.025 | – | – | – | – |
Other Gemini 3.1 Flash Lite prices on Google AI Studio
| Priority input | $0.45 per 1M tokens |
| Priority output | $2.70 per 1M tokens |
| Flex input | $0.125 per 1M tokens |
| Flex output | $0.75 per 1M tokens |
| Audio input | $0.50 per 1M tokens |
| Web search | $14.00 per 1K searches |
What Gemini 3.1 Flash Lite costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Google AI Studio | $1.25 |
| Google Vertex AI | $1.25 |
| DeepInfra | $1.25 |
| Perplexity | $1.25 |
| Google AI Studio batch | $0.625 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| Google AI Studio | $2.80 |
| Google Vertex AI | $2.80 |
| DeepInfra | $2.80 |
| Perplexity | $2.80 |
Gemini 3.1 Flash Lite features
Input: text, image, audio, video. Output: text.
- Function calling
- Parallel tool calls
- Structured output
- Image input
- PDF input
- Audio input
- Audio output
- Video input
- Reasoning
- Prompt caching
- Web search
Use Gemini 3.1 Flash Lite with LiteLLM
Call Gemini 3.1 Flash Lite through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="gemini/gemini-3.1-flash-lite",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: gemini-3.1-flash-lite
litellm_params:
model: gemini/gemini-3.1-flash-lite
api_key: os.environ/GEMINI_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "gemini-3.1-flash-lite",
"messages": [{"role": "user", "content": "Hello!"}]
}'Gemini 3.1 Flash Lite FAQ
How much does Gemini 3.1 Flash Lite cost?
Gemini 3.1 Flash Lite costs $0.25 per 1M input tokens and $1.50 per 1M output tokens on Google AI Studio, with cache reads at $0.025 per 1M tokens. Batch requests cost $0.125 per 1M input tokens and $0.75 per 1M output tokens. Across 5 providers on LiteLLM, the input price ranges from $0.25 to $0.3125.
What is the context window of Gemini 3.1 Flash Lite?
Gemini 3.1 Flash Lite has a 1,048,576-token context window and returns up to 65,536 tokens per response.
Which providers offer Gemini 3.1 Flash Lite?
Gemini 3.1 Flash Lite is available from 5 providers through LiteLLM: Google AI Studio, Google Vertex AI, Databricks, DeepInfra and Perplexity. The lowest price is on Google AI Studio.
How do I call Gemini 3.1 Flash Lite with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="gemini/gemini-3.1-flash-lite", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does Gemini 3.1 Flash Lite support?
Gemini 3.1 Flash Lite supports function calling, parallel tool calls, structured output, image input, PDF input, audio input, video input, reasoning, prompt caching and web search. It does not support audio output.
When did LiteLLM add Gemini 3.1 Flash Lite?
Gemini 3.1 Flash Lite was added to LiteLLM's model price file in May 2026.
Is Gemini 3.1 Flash Lite being deprecated?
Google AI Studio lists a deprecation date of May 7, 2027 for gemini/gemini-3.1-flash-lite.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
- ai.google.dev/gemini-api/docs/pricing
- cloud.google.com/gemini-enterprise-agent-platform/generative-ai/pricing
- www.databricks.com/product/pricing/proprietary-foundation-model-serving
- deepinfra.com/pricing
LiteLLM docs: Google AI Studio, Google Vertex AI, Databricks, DeepInfra, Perplexity.
Provider pages: Google AI Studio, Google Vertex AI, Databricks, DeepInfra, Perplexity.
