# Anthropic Claude Sonnet 4.6 API

> 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.

Source: https://www.sandbase.ai/models/anthropic/claude-sonnet-4.6
API reference: https://www.sandbase.ai/models/anthropic/claude-sonnet-4.6/docs

## Facts

- Provider: Anthropic
- Type: Language model
- Model ID: `anthropic/claude-sonnet-4.6`
- Price: $3 per 1M input tokens, $15 per 1M output tokens
- Context window: 1M tokens, up to 128K output tokens
- Capabilities: chat, vision, reasoning, structured output, function calling
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Chat Completions API: `POST https://api.sandbase.ai/v1/chat/completions`
- Messages API: `POST https://api.sandbase.ai/v1/messages`

```bash
curl -X POST https://api.sandbase.ai/v1/chat/completions \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "anthropic/claude-sonnet-4.6",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 2048
}'
```

## FAQ

### How do I call Anthropic Claude Sonnet 4.6 through SandBase?

Create a SandBase API key, then send requests with the model ID "anthropic/claude-sonnet-4.6" to Chat Completions API (/v1/chat/completions) or Messages API (/v1/messages) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### How much does Anthropic Claude Sonnet 4.6 cost?

$3 per 1M input tokens and $15 per 1M output tokens, billed per request from your SandBase balance. Discounts, when available, are shown in the pricing on this page.

### What is the context window of Anthropic Claude Sonnet 4.6?

1M tokens of context, with up to 128K output tokens per response.

### How does Anthropic Claude Sonnet 4.6 score on benchmarks?

Anthropic Claude Sonnet 4.6 scores 30.1 on the Artificial Analysis Intelligence Index (v4.3), ranking #41 of 83 models on SandBase; Coding Index 63.0, Agentic Index 31.8. Source: Artificial Analysis, measured as Claude Sonnet 4.6 (Max).

### Which features does Anthropic Claude Sonnet 4.6 support?

Anthropic Claude Sonnet 4.6 supports vision (image input), reasoning, function calling, structured output. See Specifications above for the full list.

### Do I need a separate Anthropic account?

No. One SandBase API key and balance gives you access to Anthropic Claude Sonnet 4.6 and the other models in the catalog; you do not need to sign up with Anthropic separately.
