Claude Code / Messages
Anthropic Messages endpoint used by Claude Code
POST
https://api.tokenbyte.ai/v1/messagesSet ANTHROPIC_BASE_URL=https://api.tokenbyte.ai and put the TokenByte key in ANTHROPIC_AUTH_TOKEN. Claude Code sends it as a bearer token and appends /v1/messages.
export ANTHROPIC_BASE_URL="https://api.tokenbyte.ai"
export ANTHROPIC_AUTH_TOKEN="sk-tb-xxxxxxxxxxxxxxxx"See Text Generation (Claude) for the complete wire format and the Claude Code guide for client setup.