1RPC.AI logo1RPC.AI logo
28+ Models
Results for: “GPT-4.1 Mini
GPT-4.1 Mini logo
GPT-4.1 Mini
GPT-4.1 Mini is a midsized variant of the GPT-4.1 family, providing a balanced combination of intelligence, speed, and cost efficiency. It demonstrates strong performance across multiple benchmarks, particularly in coding accuracy, instruction-following, and moderate-to-complex conversational tasks. GPT-4.1 Mini is well-suited for scalable deployments that prioritize high-quality outputs with moderate latency and controlled costs.
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": "gpt-4.1-mini",
        "messages": [
            {
                "role": "user",
                "content": "What is the meaning of life?"
            }
        ]
    })
)