AI Provider for Hugging Face
AI Provider for Hugging Face for the WordPress AI Client. Use open-source models for text and image generation through the standard WordPress AI API.
Solid choice
AI Provider for Hugging Face is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 2 months ago, and scores 62/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (10+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where AI Provider for Hugging Face stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| AI | >100 |
| ai client | >100 |
| connectors | >100 |
| hugging-face | #2 |
| image-generation | >100 |
Version adoption
Share of active sites per release.
About AI Provider for Hugging Face
From the official readme · v1.2.0Description
This plugin registers Hugging Face as an AI provider for the WordPress AI Client introduced in WordPress 7.0. It enables text and image generation through Hugging Face’s Inference API using popular open-source models.
Features:
- Registers Hugging Face on the Settings > Connectors admin screen
- Supports API key management (environment variable, PHP constant, or database)
- Text generation via
wp_ai_client_prompt() - Image generation via
wp_ai_client_prompt()->generate_image() - Dynamically fetches top 20 popular models from HuggingFace (updated every 12 hours)
- Multi-provider support — automatically routes to the best available inference provider (hf-inference, fal-ai, replicate, together, nscale, wavespeed)
- Add custom models from the Settings > Hugging Face admin page
- Extensible model lists via
hugging_face_ai_provider_modelsandhugging_face_ai_provider_image_modelsfilters - Configurable base URL for self-hosted TGI instances
- Clear, actionable error messages for common API issues
Usage:
$result = wp_ai_client_prompt( 'Summarize the benefits of caching.' )
->using_temperature( 0.7 )
->generate_text();
// Generate an image
$image = wp_ai_client_prompt( 'A futuristic WordPress logo in neon colors' )
->generate_image();
External Services
This plugin connects to the Hugging Face Inference API to provide AI-powered text and image generation capabilities within WordPress. The Hugging Face Inference API is a third-party service operated by Hugging Face, Inc.
What data is sent and when
- Your Hugging Face API key is sent with every request for authentication.
- When fetching the model list, a request is sent to the Hugging Face API to retrieve available models.
- When generating text, your prompt and any conversation context are sent to the Hugging Face Inference API.
- When generating images, your text prompt is sent to the Hugging Face Inference API.
- When resolving inference providers, a request is sent to the Hugging Face API to determine available providers for the selected model.
Data is only sent when the plugin is actively used to generate text or images, or when loading the model list on the admin settings page.
Service links
- Hugging Face Website
- Hugging Face Inference API Documentation
- Hugging Face Terms of Service
- Hugging Face Privacy Policy
- Hugging Face Content Policy
All API communication is routed through https://router.huggingface.co and https://huggingface.co/api.
Installation
- Upload the plugin to the
/wp-content/plugins/ai-provider-for-hugging-facedirectory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Hugging Face Tokens and create a new Access Token with Read permission.
- Go to Settings > Connectors and enter your Hugging Face API token.
You can also set the API key via environment variable or PHP constant:
// Environment variable
HUGGING_FACE_API_KEY=hf_****
// PHP constant in wp-config.php
define( 'HUGGING_FACE_API_KEY', 'hf_****' );
Changelog
1.2.0
- Declare compatibility up to WordPress 7.1.
- Add presence_penalty and frequency_penalty support for text generation models.
- Fix third-party inference provider endpoint URL and JSON response parsing for image generation.
- Update Hugging Face model browse links to inference_provider=all format.
- Update fallback model list and mark FLUX.1 Schnell pricing as Paid.
- Add setup instructions and billing guidance to Connectors card and admin settings page.
- Guard against direct file access in autoloader.
- Harden provider resolution against varying API response structures.
1.1.0
- Fetch models from all HuggingFace inference providers instead of warm-only models.
- Filter text generation models to chat-compatible (conversational) models only.
- Show pricing labels in model dropdowns: “Free tier”, “from $X.XX/M tokens”, or “Paid”.
- Models under $0.10/M tokens and hf-inference models are labelled “Free tier”.
- Update fallback model lists with broadly supported models for better reliability.
1.0.0
- Initial release.
- Connector registration with API key management.
- Text generation via Hugging Face Inference API.
- Image generation via text-to-image models with multi-provider support.
- Dynamic model lists fetched from HuggingFace API.
- Admin page with custom model management (add/remove with instant dropdown sync).
- Clear error messages for 400, 401, 402, 404, 410, 422, 429, 500, 503 API responses.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best AI Provider for Hugging Face alternatives
All AI plugins →FAQ
AI Provider for Hugging Face: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is AI Provider for Hugging Face free?
Yes. AI Provider for Hugging Face is free to download and use from the official WordPress.org plugin directory.
Is AI Provider for Hugging Face safe to use in 2026?
AI Provider for Hugging Face is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 2 months ago, and scores 62/100 on our health check.
How many websites use AI Provider for Hugging Face?
AI Provider for Hugging Face is active on 10+ WordPress websites and has been downloaded 756 times since it launched in April 2026. It was downloaded 133 times in the last 30 days.
Does AI Provider for Hugging Face work with WordPress 7.1?
Yes. The developer has tested AI Provider for Hugging Face up to WordPress 7.1.5, the latest release. It requires WordPress 7.0 or newer.
What PHP version does AI Provider for Hugging Face need?
AI Provider for Hugging Face requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was AI Provider for Hugging Face last updated?
The latest version, 1.2.0, was released on October 17, 2026 (2 months ago).
Who makes AI Provider for Hugging Face?
AI Provider for Hugging Face is developed and maintained by Aslam Doctor.
What are the best alternatives to AI Provider for Hugging Face?
The most popular alternatives to AI Provider for Hugging Face are Elementor Agent Ready Websi… (10M+ installs), Jetpack (3M+ installs) and All in One SEO (2M+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card


