{"id":289485,"date":"2026-03-23T19:13:33","date_gmt":"2026-03-23T19:13:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ai-provider-for-ollama\/"},"modified":"2026-05-14T17:08:43","modified_gmt":"2026-05-14T17:08:43","slug":"ai-provider-for-ollama","status":"publish","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/ai-provider-for-ollama\/","author":23203826,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.1","stable_tag":"1.1.1","tested":"7.0","requires":"7.0","requires_php":"7.4","requires_plugins":null,"header_name":"AI Provider for Ollama","header_author":"Fueled","header_description":"Ollama provider for the WordPress AI Client.","assets_banners_color":"545454","last_updated":"2026-05-14 17:08:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/fueled\/ai-provider-for-ollama","header_author_uri":"https:\/\/fueled.com","rating":5,"author_block_rating":0,"active_installs":40,"downloads":791,"num_ratings":2,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.2":{"tag":"1.0.2","author":"fueled","date":"2026-03-23 19:12:56"},"1.0.3":{"tag":"1.0.3","author":"fueled","date":"2026-03-25 13:42:55"},"1.1.0":{"tag":"1.1.0","author":"fueled","date":"2026-04-23 15:18:04"},"1.1.1":{"tag":"1.1.1","author":"fueled","date":"2026-05-14 17:08:43"}},"upgrade_notice":{"1.0.0":"<p>Initial release.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3489358,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3489358,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3489358,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3489358,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.2","1.0.3","1.1.0","1.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3513949,"resolution":"1","location":"assets","locale":"","width":5760,"height":3600}},"screenshots":{"1":"Settings &gt; Ollama screen showing available AI models and Host URL configuration."}},"plugin_section":[],"plugin_tags":[2353,25308,226124,258461,226976],"plugin_category":[],"plugin_contributors":[77761,258462],"plugin_business_model":[],"class_list":["post-289485","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-connector","plugin_tags-llm","plugin_tags-local-ai","plugin_tags-ollama","plugin_contributors-10up","plugin_contributors-fueled","plugin_committers-fueled","plugin_support_reps-dkotter","plugin_support_reps-jeffpaul"],"banners":{"banner":"https:\/\/ps.w.org\/ai-provider-for-ollama\/assets\/banner-772x250.png?rev=3489358","banner_2x":"https:\/\/ps.w.org\/ai-provider-for-ollama\/assets\/banner-1544x500.png?rev=3489358","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/ai-provider-for-ollama\/assets\/icon-128x128.png?rev=3489358","icon_2x":"https:\/\/ps.w.org\/ai-provider-for-ollama\/assets\/icon-256x256.png?rev=3489358","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/ai-provider-for-ollama\/assets\/screenshot-1.png?rev=3513949","caption":"Settings &gt; Ollama screen showing available AI models and Host URL configuration."}],"raw_content":"<!--section=description-->\n<p>This plugin provides <a href=\"https:\/\/ollama.com\/\">Ollama<\/a> 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.<\/p>\n\n<p>Ollama exposes an <a href=\"https:\/\/ollama.com\/blog\/openai-compatibility\">OpenAI-compatible API<\/a>, and this provider uses that API to communicate with any model you have pulled into Ollama (Llama, Mistral, Gemma, Phi, and many more).<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Text generation with any Ollama model<\/li>\n<li>Image generation with supported models<\/li>\n<li>Automatic model discovery from your Ollama instance<\/li>\n<li>Function calling support<\/li>\n<li>Structured output (JSON mode) support<\/li>\n<li>Settings page for host URL and seeing available models<\/li>\n<li>Works without an API key for local instances<\/li>\n<\/ul>\n\n<p><strong>Requirements:<\/strong><\/p>\n\n<ul>\n<li>PHP 7.4 or higher<\/li>\n<li>WordPress 7.0 or higher<\/li>\n<li>Ollama running locally or on a remote server (like Ollama Cloud)<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/ai-provider-for-ollama\/<\/code>.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to <strong>Settings &gt; Ollama<\/strong> to configure the host URL and see available models.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20install%20ollama%3F\"><h3>How do I install Ollama?<\/h3><\/dt>\n<dd><p>Visit <a href=\"https:\/\/ollama.com\/\">ollama.com<\/a> to download and install Ollama for your platform. Once installed, pull a model (example <code>ollama pull llama3.2<\/code>) and the provider will automatically discover it.<\/p><\/dd>\n<dt id=\"do%20i%20need%20an%20api%20key%3F\"><h3>Do I need an API key?<\/h3><\/dt>\n<dd><p>No. For local Ollama instances, no API key is needed. The plugin automatically handles authentication for local setups.<\/p>\n\n<p>For remote Ollama instances that require authentication, enter the API key in the <strong>Settings &gt; Connectors<\/strong> screen. If using Ollama Cloud, you also need to set your Ollama host URL in the <strong>Settings &gt; Ollama<\/strong> screen to <code>https:\/\/ollama.com<\/code>.<\/p><\/dd>\n<dt id=\"how%20do%20i%20change%20the%20ollama%20host%20url%3F\"><h3>How do I change the Ollama host URL?<\/h3><\/dt>\n<dd><p>By default, the provider connects to <code>http:\/\/localhost:11434<\/code>. You can change this in two ways:<\/p>\n\n<ol>\n<li>Set the <code>OLLAMA_HOST<\/code> environment variable (takes precedence).<\/li>\n<li>Go to <strong>Settings &gt; Ollama<\/strong> in the WordPress admin and enter your host URL.<\/li>\n<\/ol><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.1 - 2026-05-14<\/h4>\n\n<p><strong>Added<\/strong>\n- Ensure the AI plugin sees Ollama as a valid, connected provider within the status dashboard widget (props <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a>, <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a> via <a href=\"https:\/\/github.com\/Fueled\/ai-provider-for-ollama\/pull\/55\">#55<\/a>).<\/p>\n\n<p><strong>Fixed<\/strong>\n- More robust path inclusion for the logo (props <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a>, <a href=\"https:\/\/profiles.wordpress.org\/abcdatos\/\">@abcdatos<\/a> via <a href=\"https:\/\/github.com\/Fueled\/ai-provider-for-ollama\/pull\/61\">#61<\/a>).<\/p>\n\n<h4>1.1.0 - 2026-04-23<\/h4>\n\n<ul>\n<li><strong>Added:<\/strong> Support for image generation when using compatible models (props <a href=\"https:\/\/github.com\/milindmore22\">@milindmore22<\/a>, <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a> via <a href=\"https:\/\/github.com\/Fueled\/ai-provider-for-ollama\/pull\/30\">#30<\/a>).<\/li>\n<li><strong>Added:<\/strong> Integrate with the <code>wpai_has_ai_credentials<\/code> filter to ensure the AI plugin sees Ollama as a valid, connected provider (props <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a>, <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a> via <a href=\"https:\/\/github.com\/Fueled\/ai-provider-for-ollama\/pull\/43\">#43<\/a>).<\/li>\n<li><strong>Added:<\/strong> Show the capabilities of each model next to the model name on our settings page (props <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a>, <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a> via <a href=\"https:\/\/github.com\/Fueled\/ai-provider-for-ollama\/pull\/51\">#51<\/a>).<\/li>\n<li><strong>Changed:<\/strong> Increase the standard timeout to be 60 seconds for text generation (props <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a>, <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a> via <a href=\"https:\/\/github.com\/Fueled\/ai-provider-for-ollama\/pull\/49\">#49<\/a>).<\/li>\n<li><strong>Fixed:<\/strong> Properly parse structured outputs (props <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a>, <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a> via <a href=\"https:\/\/github.com\/Fueled\/ai-provider-for-ollama\/pull\/49\">#49<\/a>).<\/li>\n<\/ul>\n\n<h4>1.0.3 - 2026-03-25<\/h4>\n\n<ul>\n<li><strong>Changed:<\/strong> Removed AI Client dependency FAQ entry (props <a href=\"https:\/\/github.com\/raftaar1191\">@raftaar1191<\/a> via <a href=\"https:\/\/github.com\/Fueled\/ai-provider-for-ollama\/pull\/29\">#29<\/a>).<\/li>\n<li><strong>Fixed:<\/strong> Ensure the vendor directory ends up in our final release (props <a href=\"https:\/\/github.com\/soderlind\">@soderlind<\/a>, <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a> via <a href=\"https:\/\/github.com\/Fueled\/ai-provider-for-ollama\/pull\/31\">#31<\/a>).<\/li>\n<\/ul>\n\n<h4>1.0.2 - 2026-03-23<\/h4>\n\n<ul>\n<li><strong>Changed:<\/strong> Updated plugin display name and slug per WPORG feedback (props <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a>, <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a> via <a href=\"https:\/\/github.com\/Fueled\/ai-provider-for-ollama\/pull\/25\">#25<\/a>).<\/li>\n<\/ul>\n\n<h4>1.0.1 - 2026-03-20<\/h4>\n\n<ul>\n<li><strong>Added:<\/strong> Support for the provider description and logo path (props <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a>, <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a> via <a href=\"https:\/\/github.com\/Fueled\/ai-provider-for-ollama\/pull\/13\">#13<\/a>).<\/li>\n<li><strong>Changed:<\/strong> Display name and slug to meet WPORG Plugin team requirements (props <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a>, <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a> via <a href=\"https:\/\/github.com\/Fueled\/ai-provider-for-ollama\/pull\/22\">#22<\/a>).<\/li>\n<li><strong>Changed:<\/strong> Update menu name from Ollama Settings to Ollama (props <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a>, <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a> via <a href=\"https:\/\/github.com\/Fueled\/ai-provider-for-ollama\/pull\/19\">#19<\/a>).<\/li>\n<li><strong>Fixed:<\/strong> Ensure we properly check if the provider is connected rather than defaulting to always showing as connected (props <a href=\"https:\/\/github.com\/raftaar1191\">@raftaar1191<\/a>, <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a> via <a href=\"https:\/\/github.com\/Fueled\/ai-provider-for-ollama\/pull\/17\">#17<\/a>).<\/li>\n<\/ul>\n\n<h4>1.0.0 - 2026-03-05<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Text generation with Ollama models via the OpenAI-compatible API<\/li>\n<li>Automatic model discovery from the Ollama instance<\/li>\n<li>Settings page for host URL and default model<\/li>\n<li>Function calling and structured output support<\/li>\n<\/ul>","raw_excerpt":"Ollama provider for the WordPress AI Client.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/289485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=289485"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fueled"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=289485"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=289485"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=289485"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=289485"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=289485"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=289485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}