cheaper-inference/omniroute

cli-cost-usage

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

Zobacz źródło

Jak używać

  1. Skopiuj polecenie instalacji i sprawdź źródła przed instalacją we własnym środowisku agenta.
  2. W oryginale sprawdź wymagane narzędzia, dane dostępowe i obsługiwane środowiska.
  3. Opisz dane wejściowe i oczekiwany rezultat; porównaj wynik ze źródłami.
npx skills add https://github.com/cheaper-inference/omniroute --skill cli-cost-usage

Przed rozpoczęciem

  • Instalacja nie obejmuje subskrypcji modelu, limitu API ani uprawnień do plików.
  • Gwiazdki i instalacje pokazują aktywność, a nie niezależny test jakości lub bezpieczeństwa.
Oryginalny dokument Skill

Treść z repozytorium z zachowaniem nagłówków, przykładów, kodu, tabel, linków i obrazów.

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

Powiązane zadania

z tego samego repozytorium

Więcej Skills

Wszystkie Skills
cheaper-inference
Społeczność

cli-skill-collector

Detect installed CLI coding tools (Claude Code, Codex, Cursor, Copilot, Cline and more), search GitHub for matching agent skills, and install them to the detected tools via OmniRoute's built-in APIs.

instalacje
2
GitHub Stars
81,1 tys.
Aktualizacja
26 paź
cheaper-inference
Społeczność

ponytail

External agent skill (MIT, github.com/DietrichGebert/ponytail). Forces the laziest solution that actually works: question whether the task needs to exist at all (YAGNI), reuse what is already in the codebase, reach for the standard library before custom code, native platform features before dependencies, one line before fifty. Climb the ladder on every coding task — writing, adding, refactoring, fixing, reviewing, or designing code, and choosing libraries or dependencies. Supports intensity leve

instalacje
3
GitHub Stars
79,6 tys.
Aktualizacja
22 paź
cheaper-inference
Społeczność

cli-a2a

Interact with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0 agent-to-agent protocol interactively.

instalacje
2
GitHub Stars
79,4 tys.
Aktualizacja
22 paź
cheaper-inference
Społeczność

cli-backup-sync

Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.

instalacje
2
GitHub Stars
79,4 tys.
Aktualizacja
22 paź