# Pricing

View resource pricing for compute flavors and storage types in your region.

***

## Usage

```bash
ace pricing [--currency <code>]
```

**Aliases:** `price`

### Flags

| Flag         | Default     | Description                              |
| ------------ | ----------- | ---------------------------------------- |
| `--currency` | auto-detect | Currency code: `INR`, `USD`, `EUR`, etc. |

By default, the CLI auto-detects the currency from your region/account. Use `--currency` to override.

***

## Examples

**Auto-detect currency:**

```bash
ace pricing
```

**Specific currency:**

```bash
ace pricing --currency USD
ace pricing --currency INR
ace pricing --currency EUR
```

**JSON output:**

```bash
ace pricing -o json
```

***

## Output Format

Pricing is grouped into **Compute** (flavors with vCPUs) and **Storage** (volume types).

**Example output:**

```
Pricing (INR)

COMPUTE
  FLAVOR                         PRICE/HR     PRICE/MO   VCPUS      RAM   GPU
  ACE.CPU.1C2R                   INR2.5000   INR1800.00      1     2 GB
  ACE.CPU.2C4R                   INR5.0000   INR3600.00      2     4 GB
  ACE.CPU.4C16R                  INR15.0000  INR10800.00     4    16 GB
  ACE.GPU.A100                   INR200.0000 INR144000.00    8    64 GB   1x NVIDIA A100

STORAGE
  TYPE                           PRICE/HR     PRICE/MO
  NVMe based High IOPS Storage  INR0.0417    INR30.00
  Standard HDD Storage           INR0.0139    INR10.00
```

***

## Fields

### Compute

| Field    | Description                         |
| -------- | ----------------------------------- |
| FLAVOR   | Flavor/instance type name           |
| PRICE/HR | Hourly rate in selected currency    |
| PRICE/MO | Monthly rate in selected currency   |
| VCPUS    | Number of virtual CPU cores         |
| RAM      | Memory allocation in GB             |
| GPU      | GPU count and model (if applicable) |

### Storage

| Field    | Description              |
| -------- | ------------------------ |
| TYPE     | Volume/storage type name |
| PRICE/HR | Hourly rate per GB       |
| PRICE/MO | Monthly rate per GB      |

***

## Global Flags

| Flag           | Description                                |
| -------------- | ------------------------------------------ |
| `-o, --output` | Output format: `table` (default) or `json` |
| `--project`    | Override project ID                        |
| `--region`     | Override region                            |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.acecloud.ai/knowledge-base/cli/monitoring/pricing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
