Connecting an AI Provider
Divi AI Module Builder uses your own AI provider account. This article explains which providers are supported, how to add your API key, and how to choose a model.
About AI costs
You need an API key from an AI provider's developer platform. Chat subscriptions such as Claude Pro or ChatGPT Plus cannot be used.
Your AI provider bills you directly for every request, at the provider's own rates. DiviPlugins is not responsible for any charges you incur from your provider. Your Divi AI Module Builder license does not include AI usage, and DiviPlugins does not sell AI credits or add a markup.
AI is only used during the module build and refinement processes. Published modules do not rely on AI to render in the Visual Builder or the frontend of your site.
API costs can vary depending on the provider, model, and complexity of the module. During our tests, most custom modules cost less than $1.
Supported providers
| Provider | Where to get a key |
|---|---|
| Anthropic Claude | platform.claude.com |
| OpenAI | platform.openai.com |
| Google Gemini | aistudio.google.com |
| OpenRouter | openrouter.ai/keys |
OpenRouter gives you access to models from many companies through a single key.
Creating a key
Create a dedicated key for each site, with a spending limit and, where available, an expiry date. The Settings page shows short setup notes beside each key field.
Adding your key
- Go to Module Builder → Settings.
- Under AI Provider API Keys, paste your key into the field for your provider (for example Anthropic Claude API Key).
- Click Save Changes.
After saving, the key is shown masked, with only its last four characters visible.
- To keep a key: leave the masked value as it is.
- To replace a key: select the whole masked value, paste the new key and save.
- To remove a key: clear the field and save.
Choosing a model
Each provider has its own model setting under Models, because model names differ between providers.
- Once a key is saved, the model dropdown lists the models available to that key. OpenRouter's list is available even before you add a key.
- Use default uses the provider's recommended default, shown in brackets.
- Manually define… lets you type any model ID the provider accepts.
If the list can't load, you'll see "Model catalog unavailable. Enter model manually below." and can type the model ID instead.
Larger models generally handle complex modules better but cost more per request and may take longer. You can change models at any time.
Setting a default provider
If you've added keys for more than one provider, choose one under Default Provider. It will be preselected in the AI Builder box on every module. You can still pick a different provider for any individual build.