NEAR AICloud
Sign inStart building
Gemini 2.5 Pro icon
Gemini 2.5 Pro
google/gemini-2.5-pro
1000K context|$1.25/M input tokens|$10/M output tokens| cache read

Google's strongest reasoning model. Excels at coding, math, and complex analysis with 1M token context window. Supports text and image input.

Input / M tokens
$1.25
Output / M tokens
$10
Cache read
Context
1000K

Sample code and API for Gemini 2.5 Pro

fetch("https://cloud-api.near.ai/v1/chat/completions", { method: "POST", headers: { "Authorization": "Bearer <YOUR-NEAR-AI-CLOUD-API-KEY>", "Content-Type": "application/json" }, body: JSON.stringify({ "model": "google/gemini-2.5-pro", "messages": [ { "role": "user", "content": "What is the meaning of life?" } ] }) })

You can also use NEAR AI Cloud with OpenAI's client API:

import OpenAI from "openai" const openai = new OpenAI({ baseURL: "https://cloud-api.near.ai/v1", apiKey: "<YOUR-NEAR-AI-CLOUD-API-KEY>", }) async function main() { const completion = await openai.chat.completions.create({ messages: [{ "role": "user", "content": "What is the meaning of life?" }], model: "google/gemini-2.5-pro", }) console.log(completion.choices[0]) } main()

Privacy & Execution

This is an Incognito model: it runs on a partner provider rather than inside a NEAR AI GPU TEE. Requests are routed through a shared NEAR AI API key, so your identity is not disclosed to the provider.

Your prompt content, however, is transmitted to and processed by Google in accordance with their terms of service and privacy policy. Data is encrypted in transit, but execution happens outside of trusted hardware — there is no hardware-level privacy, attestation, or cryptographic proof of execution for this model.