访问地址:国内 https://4sapi.org、https://4stoken.com;海外https://4sapi.top、https://4sapi.com、https://us.4sapi.com;纯 API 专线https://4sapi.ai;北美低延迟https://4sapi.net。详见《国内外直连域名》。
curl --location 'https://4sapi.org/api/usage/token' \
--header 'Authorization: Bearer API-KEY' \
--header 'New-Api-User: UserName'{
"code": true,
"data": {
"expires_at": 0,
"model_limits": {},
"model_limits_enabled": false,
"name": "",
"object": "token_usage",
"total_available": 0,
"total_granted": 0,
"total_used": 0,
"unlimited_quota": true
},
"message": "ok"
}