Models / Gemini 2.5 Pro

Gemini 2.5 Pro

by Google · 1M context · flagship

Previous gen flagship with proven reliability. Strong coding and analysis capabilities at a lower price point than Gemini 3 Pro.

Pricing Comparison

Per 1 million tokens

Official (Google) NeatAPI You Save
Input Tokens $1.25 $1.19 $0.06
Output Tokens $10.00 $9.50 $0.50

That's 5% savings on every API call. See full pricing →

Code Examples

Drop-in replacement — just change the base URL and API key.

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    base_url="https://api.neatapi.ai/v1",
    api_key="your-neatapi-key"
)

response = client.chat.completions.create(
    model="gemini-2-5-pro",
    messages=[
        {"role": "user", "content": "Hello, world!"}
    ]
)
print(response.choices[0].message.content)

Node.js

import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.neatapi.ai/v1',
  apiKey: 'your-neatapi-key'
});

const response = await client.chat.completions.create({
  model: 'gemini-2-5-pro',
  messages: [
    { role: 'user', content: 'Hello, world!' }
  ]
});
console.log(response.choices[0].message.content);

cURL

curl https://api.neatapi.ai/v1/chat/completions \
  -H "Authorization: Bearer your-neatapi-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-2-5-pro",
    "messages": [
      {"role": "user", "content": "Hello, world!"}
    ]
  }'

Key Specifications

Provider

Google

Context Window

1M tokens

Category

Flagship

API Format

OpenAI-compatible

Related Models

Start Using Gemini 2.5 Pro Today

Get your API key in 30 seconds. Same API format as Google — zero migration effort.