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 Pro
google/gemini-2.5-proTry Google: Gemini 2.5 Pro 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 Pro at a glance
- Input price is 178% higher 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.02.
About Google: Gemini 2.5 Pro
Google: Gemini 2.5 Pro is a text model from Google, listed on api14 under the model id google/gemini-2.5-pro. It is Google's state-of-the-art model built for advanced reasoning, coding, mathematics and scientific tasks, and it uses thinking capabilities to reason through responses with enhanced accuracy. The provider release date is 2025-06-17, and the knowledge cutoff is 2025-01-31.
The model accepts text, image, file, audio and video as input and returns text. Its context window is 1,048,576 tokens, with a maximum output of 65,536 tokens. Supported request parameters are include_reasoning, max_tokens, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools and top_p. Because input spans several modalities while output stays text, it fits workflows where you feed rich source material and want a written answer.
That combination points to practical uses such as code generation and review, multi-step mathematical or scientific problem solving, and document analysis where long inputs matter. Since images, files, audio and video can all be supplied as input, a request can mix a PDF, a screenshot or a recording with a text prompt and receive a single text response. The large context window suits codebases, long reports and extended transcripts, and the reasoning parameter lets you control how much thinking the model applies.
You call the model through api14's OpenAI-compatible API using the model id google/gemini-2.5-pro. Requests follow the OpenAI chat completions shape, so existing OpenAI SDKs and clients work with a changed base URL and model id. Set max_tokens to cap the output, temperature and top_p to tune sampling, and stop to halt generation on given sequences. Use response_format or structured_outputs when you need structured replies, seed for reproducible sampling, and tools with tool_choice for function calling. The reasoning and include_reasoning parameters relate to the model's thinking behaviour.
Considerations follow from the facts above. Output is text only, so tasks that need generated images, audio or video are not covered here. The maximum output of 65,536 tokens is smaller than the context window, so very long single responses are bounded even though input can be far larger. If your workload is simple text generation where reasoning depth is unnecessary, a lighter text model may be a better fit.
How to call the Google: Gemini 2.5 Pro 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-pro".
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-pro",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
include_reasoningmax_tokensreasoningresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_pSpecifications
- Context length
- 1,048,576
- Max output
- 65,536
- Input
- text, image, file, audio, video
- Output
- text
- Knowledge cutoff
- 2025-01-31
Requests on api14 · last 7 days
Google: Gemini 2.5 Pro: frequently asked questions
- How much does the Google: Gemini 2.5 Pro API cost?
- Google: Gemini 2.5 Pro costs Input $4.38 / 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 Pro?
- Google: Gemini 2.5 Pro 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 2.5 Pro do?
- Google: Gemini 2.5 Pro accepts text, image, file, audio, video and returns text. It supports tool calling, structured JSON output, reasoning effort control.
- How do I call Google: Gemini 2.5 Pro from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "google/gemini-2.5-pro". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Google: Gemini 2.5 Pro?
- Comparable Text models at a similar price: OpenAI: GPT-5.1-Codex-Max, OpenAI: GPT-5.1, OpenAI: GPT-5.1-Codex. Each runs through the same API key, so switching is one string.
Google: Gemini 2.5 Pro community
New topicThis community has no topics yet. Open the first one about Google: Gemini 2.5 Pro.