Title: AI Provider for Ollama
Author: Fueled
Published: <strong>March 23, 2026</strong>
Last modified: May 14, 2026

---

Search plugins

![](https://ps.w.org/ai-provider-for-ollama/assets/banner-772x250.png?rev=3489358)

![](https://ps.w.org/ai-provider-for-ollama/assets/icon-256x256.png?rev=3489358)

# AI Provider for Ollama

 By [Fueled](https://profiles.wordpress.org/fueled/)

[Download](https://downloads.wordpress.org/plugin/ai-provider-for-ollama.1.1.1.zip)

 * [Details](https://wordpress.org/plugins/ai-provider-for-ollama/#description)
 * [Reviews](https://wordpress.org/plugins/ai-provider-for-ollama/#reviews)
 *  [Installation](https://wordpress.org/plugins/ai-provider-for-ollama/#installation)
 * [Development](https://wordpress.org/plugins/ai-provider-for-ollama/#developers)

 [Support](https://wordpress.org/support/plugin/ai-provider-for-ollama/)

## Description

This plugin provides [Ollama](https://ollama.com/) integration for the WordPress
AI Client. It lets WordPress sites use large language models running locally or 
on a remote Ollama instance for text and image generation and other AI capabilities.

Ollama exposes an [OpenAI-compatible API](https://ollama.com/blog/openai-compatibility),
and this provider uses that API to communicate with any model you have pulled into
Ollama (Llama, Mistral, Gemma, Phi, and many more).

**Features:**

 * Text generation with any Ollama model
 * Image generation with supported models
 * Automatic model discovery from your Ollama instance
 * Function calling support
 * Structured output (JSON mode) support
 * Settings page for host URL and seeing available models
 * Works without an API key for local instances

**Requirements:**

 * PHP 7.4 or higher
 * WordPress 7.0 or higher
 * Ollama running locally or on a remote server (like Ollama Cloud)

## Screenshots

[⌊Settings > Ollama screen showing available AI models and Host URL configuration.⌉⌊
Settings > Ollama screen showing available AI models and Host URL configuration.⌉[

Settings > Ollama screen showing available AI models and Host URL configuration.

## Installation

 1. Upload the plugin files to `/wp-content/plugins/ai-provider-for-ollama/`.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to **Settings > Ollama** to configure the host URL and see available models.

## FAQ

### How do I install Ollama?

Visit [ollama.com](https://ollama.com/) to download and install Ollama for your 
platform. Once installed, pull a model (example `ollama pull llama3.2`) and the 
provider will automatically discover it.

### Do I need an API key?

No. For local Ollama instances, no API key is needed. The plugin automatically handles
authentication for local setups.

For remote Ollama instances that require authentication, enter the API key in the**
Settings > Connectors** screen. If using Ollama Cloud, you also need to set your
Ollama host URL in the **Settings > Ollama** screen to `https://ollama.com`.

### How do I change the Ollama host URL?

By default, the provider connects to `http://localhost:11434`. You can change this
in two ways:

 1. Set the `OLLAMA_HOST` environment variable (takes precedence).
 2. Go to **Settings > Ollama** in the WordPress admin and enter your host URL.

## Reviews

![](https://secure.gravatar.com/avatar/5a44c17d3bdc4af14ba61b24860dccecb3462b86a6fca91660365794676d2099?
s=60&d=retro&r=g)

### 󠀁[Works perfect, thanks!](https://wordpress.org/support/topic/works-perfect-thanks-4/)󠁿

 [soportetecnico](https://profiles.wordpress.org/soportetecnico/) May 22, 2026

I used the local provider to generate alternative text with local templates to speed
up development. It works perfectly.

![](https://secure.gravatar.com/avatar/5f9f0d5822c6b83ea8a3e77ff963784e5980714b6039b107f93b14cbbf7de126?
s=60&d=retro&r=g)

### 󠀁[Works very well with ollama](https://wordpress.org/support/topic/works-very-well-with-ollama/)󠁿

 [Deepak Gupta](https://profiles.wordpress.org/raftaar1191/) April 19, 2026 1 reply

I have tried in my local machines and it works very well with ollama

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/ai-provider-for-ollama/reviews/)

## Contributors & Developers

“AI Provider for Ollama” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Fueled ](https://profiles.wordpress.org/fueled/)
 *   [ 10up ](https://profiles.wordpress.org/10up/)

“AI Provider for Ollama” has been translated into 4 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/ai-provider-for-ollama/contributors)
for their contributions.

[Translate “AI Provider for Ollama” into your language.](https://translate.wordpress.org/projects/wp-plugins/ai-provider-for-ollama)

### Interested in development?

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

## Changelog

#### 1.1.1 – 2026-05-14

**Added**
 – Ensure the AI plugin sees Ollama as a valid, connected provider within
the status dashboard widget (props [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul)
via [#55](https://github.com/Fueled/ai-provider-for-ollama/pull/55)).

**Fixed**
 – More robust path inclusion for the logo (props [@dkotter](https://github.com/dkotter),
[@abcdatos](https://profiles.wordpress.org/abcdatos/) via [#61](https://github.com/Fueled/ai-provider-for-ollama/pull/61)).

#### 1.1.0 – 2026-04-23

 * **Added:** Support for image generation when using compatible models (props [@milindmore22](https://github.com/milindmore22),
   [@dkotter](https://github.com/dkotter) via [#30](https://github.com/Fueled/ai-provider-for-ollama/pull/30)).
 * **Added:** Integrate with the `wpai_has_ai_credentials` filter to ensure the 
   AI plugin sees Ollama as a valid, connected provider (props [@dkotter](https://github.com/dkotter),
   [@jeffpaul](https://github.com/jeffpaul) via [#43](https://github.com/Fueled/ai-provider-for-ollama/pull/43)).
 * **Added:** Show the capabilities of each model next to the model name on our 
   settings page (props [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul)
   via [#51](https://github.com/Fueled/ai-provider-for-ollama/pull/51)).
 * **Changed:** Increase the standard timeout to be 60 seconds for text generation(
   props [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul)
   via [#49](https://github.com/Fueled/ai-provider-for-ollama/pull/49)).
 * **Fixed:** Properly parse structured outputs (props [@dkotter](https://github.com/dkotter),
   [@jeffpaul](https://github.com/jeffpaul) via [#49](https://github.com/Fueled/ai-provider-for-ollama/pull/49)).

#### 1.0.3 – 2026-03-25

 * **Changed:** Removed AI Client dependency FAQ entry (props [@raftaar1191](https://github.com/raftaar1191)
   via [#29](https://github.com/Fueled/ai-provider-for-ollama/pull/29)).
 * **Fixed:** Ensure the vendor directory ends up in our final release (props [@soderlind](https://github.com/soderlind),
   [@dkotter](https://github.com/dkotter) via [#31](https://github.com/Fueled/ai-provider-for-ollama/pull/31)).

#### 1.0.2 – 2026-03-23

 * **Changed:** Updated plugin display name and slug per WPORG feedback (props [@dkotter](https://github.com/dkotter),
   [@jeffpaul](https://github.com/jeffpaul) via [#25](https://github.com/Fueled/ai-provider-for-ollama/pull/25)).

#### 1.0.1 – 2026-03-20

 * **Added:** Support for the provider description and logo path (props [@jeffpaul](https://github.com/jeffpaul),
   [@dkotter](https://github.com/dkotter) via [#13](https://github.com/Fueled/ai-provider-for-ollama/pull/13)).
 * **Changed:** Display name and slug to meet WPORG Plugin team requirements (props
   [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter)
   via [#22](https://github.com/Fueled/ai-provider-for-ollama/pull/22)).
 * **Changed:** Update menu name from Ollama Settings to Ollama (props [@jeffpaul](https://github.com/jeffpaul),
   [@dkotter](https://github.com/dkotter) via [#19](https://github.com/Fueled/ai-provider-for-ollama/pull/19)).
 * **Fixed:** Ensure we properly check if the provider is connected rather than 
   defaulting to always showing as connected (props [@raftaar1191](https://github.com/raftaar1191),
   [@dkotter](https://github.com/dkotter) via [#17](https://github.com/Fueled/ai-provider-for-ollama/pull/17)).

#### 1.0.0 – 2026-03-05

 * Initial release
 * Text generation with Ollama models via the OpenAI-compatible API
 * Automatic model discovery from the Ollama instance
 * Settings page for host URL and default model
 * Function calling and structured output support

## Meta

 *  Version **1.1.1**
 *  Last updated **3 months ago**
 *  Active installations **200+**
 *  WordPress version ** 7.0 or higher **
 *  Tested up to **7.0.2**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [Czech](https://cs.wordpress.org/plugins/ai-provider-for-ollama/), [Dutch](https://nl.wordpress.org/plugins/ai-provider-for-ollama/),
   [English (US)](https://wordpress.org/plugins/ai-provider-for-ollama/), [Persian](https://fa.wordpress.org/plugins/ai-provider-for-ollama/),
   and [Portuguese (Brazil)](https://br.wordpress.org/plugins/ai-provider-for-ollama/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/ai-provider-for-ollama)
 * Tags
 * [AI](https://wordpress.org/plugins/tags/ai/)[connector](https://wordpress.org/plugins/tags/connector/)
   [LLM](https://wordpress.org/plugins/tags/llm/)[local-ai](https://wordpress.org/plugins/tags/local-ai/)
   [ollama](https://wordpress.org/plugins/tags/ollama/)
 *  [Advanced View](https://wordpress.org/plugins/ai-provider-for-ollama/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/ai-provider-for-ollama/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/ai-provider-for-ollama/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/ai-provider-for-ollama/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/ai-provider-for-ollama/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/ai-provider-for-ollama/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ai-provider-for-ollama/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ai-provider-for-ollama/reviews/)

## Contributors

 *   [ Fueled ](https://profiles.wordpress.org/fueled/)
 *   [ 10up ](https://profiles.wordpress.org/10up/)

## Support

Issues resolved in last two months:

     2 out of 2

 [View support forum](https://wordpress.org/support/plugin/ai-provider-for-ollama/)