> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inquantum.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Anthropic Messages

> Create Anthropic-style message requests through the Planck AI Gateway.

`POST /v1/messages` accepts an Anthropic Messages-style request and routes it through the Planck gateway pipeline.

Use this route when you want Anthropic-style inputs with Planck billing, logging, routing, and observability.

## Endpoint URL

```text theme={null}
https://api.inquantum.ai/v1/messages
```

## Example Request

```bash theme={null}
curl https://api.inquantum.ai/v1/messages \
  -H "Authorization: Bearer $PLANCK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-4.5-sonnet",
    "max_tokens": 256,
    "messages": [
      {
        "role": "user",
        "content": "Say hello."
      }
    ]
  }'
```

## Native Anthropic

If you need Anthropic-native passthrough behavior, use `/anthropic/v1/*` instead.
