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

# fly billing usage

Show the org's usage before credits from --from to --to, by default this
month so far. Today's usage is what Fly.io's billing system had up to a few hours
ago. For this month's invoice after credits, run fly billing.

By default, each service (Apps, Sprites or Other, such as a Managed Postgres
cluster) has a row with its total, and its products are listed under it.
\--service, --app and --sprite show only part of the usage. --by app shows only
apps, one row per app, and --by sprite only Sprites, with each Sprite's CPU, RAM
and storage. Usage that no single Sprite owns, such as storage traffic, has its
own row. Total is the usage the view shows. Each amount is rounded on its own, so
the rows can add up to a little more or less than Total. An amount under one cent
shows as \<\$0.01. The dates are UTC days.

\--json prints the API's response: one entry per service, app or Sprite, each with
its products.

## Usage

```
fly billing usage [flags]
```

## Examples

```
  # This month's usage, by service with each service's products
  fly billing usage -o my-org

  # Each app's usage in November
  fly billing usage -o my-org --by app --from 2026-11-01 --to 2026-11-30

  # Each Sprite's CPU, RAM and storage
  fly billing usage -o my-org --by sprite

  # The products of one app, or of one Sprite
  fly billing usage -o my-org --app my-app
  fly billing usage -o my-org --sprite my-sprite

  # Usage outside apps and Sprites, as JSON
  fly billing usage -o my-org --service other --json
```

## Options

```
  -a, --app string       Only this app
      --by string        Group by service (each with its products), app or sprite (default "service")
      --from string      The first day, YYYY-MM-DD in UTC, from the 1st of the month 3 months ago (default: the 1st of --to's month)
  -h, --help             help for usage
  -j, --json             JSON output
  -o, --org string       The target Fly.io organization
      --service string   Only one service: apps, sprites or other
      --sprite string    Only this Sprite, by the name as --by sprite shows it
      --to string        The last day, YYYY-MM-DD in UTC, at most 35 days after --from (default: today)
```

## Global Options

```
  -t, --access-token string   Fly.io API token to use, overriding FLY_ACCESS_TOKEN, FLY_API_TOKEN and the saved login
      --debug                 Print additional logs and traces
      --verbose               Verbose output
```

## See Also

* [fly billing](https://docs.fly.io/flyctl/cmd/fly_billing)	 - Show and manage an organization's billing
