gemini-3.1-flash-lite API pricing

Google Gemini charges $0.25 per million input tokens and $1.5 per million output tokens for gemini-3.1-flash-lite, and $0.025 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.001, or $0.0005 through the batch API.

Prices updated October 28, 2026
Input / 1M tokens
$0.25
Output / 1M tokens
$1.5
Cached input / 1M tokens
$0.025
Typical request
$0.001
Calculate the cost of your prompt →

gemini-3.1-flash-lite price per million tokens

Token typeStandardBatch API
Input$0.25$0.125
Cached input$0.025$0.0125
Output$1.5$0.75

gemini-3.1-flash-lite supports a 1.05M-token context window, up to 65.5K output tokens, image input, tool calling and reasoning.

What gemini-3.1-flash-lite costs per request

Request1 request1,000 requests1M requests
Short chat message (300 in, 200 out)$0.000375$0.38$375.00
Typical request (1K in, 500 out)$0.001$1.00$1,000.00
Long document summary (20K in, 1K out)$0.0065$6.50$6,500.00
Coding agent step (50K in, 2K out)$0.0155$15.50$15,500.00

At standard rates. A token is about 4 characters of English text, so 1,000 tokens is roughly 750 words. Google Gemini counts tokens with its own tokenizer, so the same text can be a different number of tokens.

Models with a similar price

ModelProviderInput / 1MCached input / 1MOutput / 1MTypical request
gpt-5.6-lunaOpenAI$0.2$0.02$1.2$0.0008
deepseek-v3DeepSeek$0.27$0.07$1.1$0.00082
gpt-5.4-nanoOpenAI$0.2$0.02$1.25$0.000825
deepseek-v4-1-flash-1017Mistral$0.3$0.007$1.2$0.0009
deepseek-flashDeepSeek$0.3$0.006$1.2$0.0009
deepseek-v4-flashDeepSeek$0.3$0.006$1.2$0.0009
gpt-4.1-miniOpenAI$0.4$0.1$1.6$0.0012
gpt-5-miniOpenAI$0.25$0.025$2$0.00125

Other Google Gemini models

Source: Google Gemini pricing.