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.
Use with caution
AI Provider for Hugging Face works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 6 months ago, and scores 51/100 on our health check.
- 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.1.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_****' );
Frequently asked questions
Which models are supported?
The plugin dynamically fetches the top 20 most popular text and image generation models from HuggingFace, updated every 12 hours. You can also add any model via the Custom Models field in Settings > Hugging Face, or using the hugging_face_ai_provider_models and hugging_face_ai_provider_image_models filters.
Do I need to pay for HuggingFace?
Models on the free “hf-inference” provider work without credits. Other providers (fal-ai, replicate, etc.) require pre-paid HuggingFace credits. The plugin automatically selects the best available provider, preferring the free tier.
Can I use a self-hosted model?
Yes. Use the hugging_face_ai_provider_base_url filter for text generation or hugging_face_ai_provider_image_url filter for image generation to point to your own inference instance.
What capabilities are supported?
Text generation and image generation. Video generation support may be added in future versions.
Changelog
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.
Live data from WordPress.org · checked Oct 7, 2026
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 works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 6 months ago, and scores 51/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 467 times since it launched in April 2026. It was downloaded 72 times in the last 30 days.
Does AI Provider for Hugging Face work with WordPress 7.1?
AI Provider for Hugging Face is officially tested up to WordPress 7.0.7, while the latest release is 7.1.3. It may still work, but try it on a staging site first.
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.1.0, was released on April 14, 2026 (6 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 Website Builder (10M+ installs), All in One SEO (2M+ installs) and AI Agent by SiteGround (1M+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card

