/usage
查看 OneKeyLLM 密钥的剩余预算。
此页面会使用你的 bearer token 调用 GET https://api.onekeyllm.io/v1/usage。完整响应格式请查看 用量文档。
GET /v1/usage
密钥预算
粘贴 sk-lazytech 密钥后即可以百分比查看预算及 5 小时/每周窗口的已用和剩余比例。
{
"object": "api_key.usage",
"foundation": "all",
"expires_at": null,
"budget": {
"used_percent": 40,
"remaining_percent": 60
},
"subscription": {
"product_id": "prod_...",
"five_hour": { "used_percent": 40, "remaining_percent": 60 },
"weekly": { "used_percent": 12, "remaining_percent": 88 }
}
}