I always end up with a ‘ai_models’ table in SQL that’s got an order column.
It tries the first, and goes to the second if that fails, normally always have the second as another provider.
Helps either when this happens and gives me time to find a new model, or when there’s an outage