403 · Model not allowed
model_not_allowed means the model can be routed but this key lacks permission. It is separate from account balance.
On this page
What this means
model_not_allowed means the model can be routed but this key lacks permission. It is separate from account balance.
403 · model_not_allowedCheck and resolve
Console → API Keys → find the key → edit model scope and authorize the model. Its group is fixed; create a key in the other group if needed.
For aliases, check the real target's permissions. Recreate aliases if switching keys; editing the existing key's scope does not require a new key.