ai_tool_credit_rates
Effective-dated credit pricing for credit-billed AI tools. Each row sets the rate that applies from its effective_at date until the next row's effective_at, so historical spend is not repriced when the rate changes.
-
id
Primary key - Unique identifier for the row.
-
ai_tool_id
Foreign key - ID of the AI tool this rate applies to.
-
cost_per_credit
number - USD dollars per credit from effective_at onwards. NULL explicitly ends credit pricing from that date, leaving spend unknown rather than zero.
-
effective_at
date - The date this rate starts applying. Usage before the earliest rate is not priced.