Whether the regex pattern matching is case-sensitive. Default is false (case-insensitive matching).
Comparison operator to apply between the summed value and the threshold.
Regex pattern to match against usage detail keys. All matching keys' values are summed for threshold comparison.
Examples:
The pattern is case-insensitive by default. If no keys match, the sum is treated as zero.
Threshold value for comparison. For token-based pricing, this is typically the token count threshold (e.g., 200000 for a 200K token threshold).
Condition for matching a pricing tier based on usage details. Used to implement tiered pricing models where costs vary based on usage thresholds.
How it works:
Common use cases: