> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dari.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Models & Routing

> Compare model usage, cost, latency, outcomes, and route changes from the CLI.

Run the model activity report:

```bash theme={null}
dari activity models \
  --from 2026-07-01T00:00:00Z \
  --to 2026-07-08T00:00:00Z
```

The JSON response includes:

* Model steps and provider allocation.
* Provider spend and cost per step.
* Estimated savings against the most expensive enabled model.
* Provider latency and non-completion rates.
* Model switches and cross-provider transitions.

Filter the report to investigate a route or failure mode:

```bash theme={null}
dari activity models \
  --from 2026-07-01T00:00:00Z \
  --to 2026-07-08T00:00:00Z \
  --router-id rtr_123 \
  --model openai/gpt-5.6-sol \
  --status provider_error
```

Use `jq` to create a compact table:

```bash theme={null}
dari activity models \
  --from 2026-07-01T00:00:00Z \
  --to 2026-07-08T00:00:00Z |
  jq '.models[] | {
    model,
    model_steps,
    provider_spend_usd,
    provider_latency_p95_ms,
    non_completion_rate
  }'
```

Unknown pricing is not treated as free usage. Check priced and unpriced step counts before comparing spend across models.
