Skip to main content
/v1/messages is OrcaRouter’s first-class Anthropic surface — the exact Anthropic Messages API shape. Use this when you want native Anthropic features (content blocks, tool use, prompt caching) and direct access to the protocol.

Minimal request

curl https://api.orcarouter.ai/v1/messages \
  -H "Authorization: Bearer sk-orca-..." \
  -H "Content-Type: application/json" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "anthropic/claude-sonnet-4.6",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Streaming (SSE named events)

curl ... -d '{... "stream": true}'
Anthropic uses named events (not OpenAI’s data: [DONE]):
event: message_start
data: {...}

event: content_block_delta
data: {...}

event: message_stop
data: {...}
See Advanced / Streaming for the full event shapes.

See also