Zactonz AI Connector: OpenRouter

v1.0.0

OpenRouter connector for the WordPress AI Client. Hundreds of models from dozens of labs behind one API key, with capabilities read from the OpenRouter catalogue.

WordPress 7.0+PHP 7.4+An OpenRouter account and API key Updated 18 Sep 2026

Zactonz AI Connector: OpenRouter registers OpenRouter as a connector for the WordPress AI Client. It is built for the Settings › Connectors screen and for the plugin-directory connector search, so when WordPress asks for a connector you can add OpenRouter in a couple of clicks. Once active, any model your OpenRouter key can reach is available to every AI feature in WordPress.

OpenRouter is a routing gateway that exposes hundreds of models from dozens of labs behind one OpenAI-compatible API and one bill. The connector reads the OpenRouter catalogue directly, so each model is advertised with the capabilities OpenRouter reports for it rather than a guess: vision, tool calling and structured output appear only where the model supports them.

Features#

  • Text generation with every OpenRouter chat model your credentials can reach.
  • Automatic model discovery, with capabilities read from the OpenRouter catalogue.
  • A separate default model per capability, or automatic selection by the WordPress AI Client.
  • Vision input on models that accept images.
  • Tool calling on models that report function support.
  • Structured output with a JSON schema on models that support it.
  • Reasoning effort control for the default text model.
  • Cancellable server-sent event streaming for content, reasoning and tool-call chunks.
  • Configurable request timeouts.
  • API key supplied by a PHP constant or an environment variable instead of the database.
  • An API base URL override for a proxy or a private gateway.
  • Redacted diagnostics and a WordPress Site Health connectivity test.

Part of a family#

This connector is one of the Zactonz AI Connector plugins, which add the third-party providers WordPress core leaves out. They share one codebase and one set of conventions, so every connector behaves the same way in the admin.

Not affiliated#

This connector is developed by Zactonz Technologies and is not affiliated with, endorsed by or sponsored by OpenRouter. OpenRouter is a trademark of OpenRouter, Inc.