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 Preview 06-05

google/gemini-2.5-pro-preview
TextInput: file · image · text · audioToolsReasoning1MAdded Jun 5, 2025

Try Google: Gemini 2.5 Pro Preview 06-05 now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

Google: Gemini 2.5 Pro Preview 06-05 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 Preview 06-05

Google: Gemini 2.5 Pro Preview 06-05 is a text generation model from Google, offered through api14 under the model id google/gemini-2.5-pro-preview. It is part of the Gemini 2.5 Pro line, which Google describes as its state-of-the-art model built for advanced reasoning, coding, mathematics and scientific tasks. The model uses what Google calls thinking capabilities, meaning it can reason through a response before producing it, which is intended to improve accuracy on problems that need multiple steps.

On the input side, the model accepts text, images, audio and files, so you can send mixed content in a single request. Output is text only. The context window is 1,048,576 tokens, which is large enough to hold long documents, codebases or extended conversations without chunking. The maximum output length is 65,536 tokens, and the knowledge cutoff is 2025-01-31, so anything after that date is outside what the model was trained on.

Those capabilities point to a few practical uses. The long context suits working over entire repositories, lengthy specifications or transcripts in one call. Image and audio input let you build features that reason over screenshots, diagrams or recorded speech and return written results. The reasoning behaviour is a good fit for coding assistance, mathematical problem solving and scientific analysis, where a model benefits from working through intermediate steps. Structured outputs and tool calling also make it usable as the reasoning component inside an automated pipeline rather than only as a chat interface.

Because api14 exposes an OpenAI-compatible API, you call this model the same way you call OpenAI models, setting the model field to google/gemini-2.5-pro-preview. Supported request parameters are include_reasoning, max_tokens, reasoning, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools and top_p. So you can control sampling with temperature and top_p, cap length with max_tokens, constrain output with response_format or structured_outputs, define functions with tools and tool_choice, and use seed and stop for more deterministic or bounded generation. The reasoning and include_reasoning parameters relate to the model's thinking behaviour, letting you request or surface that reasoning.

One thing to keep in mind is that output is text only, so if you need generated images or audio you will need a different model. The knowledge cutoff of 2025-01-31 means questions about more recent events rely on what you supply in the prompt. For simpler, high-volume tasks where the long context and reasoning steps are unnecessary, a smaller or faster model may be a better fit.

How to call the Google: Gemini 2.5 Pro Preview 06-05 API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "google/gemini-2.5-pro-preview".
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-preview",
  "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_p

Specifications

Context length
1,048,576
Max output
65,536
Input
file, image, text, audio
Output
text
Knowledge cutoff
2025-01-31

Requests on api14 · last 7 days

10-1610-1710-1810-1910-2010-2110-22

Google: Gemini 2.5 Pro Preview 06-05: frequently asked questions

How much does the Google: Gemini 2.5 Pro Preview 06-05 API cost?
Google: Gemini 2.5 Pro Preview 06-05 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 Preview 06-05?
Google: Gemini 2.5 Pro Preview 06-05 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 Preview 06-05 do?
Google: Gemini 2.5 Pro Preview 06-05 accepts file, image, text, audio and returns text. It supports tool calling, structured JSON output, reasoning effort control.
How do I call Google: Gemini 2.5 Pro Preview 06-05 from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "google/gemini-2.5-pro-preview". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Google: Gemini 2.5 Pro Preview 06-05?
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 Preview 06-05 community

New topic

This community has no topics yet. Open the first one about Google: Gemini 2.5 Pro Preview 06-05.