Koneek – Multi-Provider AI Gateway
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.
