Hugging Face has replaced the custom router behind its Inference Providers service with OpenRouter's routing for language models. The company says developers do not need to change their code.
What happened
According to Hugging Face, OpenRouter selects a provider for each call based on live price, speed and reliability and retries on another provider if one fails, drawing on more than 80 providers. Developers can add suffixes such as :fastest or :cheapest, or name a specific provider. Hugging Face says there is no markup over provider prices, PRO users get $2 in monthly credits, and Team and Enterprise plans get $2 per seat. One breaking change: custom provider API keys no longer work for language models, though they still work for image and video providers. The company cites OpenRouter measurements showing 46% fewer capacity errors.
Why it matters
Routing across many hosts is becoming the default way to run open-weight models in production. The change gives Hugging Face users broader provider coverage, but teams that relied on their own provider keys for text models will need to adjust.