Roboflow
Google

Google: Gemini 3.1 Flash-Lite

Gemini 3.1 Flash-Lite Overview

Gemini 3.1 Flash-Lite is a natively multimodal reasoning model from Google DeepMind in the Gemini 3 series, based on the Gemini 3 Pro architecture. It processes text, image, video, audio, and PDF inputs within a 1 million token context window and produces text output up to 64K tokens. The model targets high-volume, latency-sensitive workloads and supports visual question answering, image and document data extraction, content moderation, classification, translation, automated speech recognition, and agentic data pipelines. It exposes configurable thinking levels of minimal, low, medium, and high, which set the depth of internal reasoning applied per request and let developers balance response quality against cost and latency.

On benchmarks reported at launch, Gemini 3.1 Flash-Lite scores 86.9% on GPQA Diamond and 76.8% on the MMMU Pro multimodal benchmark, and reaches an Elo score of 1432 on the Arena.ai leaderboard. According to Artificial Analysis benchmarks, it produces a 2.5 times faster time to first answer token and a 45% increase in output speed relative to Gemini 2.5 Flash. It also shows improved instruction following, higher audio input quality for automated speech recognition tasks, and support for structured JSON output used in data extraction pipelines.

Gemini 3.1 Flash-Lite Interactive Demo

Model settings

Thinking level

Max output tokens

Default 65,536 · max 65,536

Sign in to adjust thinking and output length per run.

Results appear here. Add an image or pick an example to run Gemini 3.1 Flash-Lite.

Gemini 3.1 Flash-Lite Details & Performance

Details

Resources

Vision Tasks

CaptioningChart Question AnsweringClassificationDocument Question AnsweringImage TaggingMulti-Label ClassificationOCRObject DetectionVision LanguageVisual Question Answering

Features

Foundation VisionLLMs with Vision CapabilitiesMultimodal Vision

Usage

Past 30 Days

Performance

Avg. Latency

Gemini 3.1 Flash-Lite Vision Evals

Gemini 3.1 Flash-Lite has not yet been evaluated on the current benchmark. The results below are from the legacy version of Vision Evals, our previous benchmark. See the current Vision Evals

Visual Understanding

77 models · 67 tasks
HighestLowest
This model#25 of 7768.66% pass rate · better than 62%
Score68.66%pass rate across 67 tasks
Speed1.86savg response per task
Cost$0.0003 / task$0.250 in · $1.50 out / 1M
Tokens1.1K / task1.1K in · 6 out
Score key:≥75%40–74%<40%
CategoryPassedScore
Spatial Understanding16 / 19
84.2%
Document Understanding7 / 9
77.8%
Defect Detection11 / 15
73.3%
Object Understanding9 / 14
64.3%
Object Counting3 / 10
30%
HighestLowest
This model#4 of 5889.96% pass rate · better than 93%
Score89.96%pass rate across 229 tasks
Speed1.32savg response per task
Cost$0.0003 / task$0.250 in · $1.50 out / 1M
Tokens1.1K / task1.1K in · 10 out
Score key:≥75%40–74%<40%
CategoryPassedScore
License Plate Recognition30 / 30
100%
Focused Scene OCR91 / 99
91.9%
Text Recognition27 / 30
90%
VQA & Extraction50 / 60
83.3%
Handwritten Math8 / 10
80%

Scores based on a single evaluation run · Methodology

View all legacy Vision Evals results →

Gemini 3.1 Flash-Lite Pricing

Gemini 3.1 Flash-Lite costs $0.250 per 1M input tokens and $1.50 per 1M output tokens.

Input$0.250 / 1M tokens
Output$1.50 / 1M tokens
Cached input$0.025 / 1M tokens

Pricing updated Aug 28, 2026

Price vs. performance

Estimated cost per task vs. Visual Understanding score, for this model and others ranked near it. Upper-left is the sweet spot (high quality, low cost). Based on Vision Evals (legacy) results.

11 of 11 models plotted

ModelScoreMedian tokensEst. cost / taskCompare
QwenQwen3.5-27B71.6%1.2K$0.0002Compare
AnthropicClaude Sonnet 570.2%2.2K$0.0048Compare
AnthropicClaude Sonnet 4.670.2%2.3K$0.0080Compare
OpenAIGPT-5.6 Luna70.2%1.5K$0.0003Compare
GoogleGemini 2.5 Pro70.2%856$0.0060Compare
GoogleGemini 3.1 Flash-Lite(this model)68.7%1.1K$0.0003
GoogleGemma 4 26B A4B68.7%531$0.0001Compare
QwenQwen3.6 Plus68.7%1.6K$0.0005Compare
AnthropicClaude Opus 4.867.2%2.2K$0.012Compare
AnthropicClaude Opus 4.767.2%2.6K$0.015Compare
GoogleGemma 4 31B67.2%467$0.0001Compare

Alternatives to Gemini 3.1 Flash-Lite

Other models worth comparing for similar use cases.

OpenAI
GPT-5.4 Nano
GPT-5.4 nano is a high-throughput model developed by OpenAI and released on March 17, 2026, as the efficiency-optimized entry in the GPT-5.4 family. Engineered for cost-sensitive production environments and latency-critical workloads, it features an expanded 400,000-token context window that enables the processing of large document batches or extensive logs in a single pass. The model is primarily optimized for text-heavy operations, serving as a premier engine for high-volume classification, data extraction, ranking, and the orchestration of lightweight sub-agents where speed and low per-token costs are the primary requirements.While it supports text and image inputs, GPT-5.4 nano is designed as a text-first worker rather than a specialized visual reasoning tool. In multi-model architectures, it is best utilized for structured text tasks and simple coding sub-tasks, leaving intensive vision reasoning and UI navigation to its sibling, GPT-5.4 mini. Compared to the previous GPT-5 nano, this version provides a significant leap in reliability for structured outputs and tool calling, making it a dependable and economical choice for developers building scalable, automated pipelines that require rapid execution at the edge of the GPT-5.4 ecosystem.
Anthropic
Claude Haiku 4.5
Claude Haiku 4.5 is Anthropic’s lightweight model in the Claude 4.5 series, released in October 2025 under a proprietary license. Designed for speed and cost efficiency, it delivers near-frontier performance while maintaining Anthropic’s AI Safety Level 2 standard. Haiku 4.5 supports both text and multimodal (text and image) inputs, integrates tool use and extended reasoning, and features a 200,000 token context window, making it adept at handling long or complex workflows. Though the parameter count remains undisclosed, it achieves about 73.3% on SWE-bench Verified, reflecting strong coding and reasoning ability. Haiku 4.5 is ideal for developers and researchers seeking rapid, cost-effective model calls for analysis, coding, or multimodal understanding.
Qwen
Qwen3.5 9b
Qwen3.5-9B is a 9-billion-parameter multimodal foundation model developed by Alibaba Cloud's Qwen team, released on March 2, 2026 as part of the Qwen3.5 model family. Designed for efficient multimodal reasoning and long-context language tasks, it notably outperforms the older Qwen3-30B, a model more than three times its size, on key benchmarks including GPQA Diamond, IFEval, and LongBench.The model supports vision-language inputs through an early-fusion multimodal architecture built on a dense hybrid foundation of Gated Delta Networks and Gated Attention. It can also operate in a text-only mode by skipping the vision encoder during inference. It provides a 262,144-token context window (extensible to ~1M tokens via YaRN) and is released under the Apache License 2.0. Within the current AI landscape, Qwen3.5-9B offers a strong balance of capability and efficiency, making it well-suited for multimodal assistants, document analysis, long-context reasoning, and developer-deployed agentic systems.
OpenAI
GPT-5.6 Luna
GPT-5.6 Luna is the fastest and most cost-efficient model in OpenAI's GPT-5.6 family, which also includes Sol (the flagship tier) and Terra (the balanced mid-tier). Introduced under a new naming convention where the generation number (5.6) and a durable capability tier name (Luna, Terra, Sol) together define each model, Luna occupies the lightweight end of the family and is designed for high-volume, latency-sensitive workloads such as summarization, drafting, autocomplete, classification, and routine automation. The GPT-5.6 family as a whole advances capabilities in software engineering, computer use, professional knowledge work, scientific research, and cybersecurity, with all three tiers rated at the "High" capability level under OpenAI's Preparedness Framework for both cybersecurity and biological/chemical risk domains.GPT-5.6 Luna supports multimodal input and function calling, and shares the family's 1.5 million token context window. On Terminal-Bench 2.1, Luna scores 82.5%, and on the Artificial Analysis Coding Agent Index it outperforms comparable models at roughly one-quarter the estimated cost of higher-tier alternatives. Luna is priced at $1 per million input tokens and $6 per million output tokens, with cached input reads at $0.10 per million tokens under the GPT-5.6 prompt caching scheme, which introduces explicit cache breakpoints and a 30-minute minimum cache life. The model was previewed on June 26, 2026 to a limited group of trusted partners via the OpenAI API and Codex, with general availability rolling out on July 9, 2026 across ChatGPT, Codex, and the API.
Qwen
Qwen3 VL 8B Instruct
Qwen3 VL 8B Instruct is an open-weight multimodal vision-language model developed by Qwen / Alibaba Cloud as part of the Qwen3-VL series, designed for instruction-following tasks that combine text with visual inputs such as images and video. Released around October 2025 under the Apache-2.0 license, it targets developers who need capable multimodal reasoning without the scale or cost of very large models.The model contains roughly 8.8 billion dense parameters and supports text, image, and video understanding with strong spatial perception, visual reasoning, and emerging visual agent abilities such as GUI interaction. A standout feature is its native ~256K token context window, extendable to around 1M tokens, enabling long-document reading and extended video comprehension. In today’s landscape, it balances openness, long-context capacity, and solid multimodal performance against heavier proprietary models. Typical applications include multimodal assistants, document and video analysis, visual question answering, and research or product prototyping where transparency and deployability matter.

Other Google Gemini Flash-Lite models

Other versions in the same family as Gemini 3.1 Flash-Lite.

Deploy Gemini 3.1 Flash-Lite with an API

Gemini 3.1 Flash-Lite runs as a hosted REST endpoint through Roboflow Workflows. Pick a task, then hand the prompt to your coding agent or copy the code. Deploying the workflow into a free Roboflow workspace replaces the your-workspace and YOUR_API_KEY placeholders with your own.

Connect your agent to Roboflow (once)

Add the Roboflow MCP server

claude mcp add --transport http roboflow https://mcp.roboflow.com/mcp

Run /mcp and authorize Roboflow in your browser when the OAuth flow opens.

Start a new Claude Code session so the MCP loads, then paste the prompt below (it works the same in any agent).

Deploy this workflow to your Roboflow workspace to use it.

Integrate the Roboflow "Gemini 3.1 Flash-Lite" workflow into my app.

- Endpoint: POST https://serverless.roboflow.com/<your-workspace>/workflows/gemini-3-1-flash-lite-object-detection
- Auth: send my Roboflow API key as `api_key` in the request body, read from the ROBOFLOW_API_KEY env var (never hardcode).
- Body: { "api_key": ..., "inputs": { `image`: { type: "url" | "base64", value }, `classes`: string array } }.
- Billing: this workflow needs no provider API key — inference runs on my Roboflow credits. A BYO provider key can be added to the model step in the Roboflow workflow editor later.

With the Roboflow MCP connected, call `workflows_get` on "gemini-3-1-flash-lite-object-detection" to read the exact input schema (the source of truth), then `workflows_run` on a sample image to confirm the output shape before writing code (the MCP is authenticated, so this needs no key). Without the MCP, use the contract above.

Before running the app, set up these keys so it does not error at runtime:
- `ROBOFLOW_API_KEY` (sent as `api_key`) from https://app.roboflow.com/settings/api
Create a .gitignore'd .env with these variables, using placeholder values for any I haven't given you. Then pause and tell me directly, in your reply: the full path to the .env file, exactly which keys I need to paste in, and the link to get each one. Wait for me to confirm I've added them before you run anything. Do not run the app until I confirm.

Then add the integration to my codebase: match my project's language, framework, and conventions; read every key from environment variables (never hardcode); add basic error handling; and include a small runnable example. If you can't tell what language my project uses, ask me.
Installpip install inference-sdk

Deploy this workflow to your Roboflow workspace to use it.

# Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
# 1. Import the library
from inference_sdk import InferenceHTTPClient

# 2. Connect to your workflow
client = InferenceHTTPClient(
  api_url="https://serverless.roboflow.com",
  api_key="YOUR_API_KEY"
)

# 3. Run your workflow on an image
result = client.run_workflow(
  workspace_name="your-workspace",
  workflow_id="gemini-3-1-flash-lite-object-detection",
  images={
    "image": "YOUR_IMAGE.jpg"  # Path to your image file
  },
  parameters={
    "classes": ["class1", "class2", "class3"]
  },
  use_cache=True  # cache workflow definition for 15 minutes
)

# 4. Get your results
print(result)

Deploy this workflow to your Roboflow workspace to use it.

// Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
const response = await fetch('https://serverless.roboflow.com/your-workspace/workflows/gemini-3-1-flash-lite-object-detection', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    api_key: 'YOUR_API_KEY',
    inputs: {
      "image": {"type": "url", "value": "IMAGE_URL"},
      "classes": ["class1", "class2", "class3"]
    }
  })
});

const result = await response.json();
console.log(result);

Deploy this workflow to your Roboflow workspace to use it.

# Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
curl --location 'https://serverless.roboflow.com/your-workspace/workflows/gemini-3-1-flash-lite-object-detection' \
--header 'Content-Type: application/json' \
--data '{
  "api_key": "YOUR_API_KEY",
  "inputs": {
    "image": {"type": "url", "value": "IMAGE_URL"},
    "classes": ["class1", "class2", "class3"]
  }
}'

Gemini 3.1 Flash-Lite License

Proprietary

Gemini 3.1 Flash-Lite is proprietary: the weights are not distributed, and the Gemini 3.1 Flash-Lite license is the vendor's commercial terms of service that you accept when you call the API.

Commercial use
Permitted under the vendor terms, typically metered per token or per request, with the vendor usage policy applying to your inputs and outputs.
Modification
Not available. Gemini 3.1 Flash-Lite weights are closed, so you can configure prompts and use vendor-hosted fine-tuning where it is offered, but you cannot modify the model itself.
Redistribution
Not permitted. You cannot self-host or resell the model; you build on the hosted API instead.

Vendor terms govern data retention, whether your inputs can be trained on, rate limits, and regional availability, and they can change with notice. Review them if you handle regulated or customer data.

Do I need a commercial license for Gemini 3.1 Flash-Lite?

Proprietary terms are set by the vendor rather than negotiated per project, and no open-source obligation attaches to your code. If you would rather deploy a model whose commercial license is included in your plan — on Roboflow Managed Cloud or a Self-Hosted Inference Server — Roboflow's licensing page lists the supported alternatives to Gemini 3.1 Flash-Lite.

Do not hesitate to reach out with questions for your commercial project — our team will help you start solving business problems on the first call. See Roboflow commercial licensing for the models included in each plan.

Talk to sales

This model is proprietary. The author retains all rights, and use of the model is governed by their specific terms of service or license agreement.

Commercial use depends on the terms set by the model author. Most proprietary commercial models require a paid subscription, API key, or per-call billing. Check the provider’s pricing and terms-of-service for details.

License information is provided as a guide and is not legal advice.

Frequently Asked Questions About Gemini 3.1 Flash-Lite Vision

Yes. Gemini 3.1 Flash-Lite accepts image input, and on Roboflow's previous vision benchmark it passed 68.7% of visual understanding tasks (#25 of 77) and scored 90% on OCR. You can test it on your own image in the demo above.

Gemini 3.1 Flash-Lite has not yet been evaluated on Roboflow's current Vision Evals. The results on this page are from the previous benchmark.

Yes. The demo on this page runs Gemini 3.1 Flash-Lite in the free Roboflow Playground: upload an image and see results in seconds. A free account unlocks unlimited runs.