Integrations / xAI
xAI
Spend per model per day.
Why connect it
xAI's management API reports dollars, not tokens. GitDoctor shows the spend map and says plainly that a caching scenario can't be judged from it.
What you'll see
- Spend per model per day for the last 30 days
- Total against the team's prepaid balance
What the credential can and cannot do
Where to get it: console.x.ai → Settings → Management keys. If the key can't discover its team, add the team id.
It grants: Management keys are broad: they can read billing and manage keys. GitDoctor only reads usage.
It cannot: GitDoctor never changes billing, limits, or keys with it.
Whatever you connect lives in an encrypted cookie in your browser and nowhere else. Sign out and it's gone; revoke it at the provider and it stops working immediately.