1RPC.AI logo
28+ Models
Results for: “GPT-4.1 Nano
GPT-4.1 Nano logo
GPT-4.1 Nano
GPT-4.1 Nano is the smallest model in the GPT-4.1 series, optimized specifically for rapid and efficient task execution. It excels in quick classification tasks, short-form text completions, and streamlined coding scenarios, maintaining robust performance despite its compact design. GPT-4.1 Nano efficiently handles tasks requiring low latency, affordability, and efficient multimodal comprehension within a large context window.
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-nano",
        "messages": [
            {
                "role": "user",
                "content": "What is the meaning of life?"
            }
        ]
    })
)