Back to models
Anthropic

Claude Sonnet 5

claude-sonnet-5
Anthropic1.0M context$2.00 / 1M tokens (input)$10.00 / 1M tokens (output)

Anthropic Claude Sonnet 5 chat model for coding, agents, professional work, vision input, tool use, computer use, adaptive reasoning, and prompt caching on AWS Bedrock.

Total Context1.0M
Input Price$2.00
Output Price$10.00

Providers for Claude Sonnet 5

AnyInt routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

Anthropic
Total Context1.0M
Input Price$2.00
Output Price$10.00

Sample code and API for Claude Sonnet 5

AnyInt generates a quickstart from this model's declared API operations, including complete polling flows for asynchronous media.

Create API key

Choose an operation and language that match this model.

Anthropic MessagesAnthropic native

Call the standard operation supported by this model.

/anthropic/v1/messages
curl 'https://api.anyint.ai/anthropic/v1/messages' \
  -H "Content-Type: application/json" \
  -H "x-api-key: <YOUR_API_KEY>" \
  -d '{
  "model": "claude-sonnet-5",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Describe a calm futuristic city at sunrise."
    }
  ]
}'