# `PhoenixAI.Store.Guardrails.TokenBudget.RateLimiter`
[🔗](https://github.com/franciscpd/phoenix-ai-store/blob/v0.1.0/lib/phoenix_ai/store/guardrails/token_budget/rate_limiter.ex#L2)

Default Hammer-backed rate limiter for the `:time_window` scope of
`PhoenixAI.Store.Guardrails.TokenBudget`.

Start this process in your supervision tree when using the time-window
token budget:

    children = [
      {PhoenixAI.Store.Guardrails.TokenBudget.RateLimiter, clean_period: :timer.minutes(5)}
    ]

The module implements the `Hammer` behaviour and exposes `hit/4`.

# `child_spec`

# `expires_at`

# `get`

# `hit`

# `inc`

# `set`

# `start_link`

---

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