> ## 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.

# 鉴权

> 安全地认证 API 请求

OpenAI 兼容接口使用 `Authorization: Bearer <API_KEY>`；Anthropic 使用 `x-api-key`；Gemini 使用 `x-goog-api-key`。所有请求均应通过 HTTPS 发送。

<Warning>不要把 API Key 写入浏览器代码、移动应用包、公开仓库、日志或截图。应保存在服务端环境变量或密钥管理系统中。</Warning>

密钥泄露后应立即在 [Key 管理](https://api.bianxie.ai/keys)中撤销并重新创建。
