> 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.

# Struct Cache Economics

> Provider/model-specific cache economics used by the internal planner.

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

<pre />

Provider/model-specific cache economics used by the internal planner.

These values are kept on the capability surface so the core planner can stay provider-agnostic while concrete plugins/model families supply the pricing model that makes a cache write profitable.

## Fields

### `write_short_multiplier: f64`

Input cost multiplier for creating a short-lived cache entry.

### `write_long_multiplier: Option<f64>`

Optional input cost multiplier for creating a longer-lived cache entry.

### `read_multiplier: f64`

Input cost multiplier for reading from cache.

## Trait Implementations

### `impl Clone for CacheEconomics`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for CacheEconomics`

<pre />

#### `fmt`

<pre />

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

<pre />

#### `deserialize`

<pre />

### `impl PartialEq for CacheEconomics`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for CacheEconomics`

<pre />

#### `serialize`

<pre />

### `impl StructuralPartialEq for CacheEconomics`

<pre />