Skip to main content

HTTP status

400 invalid_request_error

Typical cause

The max_cost_per_1m constraint excludes all available providers for this model.

Resolution

Raise the cost threshold, remove the cost constraint, or choose a cheaper model.