# Claude Sonnet 5

> Anthropic's Claude Sonnet 5 is a cost-efficient agentic model with strong coding, tool-use, and reasoning at the balanced Sonnet performance-cost tier, with a 1M-token context window.

**ID**: `anthropic/claude-sonnet-5`  
**Creator**: Anthropic  
**Category**: text  
**Context**: 1M tokens  
**Pricing**: $2.00 / $10.00 per 1M · billed by your provider (BYOK)  
**Released**: 2026-06-30  
**Web page**: https://anyrouter.dev/model/anthropic/claude-sonnet-5

**Input modalities**: text  
**Output modalities**: text  

**Capabilities**: chat, streaming, function-calling, coding

**Aliases**: `claude-sonnet-5`, `anthropic/claude-sonnet-5`

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "anthropic/claude-sonnet-5",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| anthropic-byok | $2.00/M (list) | $10.00/M (list) |
| openrouter-byok | $2.00/M (list) | $10.00/M (list) |
| router-byok | $2.00/M (list) | $10.00/M (list) |
| vercel-byok | $2.00/M (list) | $10.00/M (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.

## Benchmarks

- **GPQA Diamond**: 0.9
- **SciCode**: 0.5
- **OTIS Mock AIME**: 0.9
- **SimpleQA (verified)**: 0.3

Benchmark data from [Epoch AI](https://epoch.ai/benchmarks) (CC-BY 4.0).
