Grok+

Adds back Grok 2 and shows rate limits

< 脚本Grok+的反馈

评价:好评 - 脚本运行良好

§
发表于:2025-05-06

Thank you, very useful. Could you add a countdown? The JSON includes a "remaining seconds" property.

§
发表于:2025-05-07

Thank you, very useful. Could you add a countdown? The JSON includes a "remaining seconds" property.

You're welcome. The countdown is already included, it looks like this: (2h).

§
发表于:2025-05-15

No, that's just the total time, aka windowSize.
e.g. grok 3:
windowSizeSeconds = 7200
There is also
waitTimeSeconds = 1014
showing how long is left of those 2h.

§
发表于:2025-05-16

Interesting. I'm not getting this in my end, I only have windowSizeSeconds.

fetch("/rest/rate-limits", {
    method: "POST",
    headers: {
        "Content-Type": "application/json"
    },
    body: JSON.stringify({
        requestKind: "DEFAULT",
        modelName: "grok-3"
    })
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
{
    "windowSizeSeconds": 7200,
    "remainingQueries": 24,
    "totalQueries": 25
}

Do you have SuperGrok?

发表回复

登录以发表回复。