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 2.5 Flash
google/gemini-2.5-flashTry Google: Gemini 2.5 Flash 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 2.5 Flash at a glance
- Input price is 33% 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.00542.
About Google: Gemini 2.5 Flash
Google: Gemini 2.5 Flash is a text model from Google, listed on api14 under the model id google/gemini-2.5-flash. It sits in the text category and is described by Google as its state-of-the-art workhorse model, built for advanced reasoning, coding, mathematics and scientific tasks. It includes built-in thinking capabilities, which means the model can work through a problem internally before producing its answer. The provider release date is 2025-06-17, and the knowledge cutoff is 2025-01-31.
The model accepts text, image, audio, video and file inputs, and it returns text only. Its context window is 1,048,576 tokens, which is large enough to hold very long documents, transcripts or codebases in a single request. The maximum output is 65,535 tokens, so long generations are possible within that ceiling. Because input is multimodal, you can send a screenshot, a recording or a PDF alongside your instructions and ask for a written result.
Those capabilities point to a few practical patterns. Long-context work such as summarising large document sets, reviewing lengthy contracts or searching across a repository fits the context window well. Coding and mathematics tasks suit the reasoning focus, especially where the model benefits from thinking before answering. Multimodal inputs open up use cases like describing or extracting information from images, transcribing and analysing audio, or reviewing video content and returning text notes. Structured extraction from mixed media is another option, since the model supports structured outputs.
To call it through api14, use the OpenAI-compatible endpoint with the model id google/gemini-2.5-flash. The supported request parameters are include_reasoning, max_tokens, reasoning, 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 output length with max_tokens, set stop sequences, make runs reproducible with seed, request JSON-shaped replies through response_format or structured_outputs, and expose functions to the model with tools and tool_choice. The reasoning and include_reasoning parameters relate to the model's thinking behaviour, so you can influence or surface that process depending on your needs.
One thing to keep in mind is that output is text only, so if you need generated images, audio or video, this model will not produce them. It can read those formats as input but replies in text. If your workload is purely short text exchanges with no need for reasoning, multimodal input or a very large context, a smaller or faster model may be a better fit. For tasks that combine long inputs, mixed media and multi-step reasoning, this model is a reasonable default to evaluate first.
How to call the Google: Gemini 2.5 Flash 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-2.5-flash".
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-2.5-flash",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
include_reasoningmax_tokensreasoningresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_pSpecifications
- Context length
- 1,048,576
- Max output
- 65,535
- Input
- file, image, text, audio, video
- Output
- text
- Knowledge cutoff
- 2025-01-31
Requests on api14 · last 7 days
Google: Gemini 2.5 Flash: frequently asked questions
- How much does the Google: Gemini 2.5 Flash API cost?
- Google: Gemini 2.5 Flash costs Input $1.05 / 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 2.5 Flash?
- Google: Gemini 2.5 Flash reads up to 1,048,576 tokens per request: prompt, history and documents together. It writes up to 65,535 output tokens per response.
- What can Google: Gemini 2.5 Flash do?
- Google: Gemini 2.5 Flash accepts file, image, text, audio, video and returns text. It supports tool calling, structured JSON output, reasoning effort control.
- How do I call Google: Gemini 2.5 Flash from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "google/gemini-2.5-flash". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Google: Gemini 2.5 Flash?
- Comparable Text models at a similar price: Moondream: Moondream 3 Preview, Moondream: Moondream 3.1, Google: Gemini 3.5 Flash Lite. Each runs through the same API key, so switching is one string.
Google: Gemini 2.5 Flash community
New topicThis community has no topics yet. Open the first one about Google: Gemini 2.5 Flash.