---
name: CLI Cost Usage
slug: cli-cost-usage
category: Data
description: CLI Cost Usage views cost breakdowns, token usage, and call logs from the CLI. Use it to filter by provider, model, or date range, export usage reports, and inspect per-connection spending.
github: "https://github.com/diegosouzapw/OmniRoute/tree/release/v3.8.50/skills/cli-cost-usage"
language: TypeScript
stars: 46791
forks: 6310
install: "npx degit https://github.com/diegosouzapw/OmniRoute/tree/release/v3.8.50/skills/cli-cost-usage ~/.claude/skills/cli-cost-usage"
installs_to: ~/.claude/skills/cli-cost-usage
source_path: skills/cli-cost-usage/SKILL.md
collection_size: 25
category_size: 668
collection_url: "https://dirskills.com/collections/diegosouzapw/OmniRoute"
added: 2026-08-13T07:36:49.905Z
last_synced: 2026-08-13T07:36:49.905Z
canonical_url: "https://dirskills.com/skills/cli-cost-usage"
---

# CLI Cost Usage

CLI Cost Usage views cost breakdowns, token usage, and call logs from the CLI. Use it to filter by provider, model, or date range, export usage reports, and inspect per-connection spending.

**Install:**

```bash
npx degit https://github.com/diegosouzapw/OmniRoute/tree/release/v3.8.50/skills/cli-cost-usage ~/.claude/skills/cli-cost-usage
```

## README

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