Title: AI Provider for Ollama
Author: Fueled
Published: <strong>23. ožujka 2026.</strong>
Last modified: 30. listopada 2026.

---

Pretraga dodataka

![](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

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

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

 * [Detalji](https://hr.wordpress.org/plugins/ai-provider-for-ollama/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/ai-provider-for-ollama/#reviews)
 *  [Instalacija](https://hr.wordpress.org/plugins/ai-provider-for-ollama/#installation)
 * [Razvoj](https://hr.wordpress.org/plugins/ai-provider-for-ollama/#developers)

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

## Opis

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, image, embedding, and speech 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
 * Embedding generation with any embedding-capable Ollama model
 * Text to speech with speech models such as phonon (Ollama 0.40.9+, Apple Silicon
   only)
 * Typed decisions (choice, yes/no probability, and score) with local decision models
   such as nimble and tev1
 * 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 8.2 or higher
 * WordPress 7.0 or higher
 * Ollama running locally or on a remote server (like Ollama Cloud)

## Snimke zaslona

[⌊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.

## Instalacija

 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.

## Pitanja i odgovori

### 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.

### Where do I report security bugs found in this plugin?

Please report security bugs found in the source code of the AI Provider for Ollama
plugin through the [Patchstack Vulnerability Disclosure  Program](https://patchstack.com/database/vdp/b715f2ba-e67f-437c-9398-cb523702a7ad).
The Patchstack team will assist you with verification, CVE assignment, and notify
the developers of this plugin.

## Recenzije

![](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/) 22. svibnja 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/)󠁿

 [AcrossAI](https://profiles.wordpress.org/raftaar1191/) 19. travnja 2026. 1 odgovor

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

 [ Pročitajte sve 2 recenzije ](https://wordpress.org/support/plugin/ai-provider-for-ollama/reviews/)

## Suradnici i Programeri

“AI Provider for Ollama” je softver otvorenog koda. Sljedeće osobe su doprinijele
ovom dodatku.

Suradnici

 *   [ Fueled ](https://profiles.wordpress.org/fueled/)
 *   [ 10up ](https://profiles.wordpress.org/10up/)
 *   [ Darin Kotter ](https://profiles.wordpress.org/dkotter/)
 *   [ Jeffrey Paul ](https://profiles.wordpress.org/jeffpaul/)

“AI Provider for Ollama” je preveden na 5 jezika. Zahvala [prevoditeljima](https://translate.wordpress.org/projects/wp-plugins/ai-provider-for-ollama/contributors)
za njihov doprinos.

[Prevedite “AI Provider for Ollama” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/ai-provider-for-ollama)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/ai-provider-for-ollama/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/ai-provider-for-ollama/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/ai-provider-for-ollama/)
od [RSS](https://plugins.trac.wordpress.org/log/ai-provider-for-ollama/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

#### 1.4.0 – 2026-10-30

**Added**

 * Support for text-to-speech with Ollama speech models such as `phonon`, including
   voice selection (requires Ollama 0.40.9+) ([#115](https://github.com/Fueled/ai-provider-for-ollama/pull/115)).
 * A refresh models button on the settings page ([#102](https://github.com/Fueled/ai-provider-for-ollama/pull/102)).

**Changed**

 * Refresh the cached model list when the host or API key changes ([#102](https://github.com/Fueled/ai-provider-for-ollama/pull/102)).
 * Bump PHP minimum supported version to 8.2 and test against PHP 8.2 through 8.5(
   [#105](https://github.com/Fueled/ai-provider-for-ollama/pull/105)).

**Fixed**

 * Ensure we properly declare text to speech generation support when used alongside
   the AI plugin ([#121](https://github.com/Fueled/ai-provider-for-ollama/pull/121)).

**Security**

 * Resolves GHSA-cvg2-2wh8-3p8v ([GHSA-cvg2-2wh8-3p8v](https://github.com/Fueled/ai-provider-for-ollama/security/advisories/GHSA-cvg2-2wh8-3p8v)).

#### 1.3.0 – 2026-10-08

**Added**

 * Support for Jev-style decision models ([#103](https://github.com/Fueled/ai-provider-for-ollama/pull/103)).
 * `ai_provider_for_ollama_request_timeout` and `ai_provider_for_ollama_connect_timeout`
   filters to override Ollama request and connect timeouts ([#89](https://github.com/Fueled/ai-provider-for-ollama/pull/89)).

**Changed**

 * Optimized Ollama model discovery and availability checks by caching model details,
   reducing redundant `/api/show` requests, and adding separate timeouts for discovery
   requests ([#100](https://github.com/Fueled/ai-provider-for-ollama/pull/100)).

**Fixed**

 * Ensure we only declare function calling support on models that advertise support
   for tools ([#94](https://github.com/Fueled/ai-provider-for-ollama/pull/94)).

#### 1.2.0 – 2026-08-18

**Added**

 * Support for generating embeddings (props [@dkotter](https://github.com/dkotter)
   via [#69](https://github.com/Fueled/ai-provider-for-ollama/pull/69)).

**Changed**

 * Bumped WordPress tested-up-to version 7.1 (props [@jeffpaul](https://github.com/jeffpaul),
   [@dkotter](https://github.com/dkotter) via [#81](https://github.com/Fueled/ai-provider-for-ollama/pull/81)).

[View historical changelog details here](https://github.com/Fueled/ai-provider-for-ollama/blob/develop/CHANGELOG.md).

## Meta

 *  Version **1.4.0**
 *  Zadnje ažuriranje **prije 2 tjedna**
 *  Aktivnih instalacija **300+**
 *  WordPress inačica ** 7.0 ili viša **
 *  Testirano do **7.1.4**
 *  PHP inačica ** 8.2 ili viša **
 *  Jezici
 * [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/), [Nepali](https://ne.wordpress.org/plugins/ai-provider-for-ollama/),
   [Persian](https://fa.wordpress.org/plugins/ai-provider-for-ollama/), i [Portuguese (Brazil)](https://br.wordpress.org/plugins/ai-provider-for-ollama/).
 *  [Prevedite na vaš jezik](https://translate.wordpress.org/projects/wp-plugins/ai-provider-for-ollama)
 * Oznaka
 * [AI](https://hr.wordpress.org/plugins/tags/ai/)[connector](https://hr.wordpress.org/plugins/tags/connector/)
   [LLM](https://hr.wordpress.org/plugins/tags/llm/)[local-ai](https://hr.wordpress.org/plugins/tags/local-ai/)
   [ollama](https://hr.wordpress.org/plugins/tags/ollama/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/ai-provider-for-ollama/advanced/)

## Ocjena

 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/)

## Suradnici

 *   [ Fueled ](https://profiles.wordpress.org/fueled/)
 *   [ 10up ](https://profiles.wordpress.org/10up/)
 *   [ Darin Kotter ](https://profiles.wordpress.org/dkotter/)
 *   [ Jeffrey Paul ](https://profiles.wordpress.org/jeffpaul/)

## Podrška

Problemi riješeni u zadnja dva mjeseca:

     0 od 1

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/ai-provider-for-ollama/)