Setting Up Your AI Provider Pro
-
Create an API key in your AI provider's account. Keep the page with the key open; most providers show a key only once.
-
In the AI-Assisted Optimization window, choose your provider in AI provider and paste the key into API key. If the window is closed, click on the dashboard's AI-Assisted Optimization panel to open it.
-
Recommended: paste your own PageSpeed Insights key into PageSpeed Insights API key (recommended). It is optional; see Chapter 6, Getting a PageSpeed Insights API Key.
-
Click . Before saving, JCH Optimize asks your AI provider whether it accepts the key and whether the key may use the model the run plans with. This takes a few seconds and costs nothing. When the provider accepts the key, the window confirms
AI provider settings saved. Your AI provider accepted the key.If the provider refuses the key, the form stays open with a message saying why, and the key isn't saved; see the section called “API Key Messages”. Correct the key, or paste a new one, and click again. If the provider can't be reached just then, the key is saved anyway, the window says it couldn't be checked, and it is checked again when you start a run.
To use a different provider or a new key later, click Change AI provider / keys next to the start button. Leave the PageSpeed field empty to keep the PageSpeed key you saved.
Important
For your security, a saved key is never shown again, not even partly. To change anything in this form, enter the key again (or a new one) before saving. If your browser offers to fill in the key field with a saved password, decline: that would save your login password as the AI key.
The AI Models a Run Uses
Each provider has several models. A run always uses the one in the table for the provider you choose, so the key you create must be allowed to use that model. During the beta, a run uses each provider's model one level below its most capable one, which costs less per token. From what beta runs show, we'll decide whether the most capable models get far enough further to be worth what they cost, and update this table if we switch.
| AI provider | Model | Why this model |
|---|---|---|
| Anthropic (Claude) | claude-opus-5-5 (Claude Opus 5.5) | One level below Claude Fable 5.2, Anthropic's most capable model, and capable of long investigations that use tools, for less per token. |
| OpenAI | gpt-6.2-sol (GPT-6.2 Sol) | One level below GPT-6 Astra, OpenAI's most capable model in its API, and capable of long investigations that use tools, for less per token. |
Check before you create the key:
-
If your provider account limits which models a workspace or project may use, allow the model in the table for the workspace or project you create the key in.
When you save a key, JCH Optimize checks that it may use the model, and a refusal names the model
(see ai_model_unavailable in the section called “API Key Messages”). When a provider
releases a more capable model, we may switch to it and update this table. The key check at the start
of each run tells you if your key can't use it.
On This Page