# openstack cost forecast create

> Forecast estimated spend using a trailing daily average.

## Usage

```sh
openstack cost forecast create \
    --start START \
    --end END \
    [--granularity {daily,monthly}] \
    [--project PROJECT_ID] ... \
    [--region REGIONS] ... \
    [--service {compute,volume,image}] ... \
    [--usage-type USAGE_TYPES] ... \
    [--lookback-days LOOKBACK_DAYS]
```

## Arguments

* `--start START` *(required)*

  Inclusive start date/time; date-only values use UTC.

* `--end END` *(required)*

  Exclusive end date/time.

* `--granularity <granularity>`

  One of: `daily`, `monthly`.

  Default: `daily`.

* `--project PROJECT_ID` *(repeatable)*

  Filter project ID (repeatable); subject to token scope.

* `--region REGIONS` *(repeatable)*

  Filter usage region (repeatable); independent of --os-region-name.

* `--service <service>` *(repeatable)*

  One of: `compute`, `volume`, `image`.

* `--usage-type USAGE_TYPES` *(repeatable)*

  Filter usage type/flavor (repeatable).

* `--lookback-days LOOKBACK_DAYS`

  Default: `7`.

## Output

This command also takes the common output options, such as `-f json` and `-c <column>`. See [Set up the CLI](/developer/cli).
