Claude Sonnet 5.5
Claude Sonnet 5.5 API pricing, supported protocols, and request examples on RequestBeam.
- Model ID
claude-sonnet-5-5- Publisher
- Anthropic
- Availability
- Available
- Protocols
- HTTP, Chat Completions, Messages
Pricing and billing
Compare APIs0-1M input tokens
Official price
- Input
-
$2.0000/M - Output
-
$10.0000/M - Cache input
-
$0.1000/M - Cache write (5m)
-
$2.5000/M - Cache write (1h)
-
$4.0000/M
Our price Save 45%
- Input
- $1.1000 /M
- Output
- $5.5000 /M
- Cache input
- $0.0550 /M
- Cache write (5m)
- $1.3750 /M
- Cache write (1h)
- $2.2000 /M
API requests
API documentationRequests use your API key and account balance. Model access is determined by your API key; check GET /v1/models before sending a paid request.
Chat Completions
POST /v1/chat-completions
curl --request POST 'https://api.requestbeam.com/v1/chat-completions' \
--header "Authorization: Bearer $REQUESTBEAM_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"model": "claude-sonnet-5-5",
"messages": [
{
"role": "user",
"content": "Hello, introduce yourself in one sentence."
}
],
"stream": false
}' Messages
POST /anthropic/v1/messages
curl --request POST 'https://api.requestbeam.com/anthropic/v1/messages' \
--header "Authorization: Bearer $REQUESTBEAM_API_KEY" \
--header 'Content-Type: application/json' \
--header 'anthropic-version: 2023-06-01' \
--data '{
"model": "claude-sonnet-5-5",
"messages": [
{
"role": "user",
"content": "Hello, introduce yourself in one sentence."
}
],
"stream": false,
"max_tokens": 4096
}'