1RPC.AI logo
28+ Models
Results for: “o4-mini
o4-mini logo
o4-mini
o4-mini is a compact, high-efficiency language model optimized for fast, low-cost performance across reasoning, math, coding, and visual understanding tasks. Despite its smaller size, it delivers strong result, making it well-suited for lightweight deployments that demand intelligent task execution. o4-mini is ideal for developers building responsive AI systems, cost-aware applications, and tool-augmented workflows requiring reliable analytical capabilities.
200K 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": "o4-mini",
        "messages": [
            {
                "role": "user",
                "content": "What is the meaning of life?"
            }
        ]
    })
)