cli-cost-usage

SkillDev tools

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.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the cli-cost-usage skill

About this capability

AI gateway with enhanced compliance for the domestic (China) market

What this skill tells your AI

The instructions your AI receives, as published by jaccen/airoute in skills/cli-cost-usage/SKILL.md and read by ahel’s review.

Overview

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.

Quick install

npm install -g AIRoute   # or: npx AIRoute
AIRoute --version

Subcommands

cost

Flags:

  • --period <range>
  • --since <date>
  • --until <date>
  • --group-by <field>
  • --api-key <key>
  • --limit <n>

Example:

AIRoute cost

pricing

Example:

AIRoute pricing

pricing sync

Flags:

  • --provider <p>
  • --force

Example:

AIRoute pricing sync

pricing list

Flags:

  • --provider <p>
  • --model <m>
  • --limit <n>

Example:

AIRoute pricing list

pricing get <model>

Example:

AIRoute pricing get <model>

pricing defaults

Example:

AIRoute pricing defaults

pricing show

Example:

AIRoute pricing show

pricing set

Flags:

  • --input <p>
  • --output <p>
  • --cache-read <p>
  • --cache-write <p>

Example:

AIRoute pricing set

pricing diff

Flags:

  • --model <m>

Example:

AIRoute pricing diff

usage

Example:

AIRoute usage

usage analytics

Flags:

  • --period <range>
  • --provider <id>

Example:

AIRoute usage analytics

usage budget

Example:

AIRoute usage budget

usage list

Example:

AIRoute usage list

usage get [scope]

Example:

AIRoute usage get [scope]

usage set <amount>

Flags:

  • --scope <s>
  • --period <p>

Example:

AIRoute usage set <amount>

usage reset [scope]

Example:

AIRoute usage reset [scope]

usage quota

Flags:

  • --provider <id>
  • --check

Example:

AIRoute usage quota

usage logs

Flags:

  • --limit <n>
  • --search <q>
  • --since <ts>
  • --follow
  • --api-key <k>

Example:

AIRoute usage logs

usage utilization

Flags:

  • --api-key <k>

Example:

AIRoute usage utilization

usage history

Flags:

  • --limit <n>

Example:

AIRoute usage history

usage proxy-logs

Flags:

  • --limit <n>

Example:

AIRoute usage proxy-logs

Signals

GitHub stars
32
Forks
8
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
cli-cost-usage-jaccen
Source
github.com/jaccen/airoute