为什么很多人说 Cursor 订阅很值?我 Cursor Claude GPT 的$200 套餐都订阅了, GPT 周限$3000 左右,一月不重置也有$15000, Cursor Ultra 只有
我的计算方法是 [Cursor使用情况](https://cursor.com/dashboard/usage)。
先把时间范围起始调到你本月周期开始的日期,然后使用 F12 执行:
```javascript
fetch("https://cursor.com/api/dashboard/get-filtered-usage-events", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"content-type": "application/json",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Brave\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-arch": "\"x86\"",
"sec-ch-ua-bitness": "\"64\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-ch-ua-platform-version": "\"10.0.0\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"sec-gpc": "1"
},
"referrer": "https://cursor.com/dashboard/usage",
"body": "{\"teamId\":0,\"startDate\":\"换成你记录的周期开始时间\",\"endDate\":\"1789999999999\",\"page\":1,\"pageSize\":1000}",
"method": "POST",
"mode": "cors",
"credentials": "include"
}).then(x=>x.json()).then(x=>{let third=0.0;let first =0.0; x.usageEventsDisplay.forEach(i=>{if(i.model.includes("grok") || i.model.includes("composer"))first+=Number.isFinite(i.chargedCents)?i.chargedCents:0;else third+=Number.isFinite(i.chargedCents)?i.chargedCents:0}); console.log("first", first, "third", third);
});
```
因为我很少用 Cursor,觉得太难用了,没用完,所以除了用量百分比换算外,我不知道这个准确不准确。
另外,他这个 pageSize 最多 1000,如果你记录的不止 1000,记得把 page 换成 2、3,加一下,直到统计出来为 0 为止,懒得写循环。
---
原文链接:[点击查看](https://www.v2ex.com/t/1233487)
先把时间范围起始调到你本月周期开始的日期,然后使用 F12 执行:
```javascript
fetch("https://cursor.com/api/dashboard/get-filtered-usage-events", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"content-type": "application/json",
"pragma": "no-cache",
"priority": "u=1, i",
"sec-ch-ua": "\"Not=A?Brand\";v=\"99\", \"Brave\";v=\"151\", \"Chromium\";v=\"151\"",
"sec-ch-ua-arch": "\"x86\"",
"sec-ch-ua-bitness": "\"64\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-ch-ua-platform-version": "\"10.0.0\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"sec-gpc": "1"
},
"referrer": "https://cursor.com/dashboard/usage",
"body": "{\"teamId\":0,\"startDate\":\"换成你记录的周期开始时间\",\"endDate\":\"1789999999999\",\"page\":1,\"pageSize\":1000}",
"method": "POST",
"mode": "cors",
"credentials": "include"
}).then(x=>x.json()).then(x=>{let third=0.0;let first =0.0; x.usageEventsDisplay.forEach(i=>{if(i.model.includes("grok") || i.model.includes("composer"))first+=Number.isFinite(i.chargedCents)?i.chargedCents:0;else third+=Number.isFinite(i.chargedCents)?i.chargedCents:0}); console.log("first", first, "third", third);
});
```
因为我很少用 Cursor,觉得太难用了,没用完,所以除了用量百分比换算外,我不知道这个准确不准确。
另外,他这个 pageSize 最多 1000,如果你记录的不止 1000,记得把 page 换成 2、3,加一下,直到统计出来为 0 为止,懒得写循环。
---
原文链接:[点击查看](https://www.v2ex.com/t/1233487)
· 0 个赞