API Key Messages Pro
Your AI provider is asked about your key when you save it, and again when you start a run. When you start a run, the check also makes the smallest possible request to the AI (it costs a fraction of a cent on your provider account), because only a real request shows whether your account has credit. A refused key never starts a run, so you don't wait for the first stages to find out. If the provider refuses the key, the window shows one of these messages; when it happens as a run starts, click to enter another key.
ai_key_rejected: Your provider didn't accept this API
key.
The key is wrong: mistyped, cut short when it was copied, disabled, or deleted. Copy the whole key again from your provider's account, or create a new one, and save it.
ai_model_unavailable: Your provider accepted this API
key, but it can't use the model JCH Optimize plans with.
The key works, but its workspace or project may not use the model the message names. A new key in the same workspace or project fails the same way. In your provider's account, allow the model for that workspace or project, or create the key in one that has it.
ai_no_credit: Your provider account has no remaining
credit or has an unpaid balance.
Add credit or settle the balance in your provider's account, then start the run again. Saving the key doesn't find this; starting a run does.
If the credit runs out partway through a run, the run is kept where it stopped. Add credit, then click in the same window, within an hour: a run that hears nothing from your site for an hour is abandoned, and you start again.
On This Page