AI provider & limits
Connect your own AI account. You pay your provider directly, your key stays encrypted on your server, and limits plus a response cache keep costs predictable.
Supported providers
| Provider | Default model | Notes |
|---|---|---|
| OpenAI | gpt-4.1-mini | The default. A ChatGPT subscription doesn't include API access. |
| Anthropic | claude-haiku-4-5-20251001 | Claude models |
| Google Gemini | gemini-2.5-flash | |
| Groq | llama-3.3-70b-versatile | Fast open models |
| OpenRouter | openai/gpt-4.1-mini | Many models, one key |
| Mistral | mistral-small-latest | |
| Custom endpoint | — | Any OpenAI-compatible HTTPS endpoint |
| WordPress AI | auto | Connectors set up in WordPress itself; no key stored by the plugin. Listed only when WordPress's AI Client is available (WordPress 7.0+). |
Connecting
- Pick a provider card
Each card shows its status: Connected, Not connected, Not tested, Invalid credentials, Rate limited or Error. The sidebar shows a step-by-step "How to connect" guide.
- Save the API key
Paste it and click Save Key: "Key saved for OpenAI. Loading its models…". Keys are saved separately from the form. Remove Key deletes it.
- Choose a model
"Provider default (…)", one from your account's list (Refresh models; without a saved key you see suggested models), or "Other model ID...".
- Save and test
Save Changes (it keeps the provider, endpoint and model), then Test Connection under Status: "Connected to OpenAI using gpt-4.1-mini." It tests the provider and model shown, with that provider's saved key.
You can also define the key in wp-config.php; it then always wins:
define( 'SITERYN_AI_SUPPORT_AGENT_OPENAI_API_KEY', 'sk-…' ); // Or one key for every built-in provider: define( 'SITERYN_AI_SUPPORT_AGENT_API_KEY', 'sk-…' );
For a Custom endpoint, enter the HTTPS base URL (e.g. https://gateway.example.com/v1) before saving its key; the key is tied to that endpoint.
The Connection card follows the provider you picked: Endpoint Base URL appears only for Custom endpoint, and WordPress AI has no API Key row.
Requests
Visitors wait for each reply, so keep it short. Busy or failing providers are retried once.
Upper limit on each reply's length. Lower is cheaper; too low may cut answers short.
Precise, Balanced or Conversational. Precise keeps answers closest to your information, recommended for support.
Usage & cost controls
Per signed-in user or per anonymous visitor. Basic answers count too.
When reached, basic answers take over (if on).
Reuses the reply to an identical question with identical context. Cache hits are free and don't count toward limits.
Error type and HTTP status only (never messages or keys), to WooCommerce → Status → Logs. Requires WooCommerce.
Each visitor can also have at most 2 requests in flight, and the whole site 20. Daily token counts appear on System Status; your provider's dashboard is the authoritative record of charges.