OpenRouter Takes Over Routing for Hugging Face Inference Providers: 160 Models, 38 Labs, Traces Back to the Hub
OpenRouter now handles provider routing for chat models on Hugging Face Inference Providers, the company said in a November 16 announcement. The integration covers 160 models from 38 labs, which OpenRouter describes as every model it serves that has a page on the Hub.
OpenRouter rebuilt its routing algorithm in October, and Hugging Face users now get the same routing.
What changes for Hugging Face users
Requests are sent to a provider chosen on live price, speed and reliability. Nothing needs configuring and existing Hugging Face tokens and code keep working. If a provider errors, the request is retried on the next one within the same call, and a conversation stays pinned to whichever provider holds its prompt cache.
OpenRouter cites its own October experiment as the evidence: 46% fewer requests hitting a capacity error, 16.9% faster time to first token and 16.3% higher throughput, at 6.0% higher cost per request. The cost increase is worth noting. The router is not optimising for the cheapest endpoint, and users who want that can append :cheapest to the model ID. :fastest or a named provider also work.
The endpoint speaks OpenAI Chat Completions and Responses, and Anthropic Messages. Each model page gets a Providers tab with live price, speed and uptime, plus per-provider spend and the ability to switch providers off.
Named models include DeepSeek V4.1 Flash, Kimi K3.1 Pro and Kimi K3, GLM 5.3 and GLM 5.3 Flash, Qwen3.8 27B, MiniMax M3.1 Flash, Xiaomi MiMo-V2.6-Flash, NVIDIA Nemotron 3 Ultra and gpt-oss-120b. OpenRouter says open-weight models carried about 70% of its paid tokens in October, so the catalogue lines up with where its traffic already is.
The reverse flow: traces into the Hub
The less obvious half is a new Broadcast destination, in beta. OpenRouter can write each request as a JSON file to a Hugging Face Storage Bucket the customer owns. Each file holds the input messages, the output, token counts and cost. Images and other media are left out. Files can be organised by date or by API key.
OpenRouter’s stated purpose is to put real traffic “next to the models and datasets” a team would use to evaluate or fine-tune on it. In practice that is a low-effort path from a production log to an eval set or a fine-tuning run on an open-weight model, with no export job in between. Teams will need to decide for themselves whether prompts containing user data belong in a bucket, and the setup requires a write-scoped access token and S3 credentials.
Why it matters
Hugging Face Inference Providers already spreads models across multiple serving companies. Handing routing to a single layer concentrates a lot of failover and pricing logic with OpenRouter, which now handles routing for both its own marketplace and Hugging Face’s chat models. For developers, the practical effect is that the same model on Hugging Face and on OpenRouter should behave alike. For providers, ranking now depends on measured latency and error rates, and the Hub’s provider settings give users a way to exclude any of them.