Results for: “Claude Sonnet 4”
Claude Sonnet 4
Claude Sonnet 4 brings the power of Claude's reasoning and coding advancements to a broader audience, offering significant upgrades over Sonnet 3.7 with enhanced instruction-following, tool use, and memory capabilities. With state-of-the-art performance on SWE-bench and strong results in multi-agent coordination, Sonnet 4 is ideal for fast, practical deployments that balance intelligence and efficiency.
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
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-20250514",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "What is the meaning of life?"
}
]
})
)