1RPC.AI logo
39+ Models
Results for: “Claude Sonnet 4.5
Claude Sonnet 4.5 logo
Claude Sonnet 4.5
Claude Sonnet 4.5 is Anthropic's powerful frontier model, delivering best-in-class performance on real-world software development, tool use, and complex reasoning tasks. It is the top performer on SWE-bench Verified and OSWorld, making it the most advanced model for writing and maintaining code, reasoning across documents, and operating software tools like browsers, spreadsheets, and terminals.
1M Tokens
Python
Typescript
Shell
Loading...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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": "claude-sonnet-4-5-20250929",
        "max_tokens": 1024,
        "messages": [
            {
                "role": "user",
                "content": "What is the meaning of life?"
            }
        ]
    })
)