API Free WeekHundreds of APIs are free to call this week.Browse free APIs

Claude Sonnet 5.5

anthropic/claude-sonnet-5.5

Claude Sonnet 5.5 is Anthropic's Sonnet-class model for well-scoped everyday work, succeeding Claude Sonnet 5 as a direct upgrade. It is especially strong at building features and fixing bugs, with a 1M-token context window and text, image, and file input.

Input price
$2.00USD / 1M tokens
Output price
$10.00USD / 1M tokens
Context window
N/A
Max output
128K

Try the model

Playground

Open playground
Input⌘ / Ctrl + Enter

Try a prompt

1M context128K max outputVision
Input$2.00/MOutput$10.00/MCache read$0.20/MCache write$2.50/M
OutputReady

Your response will appear here

Choose an example or write a prompt, then click Run.

Specifications

Pricing

Input
$2 / 1M tokens
Output
$10 / 1M tokens
Billing formula
usage.prompt_tokens * 2 / 1000000 + usage.completion_tokens * 10 / 1000000

Context & modalities

Max output
128,000 tokens
Input
Text, image
Output
Text

Capabilities

Chat
Supported
Vision
Supported
Reasoning
Supported
Structured output
Supported
Function calling
Supported
Audio input
Not supported

Access

Provider
Anthropic
Model ID
anthropic/claude-sonnet-5.5
Execution
sync
API
Chat Completions API
Endpoint
/v1/chat/completions

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Chat Completions API endpoint
https://api.sandbase.ai/v1/chat/completions
Model ID
anthropic/claude-sonnet-5.5
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/chat/completions" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "anthropic/claude-sonnet-5.5",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 2048
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Messages API

Anthropic-compatible request through SandBase.

POST /v1/messages
{
  "model": "anthropic/claude-sonnet-5.5",
  "max_tokens": 2048,
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}
{
  "id": "msg_…",
  "type": "message",
  "role": "assistant",
  "content": [
    {
      "type": "text",
      "text": "Hello!"
    }
  ]
}

Choose your model

Compare models

All language models
ModelContextInput / 1MOutput / 1MReleased
Anthropic—$2.00$10.00Sep 28, 2026
Anthropic1M——Sep 22, 2026
Anthropic1M——Sep 1, 2026
Anthropic1M——Jul 25, 2026
Anthropic1M——Jun 30, 2026
Anthropic1M——Jun 9, 2026