Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Summary

OpenClaw plugin exposing 0 skills.

Install to Claude Code

openclaw plugin add lyfuci/openclaw-hf

Run in Claude Code. Add the marketplace first with /plugin marketplace add lyfuci/openclaw-hf if you haven't already.

README.md

@lyfuci/openclaw-hf

![npm](https://www.npmjs.com/package/@lyfuci/openclaw-hf) ![GitHub](https://github.com/lyfuci/openclaw-hf)

Complete Hugging Face Inference Providers plugin for OpenClaw — covers all HF capability areas under a single HF API token.

| Capability | Provider route | Default model | |---|---|---| | LLM chat | router.huggingface.co/v1 (OpenAI-compat) | any model in your config | | Image generation | hf-inference/models/<id> | black-forest-labs/FLUX.1-schnell | | Memory embeddings | scaleway/v1/embeddings | Qwen/Qwen3-Embedding-8B | | Audio transcription | hf-inference/models/<id> | openai/whisper-large-v3 | | Video generation | replicate/v1/models/<id> | Wan-AI/Wan2.2-T2V-A14B |

HF Pro $2/month free tier covers all routes. No separate accounts needed.

Install

openclaw plugins install @lyfuci/openclaw-hf

Configure

Add an hf provider section to your openclaw.json:

{
  "models": {
    "providers": {
      "hf": {
        "baseUrl": "https://router.huggingface.co/v1",
        "api": "openai-completions",
        "apiKey": { "source": "env", "id": "HUGGINGFACE_HUB_TOKEN" },
        "models": [
          {
            "id": "deepseek-ai/DeepSeek-V3-0324",
            "name": "DeepSeek V3 (HF)",
            "api": "openai-completions",
            "contextWindow": 131072,
            "maxTokens": 8192,
            "compat": { "supportsUsageInStreaming": true }
          },
          {
            "id": "Qwen/Qwen3-235B-A22B",
            "name": "Qwen3 235B (HF)",
            "api": "openai-completions",
            "contextWindow": 131072,
            "maxTokens": 8192,
            "compat": { "supportsUsageInStreaming": true }
          }
        ]
      }
    }
  }
}

> Note: always add "compat": {"supportsUsageInStreaming": true} to each model — without it OpenClaw forces token counts to 0 for non-OpenAI-native endpoints.

Set your token:

export HUGGINGFACE_HUB_TOKEN=hf_...

Or add it via:

openclaw auth login --provider hf --method api-key

Image generation

Switch your image model to use this provider:

{
  "agents": {
    "defaults": {
      "imageModel": { "primary": "hf/black-forest-labs/FLUX.1-schnell" }
    }
  }
}

Memory embeddings

Switch semantic memory search to this provider:

{
  "agents": {
    "defaults": {
      "memorySearch": {
        "provider": "hf",
        "model": "qwen3-embedding-8b"
      }
    }
  }
}

Video generation

Supported Wan models (HF Pro, via replicate): Wan-AI/Wan2.1-T2V-14B, Wan-AI/Wan2.1-T2V-1.3B, Wan-AI/Wan2.2-T2V-A14B, Wan-AI/Wan2.2-TI2V-5B.

Notes

  • fal-ai routes (HunyuanVideo, Mochi, CogVideoX) require separate fal.ai pre-paid credits — not covered by HF Pro
  • STT uses the raw bytes endpoint on hf-inference; not the OpenAI /audio/transcriptions path
  • Embedding dimensions: 4096 (Qwen3-Embedding-8B via Scaleway)

License

MIT

Related plugins

Browse all →