Gemini Pro 2.5 API

Gemini Pro 2.5 is Google's most advanced reasoning AI model designed for complex tasks, showcasing strong reasoning and coding capabilities. It leads various benchmarks, indicating its enhanced performance.

Modalities
Text, ImageText
Context window
1M tokens
Released
Sep 9, 2025
Status
Deprecated

Gemini Pro 2.5 overview

Gemini Pro 2.5 by Google

Gemini Pro 2.5 is Google's advanced AI model designed for complex tasks, showcasing strong reasoning and coding capabilities.

Gemini Pro 2.5 specs

Model ID
google/gemini-2.5-pro
Developer
Google
Context window
1,000,000 tokens
Max output
65,536 tokens
Input
Text, Image
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

Overview

Gemini Pro 2.5 Preview demonstrates significant improvements in performance, including top-tier results in math problem-solving, coding, and multi-step reasoning tasks. It’s part of Google's family of scalable Gemini models optimized for AI-native applications and products.

Key Features

  • Strong Reasoning Capabilities: Excels in tasks requiring logical deduction, planning, and problem-solving.
  • Code Understanding: Performs well on competitive programming tasks.
  • Multi-Turn Dialogue: Maintains coherent conversations across multiple exchanges.

Intended Use

  • Coding Assistant: Efficient at generating and explaining code.
  • Educational Tools: Ideal for tutoring and problem-solving support.
  • Enterprise Automation: Supports workflow reasoning and task management.
  • Research Applications: Handles complex documents and analysis tasks.

Architecture

Transformer-based architecture with reasoning-specific layers optimized for multimodal inputs (text and images). Includes advanced post-training enhancements.

Training Data

Combines billions of tokens with terabytes of multimedia data spanning diverse domains.

Code Samples:

The model is available on the AI/ML API platform as "Gemini Pro 2.5 Preview" .

Use cases

  • AI-powered research and learning assistants
  • Real-time multimedia AI applications
  • Enterprise AI workflows requiring complex reasoning and multimodal inputs
  • Developer tools for code generation and testing
  • Customer support and virtual assistants with advanced communication abilities

Capabilities

  • Function calling
  • Streaming
  • Structured outputs
  • Reasoning

Gemini Pro 2.5 benchmarks by Artificial Analysis

See how Gemini Pro 2.5 compares in generation speed and latency. Data retrieved Nov 3, 2026.

Speed

Output tokens / second

Benchmark results

Compare 6 models available on AI/ML API across 5 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

Gemini Pro 2.5 API pricing

Gemini Pro 2.5 pricing in US dollars
UsagePriceUnit
Input$1.251M tokens
Output$101M tokens
Cached input$1.251M tokens

Gemini Pro 2.5 is deprecated on AI/ML API. The rates apply to existing integrations; the models below are current alternatives.

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Gemini Pro 2.5 vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Gemini Pro 2.5$1.25$10
Gemini 3.5 Flash Lite$0.3$2.5
Gemini 3.8 Flash$0.75$3.75
Gemini 3.7 Flash$0.75$3.75
Gemini 4 Argon$2$10

How to use the Gemini Pro 2.5 API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "google/gemini-2.5-pro",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

Gemini Pro 2.5 FAQ

What is the context window of Gemini Pro 2.5?

Gemini Pro 2.5 has a 1,000,000 tokens context window and can return up to 65,536 tokens.

What inputs and outputs does Gemini Pro 2.5 support?

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

What is the model ID for Gemini Pro 2.5?

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

When was Gemini Pro 2.5 released?

Gemini Pro 2.5 became available on September 9, 2025.

How much does Gemini Pro 2.5 cost?

Gemini Pro 2.5 is priced at input $1.625 / 1M tokens, output $13 / 1M tokens, cached input $1.625 / 1M tokens.

Does Gemini Pro 2.5 support streaming?

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

Can Gemini Pro 2.5 read images?

Yes, Gemini Pro 2.5 accepts image input alongside text.

Who created Gemini Pro 2.5?

Gemini Pro 2.5 was built by Google.

Does Gemini Pro 2.5 support calling external tools or functions?

Yes, it supports function calling, including parallel tool calls and structured output.

Start building with Gemini Pro 2.5

Gemini Pro 2.5 API

google/gemini-2.5-pro

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "google/gemini-2.5-pro",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'