skills/cli-cost-usage/SKILL.md
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