cheaper-inference/omniroute

cli-cost-usage

View cost breakdowns, token usage, and call logs from the CLI.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/cheaper-inference/omniroute --skill cli-cost-usage

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

<!-- 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

bash
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:

bash
omniroute cost

pricing

Example:

bash
omniroute pricing

pricing sync

Flags:

  • --provider <p>
  • --force

Example:

bash
omniroute pricing sync

pricing list

Flags:

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

Example:

bash
omniroute pricing list

pricing get <model>

Example:

bash
omniroute pricing get <model>

pricing defaults

Example:

bash
omniroute pricing defaults

pricing show

Example:

bash
omniroute pricing show

pricing set

Flags:

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

Example:

bash
omniroute pricing set

pricing diff

Flags:

  • --model <m>

Example:

bash
omniroute pricing diff

usage

Example:

bash
omniroute usage

usage analytics

Flags:

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

Example:

bash
omniroute usage analytics

usage budget

Example:

bash
omniroute usage budget

usage list

Example:

bash
omniroute usage list

usage get [scope]

Example:

bash
omniroute usage get [scope]

usage set <amount>

Flags:

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

Example:

bash
omniroute usage set <amount>

usage reset [scope]

Example:

bash
omniroute usage reset [scope]

usage quota

Flags:

  • --provider <id>
  • --check

Example:

bash
omniroute usage quota

usage logs

Flags:

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

Example:

bash
omniroute usage logs

usage utilization

Flags:

  • --api-key <k>

Example:

bash
omniroute usage utilization

usage history

Flags:

  • --limit <n>

Example:

bash
omniroute usage history

usage proxy-logs

Flags:

  • --limit <n>

Example:

bash
omniroute usage proxy-logs

タスクに関連する項目

同じリポジトリから

関連する Skills

すべての Skills
cheaper-inference
コミュニティ

cli-chat

Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration.

1時間の導入数
1
GitHub Stars
8.8万
更新日
11月17日
cheaper-inference
コミュニティ

cli-health

Check server health, component status, and live metrics from the CLI. Run health, health components, and health watch for a real-time dashboard of circuit breakers and provider status.

1時間の導入数
1
GitHub Stars
8.8万
更新日
11月17日
cheaper-inference
コミュニティ

cli-providers

Manage provider connections from the CLI: list available/configured providers, add, test, test-all, validate, rotate API keys, and view per-provider metrics.

1時間の導入数
1
GitHub Stars
8.8万
更新日
11月17日
cheaper-inference
コミュニティ

omni-github-skills

Search, score, scan, and import agent skills from GitHub repositories that contain SKILL.md, CLAUDE.md, .cursorrules, and similar agent skill files. Discover community skills across many tool and provider categories, evaluate relevance with heuristic scoring, check for malware or hardcoded secrets, and install into Hermes, Claude Code, Gemini CLI, or OpenCode agent directories.

1時間の導入数
1
GitHub Stars
8.8万
更新日
11月17日