Skip to content

Epic: AI Cost and Budget Controls #78

Description

@shaneutt

Track and enforce cost budgets for LLM inference traffic based on token consumption.

Scope:

  • Input token estimation before forwarding (pre-request cost check)
  • Per-client/per-route token budgets with configurable windows
  • Cost attribution: map token usage to user, session, model, and endpoint
  • Budget exceeded behavior: reject with 429 or queue
  • Cost data exposed to access logging and metrics

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions