1RPC.AI logo
28+ Models
Results for: “o1
o1 logo
o1
o1 is an AI model series specifically trained for complex reasoning scenarios involving extended internal chains of thought. It supports detailed multi-step reasoning workflows, comprehensive logical inference, extended problem decomposition, rigorous analytical exploration, and long-context reasoning tasks.
128K 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": "o1",
        "messages": [
            {
                "role": "user",
                "content": "What is the meaning of life?"
            }
        ]
    })
)