174_add_usage_log_long_context_billing.sql 271 B

1234
  1. -- Snapshot whether long-context pricing changed token prices for a request so
  2. -- usage history can explain the applied charge without inferring from totals.
  3. ALTER TABLE usage_logs
  4. ADD COLUMN IF NOT EXISTS long_context_billing_applied BOOLEAN NOT NULL DEFAULT FALSE;