Hugging Face moves Inference Providers routing onto OpenRouter
Hugging Face has replaced its own router for language model inference with OpenRouter's, as the first step of a partnership between the two companies. Requests made with a Hugging Face token now go through OpenRouter, which picks among 80+ providers based on live price, speed and reliability and retries a failed call on another provider. A suffix on the model id or account settings can still pin or block providers. The router supports OpenAI's Chat Completions and Responses APIs and Anthropic's Messages API. Pricing is unchanged, with no markup added and $2 monthly credits for PRO users. Custom provider API keys no longer work for these models, a breaking change; image, video and audio generation stay on Hugging Face's own inference.
Sources
- PrimaryHugging Face
Written by AIToolMaps from the source above and checked against it sentence by sentence.