Skip to content

Anthropic Messages API ​

Use Claude Kiro for general Messages requests. Max requires Claude Code; the following curl is not supported for Max.

bash
curl https://pharosapi.com/v1/messages \
  -H "Authorization: Bearer $PHAROSAPI_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-haiku-4-5","max_tokens":64,"messages":[{"role":"user","content":"Hello"}]}'

SDK base URL: https://pharosapi.com. Follow the client's authentication settings. Kiro may contain extra system instructions. Claude limitations and prices. Validate tools, image inputs and caching for your workload.