# Claude Sonnet 5.5

- Model ID for the API: `anthropic/claude-sonnet-5-5`
- Privacy tier: Incognito. NEAR AI's TEE router hides your account, and the model runs at the provider. No hardware privacy guarantee.
- Input price: $2 per 1M tokens
- Output price: $10 per 1M tokens
- Cache read price: $0.1 per 1M tokens
- Context window: 1M tokens
- Input modalities: Text, Image
- Output modalities: Text
- API base URL: https://cloud-api.near.ai/v1

Canonical page: https://near.ai/models/anthropic/claude-sonnet-5-5
Generated: 2026-11-09T00:03:03.679Z

## About this model

Anthropic's latest Sonnet model, balancing speed and intelligence for everyday coding, agents, and enterprise work, with adaptive reasoning and a 1M-token context window.

## Make your first request

Send `POST https://cloud-api.near.ai/v1/messages` over HTTPS. Get an API key at https://cloud.near.ai/signin, then replace the API key placeholder below.

```bash
curl https://cloud-api.near.ai/v1/messages \
  -H "Content-Type: application/json" \
  -H "x-api-key: <YOUR-NEAR-AI-CLOUD-API-KEY>" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "anthropic/claude-sonnet-5-5",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "What is the meaning of life?"}]
  }'
```

## Verify

- How verification works: https://docs.near.ai/cloud/verification
- Inference SDK, which verifies Gateway signatures for you: https://docs.near.ai/cloud/inference-sdk

## More

- Try it in the Playground: https://cloud.near.ai/playground?model=anthropic%2Fclaude-sonnet-5-5
- All models: https://near.ai/models.md
- Pricing: https://near.ai/pricing.md
- Documentation: https://docs.near.ai/cloud/introduction
