> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/relay/llms.txt.
> For full documentation content, see https://docs.nvidia.com/nemo/relay/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Enum Pricing Unit

> Billing unit represented by a pricing entry.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi`.

```rust
pub enum PricingUnit {
    PerToken,
    PerRequest,
    PerSecond,
    GpuHour,
}
```

Billing unit represented by a pricing entry.

## Variants

### `PerToken`

<pre />

Token-based pricing.

### `PerRequest`

<pre />

Request-based pricing, reserved for future estimation.

### `PerSecond`

<pre />

Time-based pricing, reserved for future estimation.

### `GpuHour`

<pre />

GPU-hour amortized pricing for self-hosted models, reserved for future estimation.

## Trait Implementations

### `impl Clone for PricingUnit`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for PricingUnit`

<pre />

#### `fmt`

<pre />

### `impl Default for PricingUnit`

<pre />

#### `default`

<pre />

### `impl<'de> Deserialize<'de> for PricingUnit`

<pre />

#### `deserialize`

<pre />

### `impl PartialEq for PricingUnit`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for PricingUnit`

<pre />

#### `serialize`

<pre />

### `impl Copy for PricingUnit`

<pre />

### `impl Eq for PricingUnit`

<pre />

### `impl StructuralPartialEq for PricingUnit`

<pre />