> ## Documentation Index
> Fetch the complete documentation index at: https://bianxieai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> Authenticate API requests securely

OpenAI-compatible endpoints use `Authorization: Bearer <API_KEY>`. Anthropic uses `x-api-key`, and Gemini uses `x-goog-api-key`. Always use HTTPS.

<Warning>Never expose an API key in browser code, mobile bundles, public repositories, logs, or screenshots. Store it in a server-side environment variable or secret manager.</Warning>

If a key is exposed, revoke it immediately in [Key management](https://api.bianxie.ai/keys).
