Hugging Face Inference Providers via OpenRouter

One HF token for all open models. The router picks the cheapest or fastest provider for you, and there's a setup guide for Claude Code.

How to try it

  1. Create an access token on huggingface.co (Settings → Access Tokens)
  2. Find a chat model at huggingface.co/models?inference_provider=all&other=conversational and try it in the widget on the model page
  3. Grab the ready-made code from the model page; append :cheapest or :fastest to the model name
  4. For Claude Code, follow the setup guide in the blog post, and for stable caching send an X-HF-Session-Id header per conversation

Price: Provider price with no markup; PRO users get $2 in credits per month

Official link

More new tools