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

# 速率限制

> 请求限流和额度校验规则。

APIAny.AI 会在模型请求执行前完成 API Key 校验、模型权限校验、积分额度校验和速率限制。

当请求超过限制时，接口会返回：

```json theme={null}
{
  "error": {
    "type": "rate_limit",
    "message": "Rate limit exceeded"
  }
}
```

建议不同应用和不同环境使用独立 API Key，方便分别查看限流、额度和用量记录。
