Title: Jokiruiz Local Model Connector
Author: Joaquín Ruiz
Published: <strong>July 21, 2026</strong>
Last modified: July 21, 2026

---

Search plugins

![](https://ps.w.org/jokiruiz-local-model-connector/assets/banner-772x250.png?rev
=3616663)

![](https://ps.w.org/jokiruiz-local-model-connector/assets/icon.svg?rev=3616613)

# Jokiruiz Local Model Connector

 By [Joaquín Ruiz](https://profiles.wordpress.org/jokioki/)

[Download](https://downloads.wordpress.org/plugin/jokiruiz-local-model-connector.1.0.1.zip)

 * [Details](https://wordpress.org/plugins/jokiruiz-local-model-connector/#description)
 * [Reviews](https://wordpress.org/plugins/jokiruiz-local-model-connector/#reviews)
 *  [Installation](https://wordpress.org/plugins/jokiruiz-local-model-connector/#installation)
 * [Development](https://wordpress.org/plugins/jokiruiz-local-model-connector/#developers)

 [Support](https://wordpress.org/support/plugin/jokiruiz-local-model-connector/)

## Description

**Jokiruiz Local Model Connector is an AI provider connector that runs WordPress
AI features on your own hardware.**

It registers a new AI connector on the WordPress **Connectors** screen and exposes
your local model to the WordPress AI Client, so any AI feature on your site can 
use it — with no cloud service, no account and no API key.

The connector speaks the OpenAI-compatible API (`/v1/models`, `/v1/chat/completions`)
instead of each backend’s native API, so one connector serves them all.

#### Works with any OpenAI-compatible AI provider

 * **Ollama**
 * **LM Studio**
 * **llama.cpp** (llama-server)
 * **vLLM**
 * Any other server exposing an OpenAI-compatible endpoint, local or tunneled.

#### Why this connector

 * **Private by default.** Prompts never leave your machine or your network.
 * **No API key needed.** Local-only mode works without any credential; add a Bearer
   token only if your endpoint sits behind a tunnel.
 * **Live model discovery.** The model list is read from your endpoint, not hardcoded,
   and cached so the admin never blocks on a slow or offline backend.
 * **Built for local inference.** A short connect timeout detects an offline backend
   fast, while a long generation timeout leaves room for slow local generation on
   consumer hardware.
 * **Connector health at a glance.** See connected / unreachable / auth failed, 
   the active model and the latency of the last check — so you can tell a downed
   tunnel from a bad key.
 * **Careful with security.** Your API key is never re-printed to the browser, and
   the plugin relaxes WordPress’ SSRF protection only for the exact host and port
   you configured.
 * **No surprise traffic.** The plugin makes no network request at all until you
   save an endpoint.

### External services

This plugin connects to external services in two places. Both only happen in the
WordPress admin, and no data about your site or visitors is ever sent.

 1. **Your own AI endpoint.** The core purpose of the plugin is to talk to the OpenAI-
    compatible endpoint _you_ configure (for example a local Ollama server at `http://
    localhost:11434`). It calls that endpoint’s `/v1/models` and `/v1/chat/completions`
    paths to list models and generate text. No request is made until you save an endpoint.
    This is not a third-party service — it is the server you point the plugin at.
 2. **YouTube (video embed).** The plugin settings screen embeds one video from the
    author’s YouTube channel using YouTube’s privacy-enhanced domain (`youtube-nocookie.
    com`). The embed loads only when you open that settings page. This sends your browser’s
    request to YouTube/Google under their terms; see the [YouTube Terms of Service](https://www.youtube.com/t/terms)
    and the [Google Privacy Policy](https://policies.google.com/privacy).

## Screenshots

[⌊The connector settings screen, with the health card, setup guide and live model
selector.⌉⌊The connector settings screen, with the health card, setup guide and 
live model selector.⌉[

The connector settings screen, with the health card, setup guide and live model 
selector.

[⌊The connector listed on the WordPress Connectors screen.⌉⌊The connector listed
on the WordPress Connectors screen.⌉[

The connector listed on the WordPress Connectors screen.

## Installation

 1. Install and activate the plugin.
 2. Start your local model server with an OpenAI-compatible API. For example, with 
    Ollama: `OLLAMA_HOST=0.0.0.0:11434 ollama serve`
 3. Go to **Settings  Jokiruiz Local Model Connector**.
 4. Enter your endpoint (for example `http://localhost:11434`), leaving the API key
    empty for local-only use.
 5. Refresh the model list, pick a model and save.

## FAQ

### Does this connector send my content to a cloud AI provider?

No. Requests go only to the endpoint you configure, which is normally a model running
on your own machine or your own network.

### Do I need an API key?

No. Local-only mode requires no key. The API key field is only for endpoints published
through a tunnel that requires a Bearer token.

### Which AI providers and backends are supported?

Any backend exposing an OpenAI-compatible API, including Ollama, LM Studio, llama.
cpp’s server and vLLM.

### Does it make network requests before I configure it?

No. Nothing is requested until you save an endpoint.

### The model list is empty. What now?

Check that your server is running and reachable from WordPress, then use the **Refresh
models** button. The health card on the settings screen distinguishes an unreachable
backend from an authentication failure or an empty model list.

### My local model is slow and generation gets cut off.

The connector already uses a 300 second generation timeout. You can change it with
the `jokiruiz_local_model_connector_generation_timeout` filter.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Jokiruiz Local Model Connector” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Joaquín Ruiz ](https://profiles.wordpress.org/jokioki/)

[Translate “Jokiruiz Local Model Connector” into your language.](https://translate.wordpress.org/projects/wp-plugins/jokiruiz-local-model-connector)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/jokiruiz-local-model-connector/),
check out the [SVN repository](https://plugins.svn.wordpress.org/jokiruiz-local-model-connector/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/jokiruiz-local-model-connector/)
by [RSS](https://plugins.trac.wordpress.org/log/jokiruiz-local-model-connector/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Initial release.

## Meta

 *  Version **1.0.1**
 *  Last updated **1 day ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 7.0 or higher **
 *  Tested up to **7.0.2**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [AI](https://wordpress.org/plugins/tags/ai/)[ai-provider](https://wordpress.org/plugins/tags/ai-provider/)
   [connector](https://wordpress.org/plugins/tags/connector/)[ollama](https://wordpress.org/plugins/tags/ollama/)
   [openai](https://wordpress.org/plugins/tags/openai/)
 *  [Advanced View](https://wordpress.org/plugins/jokiruiz-local-model-connector/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/jokiruiz-local-model-connector/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/jokiruiz-local-model-connector/reviews/)

## Contributors

 *   [ Joaquín Ruiz ](https://profiles.wordpress.org/jokioki/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/jokiruiz-local-model-connector/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://jokiruiz.com)