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-keyor thekeyquery parameter.
Notes¶
- Use HTTPS in production.
- Keep tokens and upstream provider keys separate.