Title: AI Provider for llama.cpp
Author: AcrossWP
Published: <strong>16 abril, 2026</strong>
Last modified: 27 abril, 2026

---

Pesquisar plugins

![](https://ps.w.org/ai-provider-for-llamacpp/assets/banner-772x250.png?rev=3510742)

![](https://ps.w.org/ai-provider-for-llamacpp/assets/icon.svg?rev=3516857)

# AI Provider for llama.cpp

 Por [AcrossWP](https://profiles.wordpress.org/acrosswp/)

[Baixar](https://downloads.wordpress.org/plugin/ai-provider-for-llamacpp.0.0.3.zip)

 * [Detalhes](https://br.wordpress.org/plugins/ai-provider-for-llamacpp/#description)
 * [Avaliações](https://br.wordpress.org/plugins/ai-provider-for-llamacpp/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/ai-provider-for-llamacpp/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/ai-provider-for-llamacpp/#developers)

 [Suporte](https://wordpress.org/support/plugin/ai-provider-for-llamacpp/)

## Descrição

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.

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.

**Features:**

 * Text generation with any llama.cpp-loaded model
 * Automatic model discovery from your llama.cpp server
 * Function calling support
 * Structured output (JSON mode) support
 * Settings page to configure the server URL (default: http://127.0.0.1:8080)
 * Works without an API key for local instances

**Requirements:**

 * PHP 7.4 or higher
 * WordPress AI Client plugin must be installed and activated
 * llama.cpp server running locally or on a remote host

### Getting Started

#### What do I need before using this plugin?

You need a running llama.cpp server (local or remote) and the WordPress AI Client
plugin installed and activated.

#### How do I install llama.cpp?

On macOS run `brew install llama.cpp`. For other platforms, see the official docs
at https://llama-cpp.com/download/

#### Where do I get a model?

Download a GGUF model from Hugging Face. TinyLlama 1.1B (Q4_K_M, ~636 MB) is a good
starting point for testing.

#### How do I start the server?

Run `llama-server --models-dir ~/models`. The server starts on `http://127.0.0.1:
8080` by default.

#### How do I connect WordPress to my llama.cpp server?

Go to **Settings > llama.cpp** and enter your server URL. Leave it blank to use 
the default (`http://127.0.0.1:8080`).

For full step-by-step setup instructions, see the [Getting Started Guide](https://github.com/acrosswp/ai-provider-for-llamacpp/).

## Instalação

 1. Ensure the WordPress AI Client plugin is installed and activated.
 2. Upload the plugin files to `/wp-content/plugins/ai-provider-for-llamacpp/`.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.
 4. Go to **Settings > llama.cpp** to configure the server URL.

## Perguntas frequentes

### Do I need an API key?

No. For local llama.cpp instances, no API key is needed. The plugin automatically
registers an empty key as a fallback.

### What is the default server URL?

http://127.0.0.1:8080 — the default address used by `llama-server`.

### How do I change the server URL?

Go to **Settings > llama.cpp** and enter your server’s base URL in the “Server URL”
field.

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“AI Provider for llama.cpp” é um programa de código aberto. As seguintes pessoas
contribuíram para este plugin.

Colaboradores

 *   [ AcrossWP ](https://profiles.wordpress.org/acrosswp/)

[Traduzir o “AI Provider for llama.cpp” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/ai-provider-for-llamacpp)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/ai-provider-for-llamacpp/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/ai-provider-for-llamacpp/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/ai-provider-for-llamacpp/)
por [RSS](https://plugins.trac.wordpress.org/log/ai-provider-for-llamacpp/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 0.0.3

 * Added support for the WordPress AI plugin — hooks into `wpai_has_ai_credentials`
   so the AI plugin recognises llama.cpp as a configured provider without requiring
   an API key

#### 0.0.1

 * Initial release
 * Text generation with llama.cpp OpenAI-compatible API
 * Settings page for server URL configuration

#### 0.0.2

 * Added documentation in the docs/ directory
 * Fixed minor issues and small bugs
 * Updated plugin icon and banner images

## Meta

 *  Versão **0.0.3**
 *  Última atualização **7 meses atrás**
 *  Instalações ativas **Menos de 10**
 *  Versão do WordPress ** 7.0 ou superior **
 *  Testado até **7.0.8**
 *  Versão do PHP ** 7.4 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/ai-provider-for-llamacpp/)
 * Tags
 * [AI](https://br.wordpress.org/plugins/tags/ai/)[connector](https://br.wordpress.org/plugins/tags/connector/)
   [LLM](https://br.wordpress.org/plugins/tags/llm/)[local-ai](https://br.wordpress.org/plugins/tags/local-ai/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/ai-provider-for-llamacpp/advanced/)

## Classificações

Ainda não foi enviada nenhuma avaliação.

[Sua avaliação](https://wordpress.org/support/plugin/ai-provider-for-llamacpp/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/ai-provider-for-llamacpp/reviews/)

## Colaboradores

 *   [ AcrossWP ](https://profiles.wordpress.org/acrosswp/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/ai-provider-for-llamacpp/)