---
title: "oz0 compare-savings"
description: "Usage and flags for oz0 compare-savings."
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/compare-savings"
---
# oz0 compare-savings

> Usage and flags for oz0 compare-savings.

For: Operators and developers looking up a command.

A comparison runs an agent as defined (the baseline) and with one change (the variant: another model, lazy or eager tool loading, a narrowed tool set, the prompt cache off, large tool results offloaded or not) on the same cases, several runs of each, as shadow runs: writes answer from a stub and no approval is asked for, so nothing acts on the world. The gateway meters every run.

A saving is stated only when the variant's pass rate is equal to the baseline's within a margin (non-inferiority, 5 points at 95% by default) and the interval of its billed cost per successful run is below the baseline's; otherwise the result says there is no measured saving, and why. A comparison spends the tenant's money and budget: `start --dry-run` shows the estimate and the power first. It proves nothing about other cases, other times or another tenant's work.

## Usage

```bash
oz0 compare-savings [command]
```

## Subcommands

- [`export`](https://docs.oz0.ai/reference/cli/oz0/compare-savings/export)
- [`list`](https://docs.oz0.ai/reference/cli/oz0/compare-savings/list)
- [`show`](https://docs.oz0.ai/reference/cli/oz0/compare-savings/show)
- [`start`](https://docs.oz0.ai/reference/cli/oz0/compare-savings/start)

## Inherited flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --context
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        $OZ0_CONTEXT or &lt;config dir>/orchestrator-zero/context.json
      </code>
    </td>
    
    <td>
      CLI context file written by server init
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --log-level
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        info
      </code>
    </td>
    
    <td>
      log level: debug, info, warn or error
    </td>
  </tr>
</tbody>
</table>

See [all `oz0` commands](https://docs.oz0.ai/reference/cli/oz0) and the [global flags](https://docs.oz0.ai/reference/cli/oz0#global-flags).


## Sitemap

See the full [sitemap](https://docs.oz0.ai/sitemap.md) for all pages.
