Fireworks billing
Skill sandipb/agent-toolkit/plugins/codex/sandipb-agents/skills/fireworks-billing
Export and summarize Fireworks AI billing usage by date range, model, and usage type with the official firectl CLI. Use for Fireworks billing metrics, token usage, accelerator usage, or spend-related investigation. This reports usage rather than currency charges.From its SKILL.md
npx -y skills add sandipb/agent-toolkit --skill fireworks-billingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.2 KB, as published. Nobody here has run it
Fireworks AI billing usage
Use the bundled script to export Fireworks billing metrics and summarize prompt tokens, completion tokens, accelerator seconds, models, and usage types. Do not describe these usage totals as currency spend.
Prerequisites
firectlinstalled using the official instructionsuvinstalled to run the bundled Python script- An authenticated Fireworks profile; use
firectl signin
Never ask the user to paste an API key into chat or place one directly on a
command line. Let firectl use its authenticated profile.
Workflow
- Run the bundled
fireworks-billing.pyfrom this skill directory. - Use
usagefor a billing-usage summary.spendremains as a compatibility alias, but the result contains usage quantities, not dollar costs. - Explain that start dates are inclusive and end dates are exclusive.
- Split ranges longer than 31 days into separate calls.
- For credit balance or monetary charges, direct the user to the Fireworks billing dashboard; the documented CLI does not expose a stable balance query.
Commands
# Previous UTC calendar day
./fireworks-billing.py usage
# Explicit inclusive-start/exclusive-end range
./fireworks-billing.py usage \
--start-time 2026-02-17 \
--end-time 2026-02-18
The script exports into a private temporary directory, validates the current CSV schema, summarizes it, and removes the temporary data. It does not retain raw billing records.
Troubleshooting
- Missing
firectl: follow the official installation instructions. - Authentication failure: run
firectl signin, then retry. - Missing CSV columns: update
firectland this skill before trusting results. - No rows: report that no usage was recorded for the requested interval.
- More than 31 days: split the interval; Fireworks limits each export to 31 days.
Current skill version: 1.1.0.