# `LLMProxy.Pricing.Rates`
[🔗](https://github.com/elixir-vibe/llm_proxy/blob/v0.3.1/lib/llm_proxy/pricing/rates.ex#L1)

Per-million-token pricing rates used by LLMProxy cost accounting.

This is an internal contract. Callers pass atom-keyed, typed values only.

# `t`

```elixir
@type t() :: %LLMProxy.Pricing.Rates{
  cache_read: number(),
  cache_write: number(),
  input: number(),
  output: number()
}
```

# `new`

```elixir
@spec new(keyword()) :: t()
```

# `put`

```elixir
@spec put(t(), :input | :output | :cache_read | :cache_write, number()) :: t()
```

# `zero`

```elixir
@spec zero() :: t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
