Zactonz AI Connector for Ollama
v1.2.0Ollama connector for the WordPress AI Client. Run local, self-hosted or Ollama Cloud models for text, images, embeddings and tool calling.
Zactonz AI Connector for Ollama registers Ollama 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 Ollama in a couple of clicks. Once active, Ollama can power text generation, image generation, embeddings, tool calling, structured output and streaming wherever the selected model supports them.
Ollama exposes an OpenAI-compatible API. The connector talks to that API, which means it works with any model you have pulled into Ollama: Llama, Mistral, Gemma, Phi and many more, running locally, on a remote self-hosted instance, or on Ollama Cloud.
Features#
- Text generation with any Ollama model.
- Image generation with supported models.
- Single and batch embedding generation on WordPress 7.1 and newer.
- Function calling and structured output (JSON mode).
- Automatic model discovery from your Ollama instance, with accurate per-model capability detection for text, vision, tools, thinking, images, structured output and embeddings.
- Separate default models for text, vision, images, embeddings and tool calling.
- Thinking controls: model default, disabled, low, medium or high.
- Connector integration in Settings › Connectors with an Ollama Cloud / self-hosted switch, and discoverable connector metadata for plugin-directory searches.
- Separate saved API keys for Ollama Cloud and for protected self-hosted endpoints. Local instances work without a key.
- Self-hosted host URL and port controls, and a configurable text request timeout for slow local or thinking responses.
- Redacted diagnostics panel plus a WordPress Site Health connectivity test.
- Stable, cancellable SSE streaming for content, thinking and tool-call chunks.
Requirements#
| Component | Minimum |
|---|---|
| WordPress | 7.0 (tested up to 7.1.2) |
| PHP | 7.4 |
| Ollama | Running locally, on a remote server, or Ollama Cloud |
Part of a family#
This connector is one of the Zactonz AI Connector plugins, which add the providers WordPress core leaves out. They follow one set of conventions, so every connector behaves the same way in the admin. Zactonz AI Connector for OpenRouter covers hundreds of hosted models behind one key; Zactonz AI Connector for Groq covers very low latency inference on GroqCloud; Zactonz AI Connector for DeepSeek covers a very long context window and thinking mode; Zactonz AI Connector for Mistral AI covers Mistral AI's open-weight and commercial models with capabilities read from its catalogue. All of them are listed under WordPress.
Disclaimer#
Zactonz AI Connector for Ollama is developed by Zactonz Technologies. Ollama is a third-party project. This plugin is not affiliated with, endorsed by, or sponsored by Ollama.