Moduck

Google: Gemini 3.1 Flash Lite Preview

Low-latency Gemini model for high-volume multimodal and agent workloads

Model lab
Google
Model family
gemini-flash-lite
Modalitiestext, image, video, audio, pdf → text
Context window1,048,576
Maximum output65,536
InputUSD 0.1 / 1M tokens
OutputUSD 0.6 / 1M tokens

Quickstart

Use your Moduck API Key, set the API base URL to https://api.moduck.ai/v1, and set the model parameter to google/gemini-3.1-flash-lite-preview.

import os
import requests

base_url = "https://api.moduck.ai/v1"
api_key = os.environ["MODUCK_API_KEY"]
model_id = "google/gemini-3.1-flash-lite-preview"

response = requests.post(
    f"{base_url}/chat/completions",
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    json={
        "model": model_id,
        "messages": [{"role": "user", "content": "Hello!"}],
        "stream": False,
    },
    timeout=60,
)
response.raise_for_status()
print(response.json())

Use the familiar OpenAI-style chat request format to make model integration easier.

Gemini 3.1 Flash Lite Preview API Pricing

TypePrice information
InputUSD 0.1 / 1M tokens
OutputUSD 0.6 / 1M tokens
ReasoningUSD 0.6 / 1M tokens
Cached inputUSD 0.01 / 1M tokens
Cache writeUSD 0.0333336 / 1M tokens

Benchmarks

Intelligence Index · v4.315.6
Coding Index34.7
Agentic Index1.6

Performance

Measured on the Moduck gateway across live traffic, hour by hour over the last 24 hours. Time to first token is how long before anything appears; throughput is how fast the answer is written after that; end-to-end latency is the whole round trip. Figures are medians unless the card says otherwise.

Artificial Analysis measurement

Output speed360.06 tokens/s
Time to first token4.17 s
Time to first answer token—
End-to-end response time—

Performance trends

Throughput360.06 tok/sCurrent
Time to first token4.17 sCurrent
End-to-end latency7.1 sCurrent
Throughput
Current360.06 tok/s
Window average411.6 tok/s
Time to first token
Current4.17 s
Window average4.9 s
End-to-end latency
Current7.1 s
Window average7.5 s
Tail latency (P99)
Current17.6 s
Window average17.0 s
Prompt cache hit rate
Current19.4%
Window average24.0%
Error rate
Current0.0%
Window average0.2%

Availability

Uptime is the share of time at least one provider serving this model responded. Availability is stricter: the share of requests actually served. A provider that answers but fails part of the traffic lowers availability without lowering uptime. Both cover the last three days.

Uptime100%At least one provider responded
Availability100%Requests actually served
Error rate0%Share of failed requests
Served requests, hour by hour
24 hours agoNow

Gemini 3.1 Flash Lite Preview Compare models

ModelInput priceOutput priceContext windowCapabilities
Gemini 3.1 Flash Lite PreviewThis pageUSD 0.1 / 1M tokensUSD 0.6 / 1M tokens1,048,576Text output · Reasoning · Tool calling
Gemini 3.5 Flash LiteUSD 0.12 / 1M tokensUSD 1 / 1M tokens1,048,576Text output · Reasoning · Tool calling
Gemini Flash-Lite LatestUSD 0.2 / 1M tokensUSD 1.2 / 1M tokens1,048,576Text output · Reasoning · Tool calling
Gemini 3.1 Flash LiteUSD 0.1 / 1M tokensUSD 0.6 / 1M tokens1,048,576Text output · Reasoning · Tool calling
Gemini 2.5 Flash-LiteUSD 0.08 / 1M tokensUSD 0.08 / 1M tokens1,048,576Text output · Reasoning · Tool calling

Model specifications

Input
text, image, video, audio, pdf
Output
text
Context window
1,048,576
Maximum output
65,536
Release date
2026-03-03
Attachments
Yes
Reasoning
Yes
Tool calling
Yes
Structured output
Yes
Temperature setting
Yes
Open weights
No

Frequently asked questions

What is Gemini 3.1 Flash Lite Preview for?

Low-latency Gemini model for high-volume multimodal and agent workloads

What inputs and outputs does Gemini 3.1 Flash Lite Preview support?

Recorded inputs: text, images, video, audio, PDF; outputs: text.

How is Gemini 3.1 Flash Lite Preview priced?

The pricing table shows the current recorded Moduck price. For example: Input USD 0.1 / 1M tokens; Output USD 0.6 / 1M tokens. See the pricing table for all units, variants, and conditions.

What specifications are recorded for Gemini 3.1 Flash Lite Preview?

Current model records list Context window 1,048,576 tokens; Maximum output 65,536 tokens.

What model parameter does the Quickstart use?

The example uses google/gemini-3.1-flash-lite-preview. This value comes from the page identifier and is not confirmed as a callable Moduck public ID.

Can I call this model through the Moduck API now?

This page has no verified Moduck API call for this model. A Quickstart example or reserved ID does not establish access; check the models available to your account.