Cost Control
Apply cost control using configuration.
Cost control helps manage API spending by setting daily, monthly, or total cost limits. Configure cost limits using:
Or in config.yaml
:
When a cost limit is reached, the API will return a 429
response indicating the limit has been exceeded.
Benefits of Cost Control
Prevents overspending: Ensures budgets are adhered to.
Optimizes usage: Encourages efficient API consumption.
Last updated
Was this helpful?