token-monitor/providers
Vigilio Desto 2371e02d57
feat: xAI Management API billing module (token-monitor#2)
- providers/xai-billing.js: fetchXaiUsage, fetchXaiInvoicePreview,
  aggregateByKey, renderXaiSection
- analyze.js: --xai flag for standalone view; xAI section appended
  to full report when XAI_MANAGEMENT_KEY is set
- Verified against live API: per-key spend by unit type, prepaid
  balance, current billing period total
- Usage endpoint: POST /v1/billing/teams/{id}/usage (analyticsRequest)
- Invoice endpoint: GET /v1/billing/teams/{id}/postpaid/invoice/preview
2026-04-06 08:19:27 +00:00
..
anthropic-api.js build: token-monitor v0.1.0 — modular LLM API quota visibility 2026-04-04 17:01:05 +00:00
anthropic-teams.js build: token-monitor v0.1.0 — modular LLM API quota visibility 2026-04-04 17:01:05 +00:00
gemini.js build: add gemini and xai provider modules 2026-04-04 17:52:37 +00:00
index.js test: add gemini and xai parser unit tests 2026-04-04 17:51:38 +00:00
shelley-proxy.js build: token-monitor v0.1.0 — modular LLM API quota visibility 2026-04-04 17:01:05 +00:00
xai-billing.js feat: xAI Management API billing module (token-monitor#2) 2026-04-06 08:19:27 +00:00
xai.js Fix xai probe: double /v1 URL bug, use /v1/models instead of chat completion 2026-04-05 06:31:29 +00:00