Gemini Pro Latest API

google/gemini-pro-latest
Google's auto-updated alias for the newest stable Gemini Pro model — same model ID, always current.
Context
1M tokens
Input
$2.7508 / 1M tokens
Output
$16.5048 / 1M tokens
Released
Apr 27, 2026

Overview

What Is Gemini Pro Latest API?

Gemini Pro Latest is an auto-updated alias from Google that always points to the newest stable release in the Gemini Pro line, hot-swapped whenever a new Pro version ships. Google gives a two-week notice by email before the model behind the alias changes.

Because it tracks the newest release, its exact capabilities shift over time as Google ships new Pro generations behind the same alias.

Technical Reference

DeveloperGoogle
Model IDgoogle/gemini-pro-latest
Context window1,048,576 tokens
Max output65,536 tokens

What Gemini Pro Latest Brings to the Table

Always current
The alias is hot-swapped to the newest stable Pro release, so requests automatically use Google's latest Pro model without changing the model ID.

Advance notice on changes
Google provides a two-week notice before swapping the model behind the alias for any breaking change.

Uptime and performance

  • Uptime (24h): 100%
  • Uptime (7d): 80.0%
  • Availability (24h): 100%
  • Error rate (24h): 0%

Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.

Use cases

Gemini Pro Latest is documented as suited to analyzing and summarizing large amounts of information. It is also described as useful for complex reasoning, including tasks where simple answers are not enough.

It is documented for file and code analysis, including analyzing dense research papers and textbooks, generating exams and study notes, and helping with code edits, debugging, and performance optimization. It is also suited to deep-diving into customer feedback to identify trends, pain points, and emerging needs across large volumes of reviews, social posts, and support tickets.

It is also described as useful for complex prompt handling, coding, reasoning, math, and factual accuracy in a Pro model context.

How to use Gemini Pro Latest API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to google/gemini-pro-latest.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/chat/completions",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "google/gemini-pro-latest",
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ]
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "google/gemini-pro-latest",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"google/gemini-pro-latest","messages":[{"role":"user","content":"Hello!"}]}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Gemini Pro Latest API Pricing

TypePrice
Input
$2.7508 / 1M tokens
Output
$16.5048 / 1M tokens
Cached input
$0.27508 / 1M tokens

Frequently asked questions

Gemini Pro Latest has a 1,048,576 tokens context window and can return up to 65,536 tokens.

Gemini Pro Latest takes image, text as input and returns text.

Use google/gemini-pro-latest as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

Gemini Pro Latest became available on April 27, 2026.

Gemini Pro Latest is priced at input $2.7508 / 1M tokens, output $16.5048 / 1M tokens, cached input $0.27508 / 1M tokens.

Yes, Gemini Pro Latest can stream responses as they are generated.

Yes, Gemini Pro Latest accepts image input alongside text.

Gemini Pro Latest was built by Google.

It is available via API at https://api.aimlapi.com/v1/chat/completions.

Start building with Gemini Pro Latest

Get API Key
1000+ models, one API.