Hugging Face hands language-model routing to OpenRouter: one Hub token now reaches open-weight models, with automatic retry on another provider
Hugging Face has switched routing for language-model requests from its own router to OpenRouter's, so users still call open-weight models served by providers on the Hub with the same Hugging Face token and the same API. OpenRouter picks a provider for each request from live price, speed and reliability, and retries on the next provider inside the same call if the first fails; previously Inference Providers chose one provider and returned its error on failure. Image, video and audio generation still run through Hugging Face's own inference path, not through OpenRouter.