{"id":296579,"date":"2026-04-16T13:22:00","date_gmt":"2026-04-16T13:22:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ai-provider-for-llama-cpp\/"},"modified":"2026-04-27T22:32:22","modified_gmt":"2026-04-27T22:32:22","slug":"ai-provider-for-llamacpp","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/ai-provider-for-llamacpp\/","author":20929455,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.0.3","stable_tag":"0.0.3","tested":"7.0","requires":"7.0","requires_php":"7.4","requires_plugins":null,"header_name":"AI Provider for llama.cpp","header_author":"acrosswp","header_description":"AI Provider for llama.cpp for the WordPress AI Client.","assets_banners_color":"1d1c3f","last_updated":"2026-04-27 22:32:22","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/acrossWP\/ai-provider-for-llamacpp","header_author_uri":"https:\/\/acrosswp.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":253,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.0.1":{"tag":"0.0.1","author":"acrosswp","date":"2026-04-16 13:21:23"},"0.0.2":{"tag":"0.0.2","author":"acrosswp","date":"2026-04-20 10:49:43"},"0.0.3":{"tag":"0.0.3","author":"acrosswp","date":"2026-04-27 22:32:22"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3510742,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3510742,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3516857,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3510742,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3510742,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.0.1","0.0.2","0.0.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2353,25308,260371,226124,258461],"plugin_category":[],"plugin_contributors":[220420],"plugin_business_model":[],"class_list":["post-296579","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-connector","plugin_tags-llamacpp","plugin_tags-llm","plugin_tags-local-ai","plugin_contributors-acrosswp","plugin_committers-acrosswp"],"banners":{"banner":"https:\/\/ps.w.org\/ai-provider-for-llamacpp\/assets\/banner-772x250.png?rev=3510742","banner_2x":"https:\/\/ps.w.org\/ai-provider-for-llamacpp\/assets\/banner-1544x500.png?rev=3510742","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/ai-provider-for-llamacpp\/assets\/icon.svg?rev=3516857","icon":"https:\/\/ps.w.org\/ai-provider-for-llamacpp\/assets\/icon.svg?rev=3516857","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin provides llama.cpp integration for the WordPress AI Client. It lets WordPress sites use large language models running via a llama.cpp server for text generation and other AI capabilities.<\/p>\n\n<p>llama.cpp exposes an OpenAI-compatible API, and this provider uses that API to communicate with any GGUF model loaded into your llama.cpp server.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Text generation with any llama.cpp-loaded model<\/li>\n<li>Automatic model discovery from your llama.cpp server<\/li>\n<li>Function calling support<\/li>\n<li>Structured output (JSON mode) support<\/li>\n<li>Settings page to configure the server URL (default: http:\/\/127.0.0.1:8080)<\/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 AI Client plugin must be installed and activated<\/li>\n<li>llama.cpp server running locally or on a remote host<\/li>\n<\/ul>\n\n<h3>Getting Started<\/h3>\n\n<h4>What do I need before using this plugin?<\/h4>\n\n<p>You need a running llama.cpp server (local or remote) and the WordPress AI Client plugin installed and activated.<\/p>\n\n<h4>How do I install llama.cpp?<\/h4>\n\n<p>On macOS run <code>brew install llama.cpp<\/code>. For other platforms, see the official docs at https:\/\/llama-cpp.com\/download\/<\/p>\n\n<h4>Where do I get a model?<\/h4>\n\n<p>Download a GGUF model from Hugging Face. TinyLlama 1.1B (Q4_K_M, ~636 MB) is a good starting point for testing.<\/p>\n\n<h4>How do I start the server?<\/h4>\n\n<p>Run <code>llama-server --models-dir ~\/models<\/code>. The server starts on <code>http:\/\/127.0.0.1:8080<\/code> by default.<\/p>\n\n<h4>How do I connect WordPress to my llama.cpp server?<\/h4>\n\n<p>Go to <strong>Settings &gt; llama.cpp<\/strong> and enter your server URL. Leave it blank to use the default (<code>http:\/\/127.0.0.1:8080<\/code>).<\/p>\n\n<p>For full step-by-step setup instructions, see the <a href=\"https:\/\/github.com\/acrosswp\/ai-provider-for-llamacpp\/\">Getting Started Guide<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Ensure the WordPress AI Client plugin is installed and activated.<\/li>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/ai-provider-for-llamacpp\/<\/code>.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to <strong>Settings &gt; llama.cpp<\/strong> to configure the server URL.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\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 llama.cpp instances, no API key is needed. The plugin automatically registers an empty key as a fallback.<\/p><\/dd>\n<dt id=\"what%20is%20the%20default%20server%20url%3F\"><h3>What is the default server URL?<\/h3><\/dt>\n<dd><p>http:\/\/127.0.0.1:8080 -- the default address used by <code>llama-server<\/code>.<\/p><\/dd>\n<dt id=\"how%20do%20i%20change%20the%20server%20url%3F\"><h3>How do I change the server URL?<\/h3><\/dt>\n<dd><p>Go to <strong>Settings &gt; llama.cpp<\/strong> and enter your server's base URL in the \"Server URL\" field.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.0.3<\/h4>\n\n<ul>\n<li>Added support for the WordPress AI plugin \u2014 hooks into <code>wpai_has_ai_credentials<\/code> so the AI plugin recognises llama.cpp as a configured provider without requiring an API key<\/li>\n<\/ul>\n\n<h4>0.0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Text generation with llama.cpp OpenAI-compatible API<\/li>\n<li>Settings page for server URL configuration<\/li>\n<\/ul>\n\n<h4>0.0.2<\/h4>\n\n<ul>\n<li>Added documentation in the docs\/ directory<\/li>\n<li>Fixed minor issues and small bugs<\/li>\n<li>Updated plugin icon and banner images<\/li>\n<\/ul>","raw_excerpt":"llama.cpp provider for the WordPress AI Client.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/296579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=296579"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/acrosswp"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=296579"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=296579"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=296579"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=296579"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=296579"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=296579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}