Skip to content

v1.16.0

Choose a tag to compare

@github-actions github-actions released this 16 Sep 00:18
· 8 commits to main since this release

Two new provider integrations, both community contributions.

xAI (Grok) — usage from grok login and the Management API (#28)

The xAI card no longer needs XAI_API_KEY. When Grok Build is already signed in, the grok login session in ~/.grok/auth.json (or $GROK_HOME) drives the CLI billing API and shows SuperGrok weekly or monthly usage — including the case where creditUsagePercent is omitted on a valid period, which means 0% used, not missing data. Expired OIDC access tokens are renewed through the installed Grok CLI and the billing request is retried once; a failed renewal is throttled by XAI_REFRESH_COOLDOWN (default 300s) so a broken session cannot spawn a process per refresh. Prepaid API credits come from the documented Management API (XAI_MANAGEMENT_KEY + XAI_TEAM_ID), and XAI_API_KEY remains an auth-only fallback.

Contributed by @SkippySteve.

MiniMax — Token Plan subscription quota (#29)

MiniMax reports real 5-hour and weekly window usage with a Token Plan Subscription Key (sk-cp-…, env MINIMAX_TOKEN_PLAN_KEY, or the same key shape in a legacy MINIMAX_API_KEY). Availability is decided per window, so a capped 5-hour interval never hides a real weekly figure and no window is ever fabricated. Pay-as-you-go sk-api-… keys stay auth-only, and a failed Token Plan probe degrades to that view instead of blanking the card. MINIMAX_API_BASE retargets both read-only endpoints. A Token Plan key is never used for paid inference.

Contributed by @UN-9BOT.


Full details in CHANGELOG.md.