AI is becoming a core part of the WordPress ecosystem, but most solutions today rely on external APIs. That often means recurring costs, latency, and data leaving your server.
To address this, I’ve released a new plugin:
👉 https://wordpress.org/plugins/ai-provider-for-llamacpp
AI Provider for llama.cpp enables WordPress to connect directly to a locally hosted llama.cpp server, allowing you to run AI models without external dependencies.
Why Use Local AI in WordPress?
Running AI locally gives you more control and flexibility:
- No API costs
- Better data privacy
- Faster response times (depending on setup)
- Full control over models and infrastructure
This plugin bridges WordPress with llama.cpp, making local AI practical inside your site.
Key Features
Seamless Integration with WordPress AI Client
The plugin integrates directly with the WordPress AI Client, making it easy to use AI features within your workflows.
Works Without API Keys
For local setups, no API key is required. Just run your llama.cpp server and connect.
Automatic Model Discovery
Available models are fetched automatically from your server—no manual setup needed.
OpenAI-Compatible API Support
Since llama.cpp uses an OpenAI-compatible API, it fits naturally into existing AI workflows.
Simple Configuration
Set your server URL from:
Settings → llama.cpp
(Default: http://127.0.0.1:8080)
How It Works
The plugin acts as a connector between WordPress and your AI model:
- WordPress sends a request via the AI Client
- The plugin forwards it to your llama.cpp server
- The model processes the request
- The response is returned to WordPress
Getting Started
- Install the plugin from WordPress.org
- Run your llama.cpp server
- Go to Settings → llama.cpp and set your server URL
- Check Settings → Connectors to confirm it’s active
That’s it—you’re ready to use local AI inside WordPress.
Use Cases
You can use this plugin for:
- AI-powered content generation
- Internal tools with private data
- Experimenting with local LLMs
- Reducing dependency on paid AI APIs
Looking Ahead
This is the initial release, and there’s more planned:
- Support for additional providers (like Ollama)
- Better UI for managing models
- Performance improvements
- More developer hooks
Try It Out
👉 https://wordpress.org/plugins/ai-provider-for-llamacpp
If you test it, I’d really appreciate feedback—especially around setup, usability, and compatibility.
Final Thoughts
Local AI is becoming increasingly practical, and WordPress is a strong platform to build on top of it.
This plugin is a step toward making AI:
- More accessible
- More private
- More flexible for developers
More updates coming soon.

Leave a Reply