Description
Koneek AI connects WordPress to OpenAI, Google Gemini, Anthropic Claude, and any OpenAI-compatible endpoint, all from a single plugin. No need to install separate provider plugins for each service. Built on top of the WordPress Connectors API, API keys are encrypted before being stored in the database.
Features:
- Multi-Provider Support: Seamless integration with OpenAI, Google Gemini, Anthropic Claude, and custom OpenAI-compatible providers (like Groq, Together AI, NVIDIA, etc.).
- Secure Storage: API keys are securely stored in the database using strong AES-256-CBC encryption derived from your WordPress secret salts (
wp-config.php). - OpenAI Compatibility Layer: Automatically redirects standard API calls to custom providers, converting newer Responses API formats back to standard Chat Completions.
- Automatic Integration: Automatically syncs and registers credentials with the WordPress Connectors API, auto-approving connection permissions for AI plugins.
- Flexible Model Mapping: Choose from predefined models or enter your own custom model names.
Requirements:
- PHP 7.4 or higher
- OpenAI API key, Gemini API Key, Anthropic API Key, or Any OpenAI Compatible API Key
How It Works
This plugin does not perform AI content generation directly. It is a connector/bridge that registers your provider credentials with the WordPress AI Client SDK.
Provider API URLs (e.g., api.openai.com, api.anthropic.com, generativelanguage.googleapis.com) are used exclusively for:
- Provider metadata — Base URL configuration passed to the WordPress AI Client registry so the SDK knows where to route requests.
- Connection testing — An admin-only “Test Connection” feature that sends a minimal request (
max_tokens=1) to validate your API key and model before saving. This is not used for content generation. - Custom provider URL rewriting — For OpenAI-compatible endpoints, the plugin intercepts requests from the WordPress AI Client and redirects them to your custom URL.
All actual AI generation is handled by the WordPress AI Client SDK (WordPress\AiClient\AiClient). This plugin simply ensures the correct provider is registered and credentials are available.
There are no third-party AI SDKs in composer.json. The only HTTP calls to provider APIs originate from the connection tester (admin-only, lightweight validation).
External Services
This plugin connects to third-party AI provider APIs for connection testing and credential registration purposes. It does not perform AI content generation directly — all actual AI generation is handled by the WordPress AI Client SDK.
OpenAI API
Used to validate API keys and test connectivity when the administrator clicks “Test Connection” on the settings page. A minimal request (max_tokens=1) is sent to verify the API key and model are valid. The API URL is also registered with the WordPress AI Client SDK so it can route generation requests.
Data sent: API key, model name, and a single-word test prompt (“Hi”) with max_tokens=1.
When: Only when an administrator manually clicks “Test Connection” on the plugin settings page, or when the WordPress AI Client SDK makes generation requests through the registered provider.
Service provided by OpenAI, LLC.
Terms of use: https://openai.com/policies/terms-of-use
Privacy policy: https://openai.com/policies/privacy-policy
Anthropic API
Used to validate API keys and test connectivity when the administrator clicks “Test Connection” on the settings page. A minimal request (max_tokens=1) is sent to verify the API key and model are valid. The API URL is also registered with the WordPress AI Client SDK so it can route generation requests.
Data sent: API key, model name, and a single-word test prompt (“Hi”) with max_tokens=1.
When: Only when an administrator manually clicks “Test Connection” on the plugin settings page, or when the WordPress AI Client SDK makes generation requests through the registered provider.
Service provided by Anthropic PBC.
Terms of use: https://www.anthropic.com/legal/consumer-terms
Privacy policy: https://www.anthropic.com/legal/privacy
Google Generative Language API (Gemini)
Used to validate API keys and test connectivity when the administrator clicks “Test Connection” on the settings page. A minimal request (maxOutputTokens=1) is sent to verify the API key and model are valid. The API URL is also registered with the WordPress AI Client SDK so it can route generation requests.
Data sent: API key, model name, and a single-word test prompt (“Hi”) with maxOutputTokens=1.
When: Only when an administrator manually clicks “Test Connection” on the plugin settings page, or when the WordPress AI Client SDK makes generation requests through the registered provider.
Service provided by Google LLC.
Terms of use: https://ai.google.dev/gemini-api/terms
Privacy policy: https://policies.google.com/privacy
Custom OpenAI-Compatible Endpoints
When configured with a custom provider (e.g., Groq, Together AI, NVIDIA), the plugin redirects API requests from the WordPress AI Client SDK to the user-specified endpoint URL. The same test connection behavior applies.
Data sent: API key, model name, and prompts as determined by the WordPress AI Client SDK or the test connection feature.
When: Only when an administrator manually clicks “Test Connection,” or when the WordPress AI Client SDK makes generation requests through the registered provider.
The terms of service and privacy policy depend on the specific third-party service configured by the site administrator.
Screenshots
Installation
- Upload the plugin files to
/wp-content/plugins/koneek-multi-provider-ai-gateway/ - Activate the plugin through the ‘Plugins’ menu in WordPress
- Navigate to Settings > Koneek and configure your provider, API key, and model
FAQ
-
How do I configure different AI providers?
-
You can select your desired provider (OpenAI, Google Gemini, Anthropic, or Custom OpenAI-compatible) from the dropdown on the settings page, enter the corresponding API key, and select a model.
-
Are my API keys stored securely?
-
Yes. All API keys are encrypted using AES-256-CBC before they are saved to the database. The encryption key is dynamically derived from your WordPress secret salts (defined in your
wp-config.php), meaning your keys remain secure even if your database is compromised. -
Does this plugin work without the PHP AI Client?
-
No, this plugin requires the PHP AI Client plugin to be installed and activated. It acts as a gateway that registers your credentials with the WordPress Connectors API.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Koneek – Multi-Provider AI Gateway” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Koneek – Multi-Provider AI Gateway” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release of Koneek – Multi-Provider AI Gateway




