> 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 Cost Source

> Source of a normalized cost value.

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

```rust
pub enum CostSource {
    ModelPricing,
    ProviderReported,
}
```

Source of a normalized cost value.

## Variants

### `ModelPricing`

<pre />

Cost was estimated by applying Relay's model pricing table to usage.

### `ProviderReported`

<pre />

Cost was reported directly by a provider or framework payload.

## Trait Implementations

### `impl Clone for CostSource`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for CostSource`

<pre />

#### `fmt`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl PartialEq for CostSource`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for CostSource`

<pre />

#### `serialize`

<pre />

### `impl Eq for CostSource`

<pre />

### `impl StructuralPartialEq for CostSource`

<pre />