<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
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