Hugging Face Moves Inference Providers Routing to OpenRouter

Hugging Face says language-model calls now pick a provider by live price, speed and reliability, with no markup but a breaking change for custom keys.

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.

TRANSPARENCY

Sources & further reading

Claims in this report are based on the material below. Company statements are attributed to the company.

  1. Hugging Face and OpenRouter join forces to make open-weight models easy to runHugging Face · 2026-11-16