Breaking02 / IT
Hugging Face moves language model inference to OpenRouter
Existing code and authentication tokens still work, but custom inference provider API keys are no longer supported.
Hugging Face announced on 17 Nov 2026 that it is routing language model inference requests through OpenRouter, selecting providers based on real-time pricing, speed and reliability. Failed requests are redirected to another provider.
Developers can continue using their existing code and authentication tokens. However, custom API keys for individual inference providers are no longer supported for language models.
Developers can also control provider selection by adding :fastest or :cheapest to the model identifier to prioritise speed or price, respectively. A suffix such as :novita selects a specific provider.
Model pages now feature a Providers tab displaying pricing, speed and uptime for individual providers, while a Metrics tab shows the best available value for each metric. Developers can disable individual providers in their account settings.