RequestBeam

Claude Sonnet 5.5

Claude Sonnet 5.5 API 在 RequestBeam 的价格、支持协议和调用示例。

获取 API 密钥
模型 ID
claude-sonnet-5-5
模型厂商
Anthropic
可用状态
可用
支持协议
HTTP, Chat Completions, Messages

价格与计费

比较 API

0-1M 输入 Token

官方价格

输入
$2.0000 /M
输出
$10.0000 /M
缓存输入
$0.1000 /M
缓存写入(5 分钟)
$2.5000 /M
缓存写入(1 小时)
$4.0000 /M

我们的价格 降低 45%

输入
$1.1000 /M
输出
$5.5000 /M
缓存输入
$0.0550 /M
缓存写入(5 分钟)
$1.3750 /M
缓存写入(1 小时)
$2.2000 /M

API 调用

API 文档

请求使用你的 API 密钥和账户余额。模型访问权限以 API 密钥为准;发送付费请求前,请通过 GET /v1/models 确认可用模型。

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