Hosted by Rayu

Sonnet 4.6 API

Rayu model ID: us.anthropic.claude-sonnet-4-6

Credits x4

Capabilities

Reasoning · Vision · Tool calling · 1,000,000 token context

Rayu credit charge per 1M tokens

Input 2,000 · Output 6,000 · Cache read 800

Call Sonnet 4.6 with the Rayu API

curl https://api.rayucode.com/v1/chat/completions \
  -H "Authorization: Bearer $RAYU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"us.anthropic.claude-sonnet-4-6","messages":[{"role":"user","content":"Hello"}]}'