NewKimi K3.1 Pro is now availableTry it now

Gemini 2.5 Pro

Run Gemini 2.5 Pro by Google on Inference.net through a serverless, OpenAI-compatible API at $1.25 per 1M input tokens and $10.00 per 1M output tokens. Built on a Proprietary architecture with a 1M-token context window with vision, tool calling, and structured outputs support, it streams low-latency responses with Zero Data Retention enabled by default.

GoogleMultimodal ModelProprietary1M context
MODEL SPEC
Developed by
Google
Model family
Gemini 2.5 Pro
Size
Not disclosed
Architecture
Proprietary
Context window
1M tokens
Max output
66K tokens
License
Commercial / Provider
Overview

Gemini 2.5 Pro is a multimodal model from Google built on a Proprietary architecture, available through the Inference.net serverless API. Use the same OpenAI-compatible request shape across the catalog and switch models by changing a single identifier.

The API supports streaming responses and project-scoped credentials. Usage, token volume, and spend appear in the dashboard automatically, so the model can move from evaluation to production without a second integration path.

QUICKSTARTGet API key
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://api.inference.net/v1',
  apiKey: process.env.INFERENCE_API_KEY,
})

const completion = await client.chat.completions.create({
  model: 'gemini-2.5-pro',
  messages: [{ role: 'user', content: 'Hello' }],
})

PRICING & TOKEN RATES

USD per 1M tokens
Gemini 2.5 Pro API pricing per 1 million tokens on Inference.net
Token typeRate (per 1M)Details
Input$1.25Standard prompt tokens
Cache read$0.12590% savings vs. standard input
Output$10.00Generated completion tokens
Reasoning$10.00Reasoning / thinking output tokens
Long-context input$2.50Prompts over 200K input tokens
Long-context cache read$0.25Cached reads over 200K input tokens
Long-context output$15.00Completions over 200K input tokens

SPECIFICATIONS & CAPABILITIES

gemini-2.5-pro
Gemini 2.5 Pro technical specifications and API capabilities on Inference.net
SpecificationValue
MakerGoogle
ArchitectureProprietary
ParametersNot disclosed
QuantizationNative / Unspecified
Context window1M tokens (1,048,576)
Max output66K tokens (65,536)
Input modalitiesText, Image
Output modalitiesText
Tool callingSupported
Structured outputsSupported
JSON object modeSupported
LogprobsNot specified
Reasoning effortsNot supported
Supported wire endpoints/v1/chat/completions/v1/responses/v1/messages
Data residencyGlobal (api.inference.net)
LicenseCommercial / Provider
Artificial Analysis Intelligence Index26 (captured Jul 31, 2026)
Release dateJun 17, 2025
PROMPT CACHING
  1. Keep the stable system content block byte-identical across calls.
  2. Mark it with cache_control: { "type": "ephemeral" } to set a cache point.
  3. Long prompts are required. As a practical target, use roughly 4,000 stable tokens for Gemini 3.1 Pro Preview or 9,000 for the other listed Gemini models; these are not guaranteed provider minimums.
  4. Check usage.prompt_tokens_details.cached_tokens in the response to confirm cache reads.
{
  "messages": [{
    "role": "system",
    "content": [{
      "type": "text",
      "text": "Stable system content...",
      "cache_control": { "type": "ephemeral" }
    }]
  }]
}

Estimate monthly savings for your prefix length and hit rate in the Prompt Cache Savings Calculator.

AGENT INTEGRATIONSView all
FAQ

Frequently asked questions about Gemini 2.5 Pro

On Inference.net, Gemini 2.5 Pro is priced at $1.25 per 1M input tokens and $10.00 per 1M output tokens. Cached input reads are $0.125 per 1M tokens (90% less than standard input). Prompts exceeding 200K input tokens use the long-context tier at $2.50/1M input and $15.00/1M output. Prompt caching is supported on long stable prefixes by marking system blocks with cache_control: { "type": "ephemeral" }.

Related models
See all models
Ready when you are

Start building with Gemini 2.5 Pro today

Serverless, OpenAI-compatible, and billed per token. No commitments.