/ai-gateway:cli-cost-usagefrom ai-gateway
View cost breakdowns, token usage, and call logs from the CLI. Filter by provider, model, or date range. Export usage reports and inspect per-connection spending.
Ships in ai-gateway. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill needs OmniRoute, which is installed separately. From this skill's folder, run
python3 scripts/sfp_app.py statusto see whether it is installed and running. If it is not, runpython3 scripts/sfp_app.py installto get the plan (it changes nothing), tell the user what it will do, and run it again with--yesonly after they agree.startruns it when it is installed but stopped.
View cost breakdowns, token usage, and call logs from the CLI. Filter by provider, model, or date range. Export usage reports and inspect per-connection spending.
npm install -g omniroute # or: npx omniroute
omniroute --version
costFlags:
--period <range>--since <date>--until <date>--group-by <field>--api-key <key>--limit <n>Example:
omniroute cost
pricingExample:
omniroute pricing
pricing syncFlags:
--provider <p>--forceExample:
omniroute pricing sync
pricing listFlags:
--provider <p>--model <m>--limit <n>Example:
omniroute pricing list
pricing get <model>Example:
omniroute pricing get <model>
pricing defaultsExample:
omniroute pricing defaults
pricing showExample:
omniroute pricing show
pricing setFlags:
--input <p>--output <p>--cache-read <p>--cache-write <p>Example:
omniroute pricing set
pricing diffFlags:
--model <m>Example:
omniroute pricing diff
usageExample:
omniroute usage
usage analyticsFlags:
--period <range>--provider <id>Example:
omniroute usage analytics
usage budgetExample:
omniroute usage budget
usage listExample:
omniroute usage list
usage get [scope]Example:
omniroute usage get [scope]
usage set <amount>Flags:
--scope <s>--period <p>Example:
omniroute usage set <amount>
usage reset [scope]Example:
omniroute usage reset [scope]
usage quotaFlags:
--provider <id>--checkExample:
omniroute usage quota
usage logsFlags:
--limit <n>--search <q>--since <ts>--follow--api-key <k>Example:
omniroute usage logs
usage utilizationFlags:
--api-key <k>Example:
omniroute usage utilization
usage historyFlags:
--limit <n>Example:
omniroute usage history
usage proxy-logsFlags:
--limit <n>Example:
omniroute usage proxy-logs
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cost-tracking, token-usage, cli-tool, usage-analytics, budget-management
npx claudepluginhub siddu1004/sfp --plugin ai-gateway45 skills in this plugin
/cli-a2aInteract with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0 agent-to-agent protocol interactively./cli-backup-syncBackup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files./cli-batchesSubmit and monitor batch inference jobs from the CLI. Upload and manage files for batch processing, retrieve results, and integrate batch pipelines with CI/CD workflows.Other plugins' skills for the same job