Hugging Face shifts language-model routing to OpenRouter
Hugging Face and OpenRouter are partnering to simplify access to open-weight models. Models published on the Hugging Face Hub can be called through the same API with a Hugging Face token when they are available from an eligible provider. Requests to language models will now pass through OpenRouter, which selects a provider using live measurements of price, speed and reliability, and can retry the request elsewhere if a provider fails.