Skip to content
Back to skills

Cli Cost Usage

ASecurity

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.

  • 34 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
ai-agentsbashapi

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 8, 2026

npx -y skills add jaccen/AIRoute --skill cli-cost-usage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli Cost Usage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cli Cost Usage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jaccen-cli-cost-usage/badge)](https://www.skillsdirectory.com/skills/jaccen-cli-cost-usage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

```bash
npm install -g AIRoute   # or: npx AIRoute
AIRoute --version
```

## Subcommands

### `cost`

**Flags:**

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

**Example:**

```bash
AIRoute cost
```

### `pricing`

**Example:**

```bash
AIRoute pricing
```

### `pricing sync`

**Flags:**

- `--provider <p>`
- `--force`

**Example:**

```bash
AIRoute pricing sync
```

### `pricing list`

**Flags:**

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

**Example:**

```bash
AIRoute pricing list
```

### `pricing get <model>`

**Example:**

```bash
AIRoute pricing get <model>
```

### `pricing defaults`

**Example:**

```bash
AIRoute pricing defaults
```

### `pricing show`

**Example:**

```bash
AIRoute pricing show
```

### `pricing set`

**Flags:**

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

**Example:**

```bash
AIRoute pricing set
```

### `pricing diff`

**Flags:**

- `--model <m>`

**Example:**

```bash
AIRoute pricing diff
```

### `usage`

**Example:**

```bash
AIRoute usage
```

### `usage analytics`

**Flags:**

- `--period <range>`
- `--provider <id>`

**Example:**

```bash
AIRoute usage analytics
```

### `usage budget`

**Example:**

```bash
AIRoute usage budget
```

### `usage list`

**Example:**

```bash
AIRoute usage list
```

### `usage get [scope]`

**Example:**

```bash
AIRoute usage get [scope]
```

### `usage set <amount>`

**Flags:**

- `--scope <s>`
- `--period <p>`

**Example:**

```bash
AIRoute usage set <amount>
```

### `usage reset [scope]`

**Example:**

```bash
AIRoute usage reset [scope]
```

### `usage quota`

**Flags:**

- `--provider <id>`
- `--check`

**Example:**

```bash
AIRoute usage quota
```

### `usage logs`

**Flags:**

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

**Example:**

```bash
AIRoute usage logs
```

### `usage utilization`

**Flags:**

- `--api-key <k>`

**Example:**

```bash
AIRoute usage utilization
```

### `usage history`

**Flags:**

- `--limit <n>`

**Example:**

```bash
AIRoute usage history
```

### `usage proxy-logs`

**Flags:**

- `--limit <n>`

**Example:**

```bash
AIRoute usage proxy-logs
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.