BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
AI Provider for Hugging Face icon
Maintained Tested up to 7.0.7

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.

Active installs10+10+ tier
Downloads · 30d72▲ +18% vs prev. 30d
Rating—0 reviews
Health score51/100Fair
All-time downloads467Since Apr 2026
Support resolved—No recent threads
RequiresWP 7.0PHP 7.4+
Downloads · 7d22▲ +144.4% week over week
Our verdict

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 & support

Daily downloads

135Jul 9Aug 22Oct 6
Yesterday1
Daily average (1y)3
Peak day31Apr 14, 2026
Last 12 months468

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where AI Provider for Hugging Face stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
AI >100 6,724 Best AI plugins →
ai client >100 2,086 Best ai client plugins →
connectors >100 1,626 Best connectors plugins →
hugging-face #2 33 Best hugging-face plugins →
image-generation >100 3,162 Best image-generation plugins →

Version adoption

Share of active sites per release.

  • 1.1100.0%

About AI Provider for Hugging Face

From the official readme · v1.1.0

Description

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_models and hugging_face_ai_provider_image_models filters
  • 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

All API communication is routed through https://router.huggingface.co and https://huggingface.co/api.

Installation

  1. Upload the plugin to the /wp-content/plugins/ai-provider-for-hugging-face directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Hugging Face Tokens and create a new Access Token with Read permission.
  4. 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.

Full changelog on WordPress.org →

Screenshots

Settings > Connectors screen showing Hugging Face connected with API key.
Settings > Connectors screen showing Hugging Face connected with API key.
Settings > Hugging Face admin page with text and image model configuration.
Settings > Hugging Face admin page with text and image model configuration.

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.

Active installs badge Rating badge Health score badge

Best AI Provider for Hugging Face alternatives

All AI plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Elementor Website Builder – more than just a page builder Elementor Website Builder – more than just a page builder The Elementor Website Builder has it all: drag and drop page builder, Atomic Editor, pixel… by Elementor 10M+ ★★★★★★★★★★ 4.5 (7.3K) 2 days ago 93
2 All in One SEO – AI SEO Plugin to Boost SEO Rankings & Traffic (Schema, Local SEO, Sitemap & SEO Insights) All in One SEO AIOSEO is the WordPress SEO plugin. Boost SEO rankings with AI SEO tools, schema, meta… by Syed Balkhi 2M+ ★★★★★★★★★★ 4.7 (5.2K) 6 days ago 97
3 AI Agent by SiteGround AI Agent by SiteGround Manage your WordPress site with AI - create content, install plugins, and perform site… by SiteGround 1M+ ★★★★★★★★★★ 1.6 (97) 1 week ago 66
4 Premium Addons for Elementor – AI-Ready Elementor Addons, Widgets & Templates Premium Addons for Elementor 90+ Elementor widgets & addons, 600+ templates, Mega Menu, WooCommerce, Display Conditions… by Leap13 600K+ ★★★★★★★★★★ 4.9 (1.7K) 6 days ago 96
5 Angie – Agentic AI Angie – Agentic AI Build anything your site needs. Manage it through an agentic AI conversation inside… by Elementor 100K+ ★★★★★★★★★★ 3.1 (18) 1 day ago 73
6 AI Engine – The Chatbot, AI Framework & MCP for WordPress AI Engine – The Chatbot, AI Framework & MCP for WordPress AI meets WordPress. Your site can now chat, write poetry, solve problems, and maybe make… by Jordy Meow 90K+ ★★★★★★★★★★ 4.9 (869) 6 days ago 96
7 AI Provider for Anthropic AI Provider for Anthropic Anthropic (Claude) provider for the PHP AI Client SDK. by WordPress.org 60K+ ★★★★★★★★★★ No reviews 6 days ago 63
8 AI AI AI features, experiments and capabilities for WordPress. by WordPress.org 50K+ ★★★★★★★★★★ 4.6 (9) 2 days ago 88
9 AI Provider for OpenAI AI Provider for OpenAI AI Provider for OpenAI for the PHP AI Client SDK. by WordPress.org 50K+ ★★★★★★★★★★ No reviews 2 weeks ago 63
10 AI Provider for Google AI Provider for Google Google AI (Gemini) provider for the PHP AI Client SDK. by WordPress.org 50K+ ★★★★★★★★★★ No reviews 2 weeks ago 78

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
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.