# Anthropic: claude-3-5-sonnet-20241022

- Model ID: `claude-3-5-sonnet-20241022`
- Provider: Anthropic
- Web version: https://www.moleapi.com/en/models/anthropic/claude-3-5-sonnet-20241022
- Content status: catalog

## Model introduction

Claude model by Anthropic for general chat, writing, coding assistance, and tool-assisted workflows.

## Model capabilities

- OpenAI compatible
- Anthropic compatible
- Prompt cache

### Verified specifications

- Catalog status: Currently available on MoleAPI
- Compatible protocols: anthropic, openai
- Available billing groups: Relay

## Model pricing and access

Pricing is supplied dynamically by the MoleAPI console API.

### Relay (relay, x0.3)

| Tier | Condition | Input | Output | Cache read | Cache write | Cache write (1 hour) |
| --- | --- | ---: | ---: | ---: | ---: | ---: |
| base | - | $0.9 | $4.5 | $0.09 | $1.125 | $1.8 |

### Access protocols

| Protocol | Method | Endpoint |
| --- | --- | --- |
| anthropic | POST | /v1/messages |
| openai | POST | /v1/chat/completions |

- Live pricing source: https://home.moleapi.com/api/pricing

## About claude-3-5-sonnet-20241022

Claude model by Anthropic for general chat, writing, coding assistance, and tool-assisted workflows.

### Sources

- [MoleAPI console pricing catalog](https://home.moleapi.com/api/pricing) — MoleAPI

## Code examples

### cURL

```bash
curl https://api.moleapi.com/v1/chat/completions \
  -H "Authorization: Bearer $MOLEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-3-5-sonnet-20241022","messages":[{"role":"user","content":"Hello"}]}'
```

## More related models

- [claude-fable-5](https://www.moleapi.com/en/models/anthropic/claude-fable-5) — Anthropic
- [claude-fable-5-1](https://www.moleapi.com/en/models/anthropic/claude-fable-5-1) — Anthropic
- [claude-haiku-5-5](https://www.moleapi.com/en/models/anthropic/claude-haiku-5-5) — Anthropic
- [gpt-5.4-nano](https://www.moleapi.com/en/models/openai/gpt-5.4-nano) — OpenAI
- [gpt-5.6-luna](https://www.moleapi.com/en/models/openai/gpt-5.6-luna) — OpenAI

## Frequently asked questions

### How is claude-3-5-sonnet-20241022 priced?

Prices are read from the MoleAPI console API and update with model prices, context tiers, and account groups.

### How can I access claude-3-5-sonnet-20241022?

The catalog currently lists anthropic, openai.

### How do I switch an existing project to claude-3-5-sonnet-20241022?

Keep the MoleAPI API address and key, replace the model parameter, and check protocol-specific parameters.

### Where do the claude-3-5-sonnet-20241022 details come from?

Only confirmed availability, pricing, and protocol details from the MoleAPI catalog are included.
