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

# 认证

在 [API Key](https://console.lithosai.cloud/keys?lang=zh) 页面创建 API key，然后在请求头里加上 `Authorization: Bearer $LITHOSAI_API_KEY`，其中 `$LITHOSAI_API_KEY` 是你创建的 key。

```bash theme={null}
curl https://api.lithosai.cloud/v1/models \
  -H "Authorization: Bearer $LITHOSAI_API_KEY"
```

<Warning>
  API key 只在创建时显示一次。
</Warning>

API key 归属于组织，而不是创建它的用户。

同一组织下的所有 key 共用一套[速率限制](/zh/rate-limits)和同一个余额。多建 key 只是方便区分用量来自哪里，不会增加配额或余额。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.