BACK TO DIRECTORY

AI Provider for OpenRouter

by Jonathan Bossenger

5.0
(1 ratings)

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.

External services

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:

  • Text generation with any OpenRouter-supported model
  • Automatic model discovery from the OpenRouter API
  • Automatic provider registration

Available models are dynamically discovered from the OpenRouter /models endpoint, including models from OpenAI, Anthropic, Google, Meta, Mistral, and many more.

Requirements:

  • PHP 7.4 or higher
  • For WordPress 6.9, the wordpress/php-ai-client package must be installed
  • For WordPress 7.0 and above, no additional changes are required
  • OpenRouter API key

Plugin Details

Active Installs
400
Total Downloads
2,807
Version
1.0.0
Requires WP
6.9
Requires PHP
7.4
Tested Up To
7.0.4
Added
2026-03-23
Last Updated
2026-03-23 5:12pm GMT

Ratings

5
1
4
0
3
0
2
0
1
0