# pw billing allocations create

> Source: https://parallelworks.com/docs/cli/pw/billing/allocations/create

## pw billing allocations create

Create an allocation under a unit

```
pw billing allocations create <name> [flags]
```

### Examples

```
  # A $10k budget denominated in the core-hours unit
  pw billing allocations create --total 10000 --unit core-hours research-team
  
  # A child allocation under a parent
  pw billing allocations create --total 2000 --unit core-hours --parent research-team gpu-subteam
```

### Options

```
  -h, --help            help for create
      --org string      Target organization (defaults to current context)
  -o, --output string   Output format (table, json) (default "table")
      --parent string   Optional parent allocation name
      --total float     Total budget for the allocation
      --unit string     Unit this allocation is denominated in
```

### Options inherited from parent commands

```
      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw billing allocations](/docs/cli/pw/billing/allocations)	 - Manage allocations and their usage
