Claude Sonnet 3.5

Model details

Claude Sonnet 3.5

Model
anthropic.claude-3-5-sonnet-20240620-v1:0
Provider
amazon-bedrock
API
bedrock-converse-stream
Base URL
https://bedrock-runtime.us-east-1.amazonaws.com
Input
text, image
Reasoning
No
Context window
200,000
Max tokens
8,192
Cost / million input
$3
Cost / million output
$15
Cost / million cache read
$0.3
Cost / million cache write
$3.75
Model config JSON
{
  "providers": {
    "amazon-bedrock": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "anthropic.claude-3-5-sonnet-20240620-v1:0",
          "name": "Claude Sonnet 3.5",
          "reasoning": false,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 200000,
          "maxTokens": 8192,
          "cost": {
            "input": 3,
            "output": 15,
            "cacheRead": 0.3,
            "cacheWrite": 3.75
          }
        }
      ],
      "api": "bedrock-converse-stream",
      "baseUrl": "https://bedrock-runtime.us-east-1.amazonaws.com"
    }
  }
}