We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
Google: Gemini 3.1 Flash Lite
google/gemini-3.1-flash-liteTry Google: Gemini 3.1 Flash Lite now
Runs on your balance at the prices above. New accounts start with free usage.
One API. Every model.
Session cost $0.00
Settings
Advanced parameters
Google: Gemini 3.1 Flash Lite at a glance
- Input price is 44% lower than the median of 434 Text models.
- Context window of 1,048,576 tokens, enough for long documents and multi-turn conversations.
- Supports tool (function) calling for agents and integrations.
- Supports structured JSON output with a schema.
- Supports reasoning effort control.
- Accepts images as input (vision).
- A typical request (1,000 input / 500 output tokens) costs about $0.00350.
About Google: Gemini 3.1 Flash Lite
Google: Gemini 3.1 Flash Lite is a text-focused model from Google, released on 7 May 2026. It sits in Google's Gemini family and is described by the provider as a generally available, high-efficiency multimodal model built for low-latency, high-volume workloads. If you are already working with other Gemini models, this one slots into the same family but is tuned for efficiency rather than maximum capability.
The model accepts text, image, video, file and audio inputs, and it produces text output only. That means you can send a prompt alongside a screenshot, a PDF, a video clip or an audio recording, and read back a written answer. The context window is 1,048,576 tokens, which is large enough to hold very long documents, extended transcripts or multi-file collections in a single request. The maximum output is 65,536 tokens, so responses can run to substantial length when the task calls for it. Because the model is positioned as a lightweight, low-latency option, it is aimed at workloads where throughput and responsiveness matter as much as raw reasoning depth.
Those capabilities point to a fairly specific set of use cases. High-volume classification, tagging and routing of incoming content is one. Document processing is another: the large context and file input support let you pass contracts, reports or support tickets and ask for summaries or extracted fields. The image, video and audio inputs make it a reasonable fit for media workflows such as captioning, transcription-style extraction or moderation triage, and the provider notes it is designed for lightweight agentic work, so tool calling in simple multi-step pipelines is a natural target. If you need to send the same kind of request thousands of times a day and keep latency low, this model is built for exactly that pattern.
Through api14 you call it with the OpenAI-compatible API using the model id "google/gemini-3.1-flash-lite". It supports include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools and top_p. In practice that means you can control sampling with temperature and top_p, cap response length with max_tokens, force a shape with response_format or structured_outputs, make runs reproducible with seed, stop generation on chosen strings, and attach tools with tools and tool_choice when you want the model to call functions. The reasoning and reasoning_effort parameters, along with include_reasoning, let you tune how much internal reasoning is exposed or requested. If your task depends on very deep multi-step reasoning, a larger model in the same family may fit better, but for efficient multimodal processing at scale this is the intended choice.
How to call the Google: Gemini 3.1 Flash Lite API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "google/gemini-3.1-flash-lite".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "google/gemini-3.1-flash-lite",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_pSpecifications
- Context length
- 1,048,576
- Max output
- 65,536
- Input
- text, image, video, file, audio
- Output
- text
Requests on api14 · last 7 days
Google: Gemini 3.1 Flash Lite: frequently asked questions
- How much does the Google: Gemini 3.1 Flash Lite API cost?
- Google: Gemini 3.1 Flash Lite costs Input $0.88 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of Google: Gemini 3.1 Flash Lite?
- Google: Gemini 3.1 Flash Lite reads up to 1,048,576 tokens per request: prompt, history and documents together. It writes up to 65,536 output tokens per response.
- What can Google: Gemini 3.1 Flash Lite do?
- Google: Gemini 3.1 Flash Lite accepts text, image, video, file, audio and returns text. It supports tool calling, structured JSON output, reasoning effort control.
- How do I call Google: Gemini 3.1 Flash Lite from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "google/gemini-3.1-flash-lite". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Google: Gemini 3.1 Flash Lite?
- Comparable Text models at a similar price: Google: Gemini 3.1 Flash Lite Preview, Google: Gemini 3 Flash Preview (batch), Cohere: Command A+. Each runs through the same API key, so switching is one string.
Google: Gemini 3.1 Flash Lite community
New topicThis community has no topics yet. Open the first one about Google: Gemini 3.1 Flash Lite.