RequestBeam

Claude Sonnet 5.5

Prezzi API, protocolli supportati ed esempi di richiesta per Claude Sonnet 5.5 su RequestBeam.

Ottieni una chiave API
ID modello
claude-sonnet-5-5
Editore
Anthropic
Disponibilità
Disponibile
Protocolli
Chat Completions, Messages

Prezzi e fatturazione

Confronta le API
Prezzo ufficiale
Input
$2.0000 /M
Output
$10.0000 /M
Input in cache
$0.1000 /M
Scrittura in cache (5 min)
$2.5000 /M
Scrittura in cache (1 h)
$4.0000 /M
Prezzo RequestBeam Risparmio 70%
Input
$0.6000 /M
Output
$3.0000 /M
Input in cache
$0.0300 /M
Scrittura in cache (5 min)
$0.7500 /M
Scrittura in cache (1 h)
$1.2000 /M

Richieste API

Documentazione API

Le richieste usano la tua chiave API e il saldo dell’account. L’accesso ai modelli dipende dalla chiave API; verifica GET /v1/models prima di inviare una richiesta a pagamento.

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
}'