← Catalog

pi-fireworks-quota

Pi commands /fireworks:quota and /fireworks:test-key — Fireworks AI balance, spend, tokens, and limits

Extension

Install

Install with PiG

pig install npm:pi-fireworks-quota

Install with Pi

pi install npm:pi-fireworks-quota
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./extensions/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.4 (README.md). PiG does not review it.

pi-fireworks-quota

npm version npm downloads license

/fireworks:quota + /fireworks:test-key — Fireworks AI balance/spend inside Pi.

Install

From npm:

pi install npm:pi-fireworks-quota

From GitHub:

pi install git:github.com/ZeR020/pi-fireworks-quota

Usage

/fireworks:quota
/fireworks:test-key
/fireworks:test-key fw_...
CommandWhat it does
/fireworks:quotaQuota UI for the currently active Fireworks key
/fireworks:test-keyPrompt for (or take) another key and open the same UI — does not switch your active key
TabContent
BalanceCredits remaining and month spend against budget
TokensMonth totals: prompt, completion, cached, uncached, cache hit
ModelsPer-model tokens and spend; switch period with ←/→
AccountEmail, account ID, state, API-key tail, serverless RPM limit

Keybindings:

  • Tab / Shift+Tab — switch tabs
  • r — refresh
  • q / Esc — close
  • ← / → — change period on the Models tab

Requirements

Fireworks auth must be configured in Pi, either in auth.json or via the FIREWORKS_API_KEY environment variable.

Note

This package calls Fireworks' REST control-plane API (api.fireworks.ai/v1, Bearer API-key auth). Balance is unavailable when Fireworks denies the undocumented :getBalance endpoint for API keys; all other data comes from documented endpoints.