Results for: “Claude 3 Haiku”
Claude 3 Haiku
Claude 3 Haiku is Anthropic's most compact AI model specifically optimized for instant responsiveness in lightweight, minimal-latency tasks. It is designed for scenarios such as immediate conversational exchanges, quick fact-based queries, simple question-answering, and rapid-response interactions requiring accuracy and speed.
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-3-haiku-20240307",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "What is the meaning of life?"
}
]
})
)