1RPC.AI logo
28+ Models
Results for: “Gemini 2.5 Pro Preview
Gemini 2.5 Pro Preview logo
Gemini 2.5 Pro Preview
Google's advanced AI model is designed for high-stakes reasoning, complex problem-solving, and state-of-the-art code generation. As the top performer on the LMArena leaderboard, it combines a deeply enhanced base model with improved post-training to deliver best-in-class results across math, science, and coding benchmarks.
1.05M Tokens
Python
Typescript
Shell
Loading...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import requests
import json

response = requests.post(
    url="https://1rpc.ai/v1/chat/completions",
    headers={
        "Authorization": "Bearer <1RPC_AI_API_KEY>",
        "Content-type": "application/json",
    },
    data=json.dumps ({
        "model": "gemini-2.5-pro-preview-03-25",
        "messages": [
            {
                "role": "user",
                "content": "What is the meaning of life?"
            }
        ]
    })
)