Can I send AI requests through my own gateway or proxy? (Custom API address)

Yes. Every ResultsAiX plugin that uses AI, and the ResultsAiX Theme, has an optional Custom API address for each AI provider (Claude, OpenAI and Google Gemini). Use it if you route AI calls through your own gateway, for example LiteLLM, Cloudflare AI Gateway or a company proxy.

Where to find it

In the plugin’s AI settings, open Advanced. Leave the field empty to connect directly, as before.

What to enter

The address that replaces the provider’s normal one. The normal ones are:

The plugin adds the rest of the path itself. The address must start with https:// (http:// is only accepted for localhost or a .local address).

Set it once for every plugin

Add these lines to wp-config.php, and every ResultsAiX plugin uses them when its own field is empty:

define('RAIX_AI_BASE_ANTHROPIC', 'https://your-gateway/anthropic/v1');
define('RAIX_AI_BASE_OPENAI', 'https://your-gateway/openai/v1');
define('RAIX_AI_BASE_GEMINI', 'https://your-gateway/google/v1beta');

When a custom address is in use, the plugin shows it next to the provider’s status.

Still Have A Question?

Ask it in your own words. The answer comes from our guides, with the articles it used.

← All help articles  ·  Need a person? Contact support →