Back to models
provider-prod-17-modrouter-anthropic-primary

Claude Sonnet 4.6

claude-sonnet-4-6
provider-prod-17-modrouter-anthropic-primary0 contextFree

Sonnet 4.6 is Anthropic's most capable Sonnet-class model yet, with frontier performance across coding, agents, and professional work. It excels at iterative development, complex codebase navigation, end-to-end project management with memory, polished document creation, and confident computer use for web QA and workflow automation.

Total Context0
PricingFree

Providers for Claude Sonnet 4.6

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

provider-prod-17-modrouter-anthropic-primary
Total Context0
PricingFree

Sample code and API for Claude Sonnet 4.6

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-4-6",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Describe a calm futuristic city at sunrise."
    }
  ]
}'