400+
March 23, 2026
March 23, 2026
This plugin provides OpenRouter integration for the PHP AI Client SDK. It enables WordPress sites to use hundreds of AI models from various providers through OpenRouter’s unified, OpenAI-compatible API.
This plugin connects to the Open Router API to generate text using a wide range of AI models.
Using this plugin requires an OpenRouter API key, which can be obtained by creating an account on the OpenRouter website. Create an account and generate an API key at https://openrouter.ai/settings/keys.
You can find the OpenRouter terms of service here: https://openrouter.ai/terms, and their privacy policy here: https://openrouter.ai/privacy.
Features:
Available models are dynamically discovered from the OpenRouter /models endpoint, including models from OpenAI, Anthropic, Google, Meta, Mistral, and many more.
Requirements:
/wp-content/plugins/ai-provider-for-openrouter/OPENROUTER_API_KEY environment variable or constantVisit OpenRouter to create an account and generate an API key at https://openrouter.ai/settings/keys.
No, this plugin requires the PHP AI Client plugin to be installed and activated. It provides the OpenRouter-specific implementation that the PHP AI Client uses.