Gemini 3.1 Flash Lite
Google logo

Gemini 3.1 Flash Lite

gemini-3.1-flash-litellms.txt
Google
gemini-3.1-flash-lite is currently Google's latest and most cost-effective model, optimized for large-scale agent-based tasks, translation, and simple data processing.

Pricing

PricingInput VideoInput AudioWeb SearchCache Storage
$0.250$1.500
$0.25/M tokens$0.5/M tokens$0.014/request$1/h/M tokens

Input Modalities

  • Text
  • Vision
  • Audio
  • Video
  • PDF

Output Modalities

  • Text

Context length

  • 1.05M tokens

Max output

  • 65.5K tokens

Capabilities

  • Thinking
  • Streaming
  • Tool calling
  • Web search
  • URL context
  • Code interpreter
  • Computer use
  • File search
  • Memory tool
  • Structured outputs
  • Citations
  • Prompt caching
  • Background mode
  • Server-side sessions

Providers

VertexAI gemini-3.1-flash-lite
Pricing$0.250$1.500
Input Video$0.25/M tokens
Input Audio$0.5/M tokens
Web Search$0.014/request
Cache Storage$1/h/M tokens
Context100K
Max output64K
Latency0.7S
Throughput61.8TPS
Uptime
99.37% uptime 2 days ago
99.95% uptime yesterday
100.00% uptime today
Google AI Studio gemini-3.1-flash-lite
Pricing$0.250$1.500
Input Video$0.25/M tokens
Input Audio$0.5/M tokens
Web Search$0.014/request
Cache Storage$1/h/M tokens
Context100K
Max output64K
Latency0.5S
Throughput87.3TPS
Uptime
32.75% uptime 2 days ago
100.00% uptime yesterday
100.00% uptime today

Performance for gemini-3.1-flash-lite

Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).

Uptime
Loading...
Latency
Loading...
Throughput
Loading...

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="gemini-3.1-flash-lite",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is Gemini 3.1 Flash Lite?

gemini-3.1-flash-lite is currently Google's latest and most cost-effective model, optimized for large-scale agent-based tasks, translation, and simple data processing.