Ranked #14 of 30 on Tuesday, November 17
Hugging Face moves Inference Providers routing to OpenRouter; custom provider keys stop working
Hugging Face and OpenRouter have partnered, and from today language-model requests through HF Inference Providers go through OpenRouter's router, which picks a provider by live price, speed and reliability and retries elsewhere on failure. It supports…
Ranked #14 of 30 on Tuesday, November 17
Why it matters
Anyone using HF Inference Providers with their own provider keys needs to check their setup now; everyone else gets simpler access to open-weight models from tools like Claude Code and Codex.
What happened
1 min readHugging Face and OpenRouter have partnered, and from today language-model requests through HF Inference Providers go through OpenRouter's router, which picks a provider by live price, speed and reliability and retries elsewhere on failure. It supports OpenAI's Chat Completions and Responses APIs and Anthropic's Messages API, with provider pricing and no HF markup, and suffixes like :fastest, :cheapest or :provider to steer routing. Breaking change: custom provider API keys no longer work for language models; image, video and audio generation are unchanged.
Our analysis
This effectively makes Hugging Face a front door to OpenRouter for open-weight models, competing with Together and Fireworks as a single gateway. The improvement figures (46% fewer capacity errors) are OpenRouter's own measurements. Dropping custom keys hurts organizations with direct provider contracts until the promised OpenRouter account linking arrives. Cache-aware routing via the X-HF-Session-Id header is a practical cost lever worth setting.