Skip to content

Authentication

Bearer Token

Most relay endpoints use the OpenAI-compatible Authorization header:

Authorization: Bearer sk-xxxx

Vendor-specific headers

  • Claude format endpoints may require headers such as anthropic-version.
  • Gemini format endpoints may use x-goog-api-key or the key query parameter.

Notes

  • Use HTTPS in production.
  • Keep tokens and upstream provider keys separate.