Skip to content

Fix/get grok usage limits#4043

Open
NikoCat233 wants to merge 6 commits into
Wei-Shaw:mainfrom
NikoCat233:fix/get-grok-usage-limits
Open

Fix/get grok usage limits#4043
NikoCat233 wants to merge 6 commits into
Wei-Shaw:mainfrom
NikoCat233:fix/get-grok-usage-limits

Conversation

@NikoCat233

@NikoCat233 NikoCat233 commented Jul 11, 2026

Copy link
Copy Markdown

Fix Grok OAuth quota retrieval and display by switching from legacy passive rate-limit headers to the xAI CLI Billing API.

image

@github-actions

github-actions Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA. ✅
Posted by the CLA Assistant Lite bot.

@NikoCat233

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Jul 11, 2026
@superman2003

Copy link
Copy Markdown
Contributor

这个是不是只能查询到会员额度呢,free账号是否适配

@NikoCat233

Copy link
Copy Markdown
Author

header的魔术值好像和别的pr打架了,麻烦维护者手动改一下吧

@NikoCat233

NikoCat233 commented Jul 11, 2026

Copy link
Copy Markdown
Author

这个是不是只能查询到会员额度呢,free账号是否适配

我寻思着 free 账号 好像也不能 oauth 到grok build啊

我试试

@NikoCat233

NikoCat233 commented Jul 11, 2026

Copy link
Copy Markdown
Author
image 确实不能,不知道能直接用free号反代 我修一下看看

@superman2003

Copy link
Copy Markdown
Contributor

好像今天开始free才能反代的,而且用量接口好像复用的会员的接口,但是又没有会员导致无法查询

@NikoCat233

Copy link
Copy Markdown
Author

free号还是在请求头里面下发limit的,有点恶心了

@superman2003

Copy link
Copy Markdown
Contributor

free号还是在请求头里面下发limit的,有点恶心了

不好搞,或许不必做free额度获取,做个额度耗尽提示得了

@NikoCat233

Copy link
Copy Markdown
Author

搞不明白,free号报
Payment required (402): insufficient balance or billing issue
先这样了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants