gemini-3.1-flash-lite-preview

Gemini 3 · Per Token

gemini-3.1-flash-lite-previewAvailableCache 90% off
Tool UseVisionJSON Mode
Context Window: 1MMax Output Tokens: 64K

Pricing

Official PriceLemonData PriceDiscount
Input$0.25$0.087565%
Output$1.50$0.52565%
Cache Read$0.025$0.0087565%

Parameters

Context Window
1M tokens
Max Output Tokens
64K tokens

Best For

Vision

Image understanding, document analysis, and visual reasoning

Cost Calculator

1M
0.5M
Estimated Monthly Cost$0.35

API Code Example

POST/v1beta/models/gemini-3.1-flash-lite-preview:generateContent
API Format:
curl "https://api.lemondata.cc/v1beta/models/gemini-3.1-flash-lite-preview:generateContent" \
  -H "Content-Type: application/json" \
  -H "x-goog-api-key: sk-xxx" \
  -d '{
    "contents": [
      {"role": "user", "parts": [{"text": "Hello!"}]}
    ]
  }'

FAQ

How much does gemini-3.1-flash-lite-preview cost?

On LemonData, gemini-3.1-flash-lite-preview costs $0.0875 per 1M input tokens and $0.5250 per 1M output tokens, with model-specific platform pricing.

What is gemini-3.1-flash-lite-preview best for?

gemini-3.1-flash-lite-preview excels at Tool Use, Vision, JSON Mode. Access it through LemonData's unified API with a single API key.

How to use gemini-3.1-flash-lite-preview API?

Get your API key from LemonData, then call https://api.lemondata.cc/v1beta/models/gemini-3.1-flash-lite-preview:generateContent using any compatible SDK. See the code examples above for detailed integration.

Related Models