360 Secure SkillHub
360 安全技能中心

cli-cost-usage

该 Skill 封装 OmniRoute CLI,用于查看费用明细、Token 用量和调用日志,支持按服务商、模型和日期筛选,也可查询与同步定价、设置或重置用量预算、查看配额与利用率。材料未说明导出命令、认证配置或输出格式。

diegosouzapw
热度 0.00
最近更新 2026-10-19 02:16:24
分类:数据依赖:代码执行应用场景:报告撰写 / 财务

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add diegosouzapw/omniroute/cli-cost-usage
Metadata
name
cli-cost-usage
description
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.

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 omniroute   # or: npx omniroute
omniroute --version

Subcommands

cost

Flags:

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

Example:

omniroute cost

pricing

Example:

omniroute pricing

pricing sync

Flags:

  • --provider <p>
  • --force

Example:

omniroute pricing sync

pricing list

Flags:

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

Example:

omniroute pricing list

pricing get <model>

Example:

omniroute pricing get <model>

pricing defaults

Example:

omniroute pricing defaults

pricing show

Example:

omniroute pricing show

pricing set

Flags:

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

Example:

omniroute pricing set

pricing diff

Flags:

  • --model <m>

Example:

omniroute pricing diff

usage

Example:

omniroute usage

usage analytics

Flags:

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

Example:

omniroute usage analytics

usage budget

Example:

omniroute usage budget

usage list

Example:

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 quota

Flags:

  • --provider <id>
  • --check

Example:

omniroute usage quota

usage logs

Flags:

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

Example:

omniroute usage logs

usage utilization

Flags:

  • --api-key <k>

Example:

omniroute usage utilization

usage history

Flags:

  • --limit <n>

Example:

omniroute usage history

usage proxy-logs

Flags:

  • --limit <n>

Example:

omniroute usage proxy-logs