Skip to content
Googlegemini-3.1-flash-lite

Gemini 3.1 Flash Lite

Ultra-lightweight Gemini for cost-sensitive volume.

Gemini 3.1 Flash Lite is Google's ultra-lightweight model, made for high-volume, cost-sensitive work where a fast answer at the lowest price matters more than depth.

  • High volume
  • Low cost
  • Classification

Model details

Context window
1.0M tokens
Max output
66K tokens
Input
Text, images
Output
Text
Capabilities
Reasoning, Vision, Tool calling, Streaming, JSON output
Interfaces
OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses

Pricing

Per 1M tokens. The Inferray price is what you are charged — no gateway fee is added on top of it.

Gemini 3.1 Flash Lite pricing.
MetricPrice
Input$0.25
Cached input$0.03
Output$1.50

Why teams pick it

  • Ultra-lightweight and cheap per token
  • Built for high-volume, cost-sensitive tasks
  • 1M-token context with vision and document input

Call Gemini 3.1 Flash Lite

Gemini 3.1 Flash Lite answers on any of the APIs below — pick the one your code already speaks and just swap in your Inferray key.

/v1/chat/completionsOpenAI-style Chat Completions · openai SDK or plain HTTP
curl https://api.inferray.com/v1/chat/completions \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-flash-lite",
    "messages": [{"role": "user", "content": "ship it"}]
  }'
/v1/messagesAnthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP
curl https://api.inferray.com/v1/messages \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-flash-lite",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "ship it"}]
  }'
/v1/responsesOpenAI-style Responses · openai SDK or plain HTTP
curl https://api.inferray.com/v1/responses \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-flash-lite",
    "input": "ship it"
  }'

More from Google