/cli-cost-usage
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.
$ npx -y skills add diegosouzapw/OmniRoute --skill cli-cost-usage --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/cli-cost-usage
Context preview
The summary Claude sees to decide when to auto-load this skill.
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.
SKILL.md
cli-cost-usage.SKILL.mdname: 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.
<!-- 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 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
Read more
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.
<!-- 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 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
Never stop coding. Free MIT AI gateway: one endpoint, 290+ providers (90+ free), 500+ models — Kimi, Claude, GPT, OpenAI, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 500+ contributors
Repo: diegosouzapw/OmniRoute
Other skills on omniroute.
- /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.
Open skill - /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.
Open skill - /cli-batches
Submit and monitor batch inference jobs from the CLI. Upload and manage files for batch processing, retrieve results, and integrate batch pipelines with CI/CD workflows.
Open skill - /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.
Open skill - /cli-compression
Configure and test prompt compression from the CLI. Manage RTK filters, Caveman rules, stacked compression modes, and preview compression output with real prompts.
Open skill - /cli-contexts
Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.
Open skill

