Hugging Face moves its Inference Providers routing to OpenRouter: what changes for developers
Hugging Face says language-model requests made with an HF token now go through OpenRouter's router, with retries on another provider; image, video and audio generation are unchanged, and own provider keys no longer work for language models.

Hugging Face said in a blog post dated 16 November 2026 that it is "switching Inference Providers from our own custom router to OpenRouter's". OpenRouter published its own announcement the same day, saying chat models on Hugging Face Inference Providers "now run through OpenRouter".
What goes through OpenRouter, and what does not
- Language models. Hugging Face says: "Requests made to language models now go through OpenRouter, which picks the best provider for each call based on live price, speed and reliability, and retries on another provider if the first one fails." It adds: "Your code stays the same." Code examples in Hugging Face's Inference Providers docs still call Hugging Face's own endpoint, router.huggingface.co, with a Hugging Face token.
- Which models. OpenRouter says "160 models from 38 labs are available this way today, which is every model OpenRouter serves that has a page on the Hub."
- Not image, video or audio. "Image, video, and audio generation continue to work exactly as before, directly through Hugging Face Inference Providers without going through OpenRouter," the post says.
Retries
Hugging Face describes the change in behaviour directly: "Before, Inference Providers picked one provider for your request and returned its error if it failed. Now, the request is retried on another provider." It says routing is also "cache-aware", keeping a conversation on the provider that holds its prompt cache, and that developers can make this explicit by sending a stable UUID per conversation in the X-HF-Session-Id header.
Pinning or excluding providers
According to Hugging Face's post and docs:
- A suffix on the model id changes the policy:
:fastestfor the highest throughput,:cheapestfor the lowest price, or a provider name; the post's examplezai-org/GLM-5.3:novitais labelled "only Novita". With no suffix, the default is the "best mix of price, speed and reliability". - In account settings, "you can turn off any provider you don't want: the router never sends your requests there." Organisations have the same settings.
- Hugging Face's billing docs say that when a request is billed to an organisation, the organisation's provider settings apply instead of the user's, and "Explicitly requesting a provider that is disabled by the organization returns an error."
Breaking change: your own provider keys
Hugging Face flags one breaking change. Because language-model requests are now billed to a Hugging Face account or organisation, "you can no longer use your own API key for a provider with these models." It says "Custom keys for image and video providers keep working." The post does not say anything about custom keys for audio providers.
Pricing
Hugging Face says: "Pricing doesn't change: you pay the provider's price on your Hugging Face bill, and Hugging Face doesn't add a markup on top of it." It says PRO users get $2 of credits a month, and Team and Enterprise organisations get $2 per seat.
On our reading, "no markup" is not the same as "lowest price": the default policy weighs speed and reliability alongside price, and OpenRouter's own announcement says that, in its experiment against its previous router, the rebuilt routing came "for 6.0% higher cost per request". The :cheapest suffix is the documented way to ask for the lowest price.
The figures, and whose they are
The routing and open-weight usage figures Hugging Face cites come from OpenRouter's measurements of OpenRouter's own traffic.
- Routing. Hugging Face writes: "In OpenRouter's measurements, the new routing cut capacity errors by 46% and improved time to first token by 16.9% and throughput by 16.3%." OpenRouter's 28 October post on the rebuild says these come from a one-week "switchback experiment" across "a representative sample of open source models", splitting "over 24 million requests" between the old and new routers. In its results table the 46% is the relative fall in the share of requests that "Hit at least one 429" (a rate-limit error), which fell from 7.1% to 3.8%; the time-to-first-token and throughput figures are medians (p50). The same table shows cost per thousand requests 6.0% higher and cost per million tokens 7.3% higher.
- Open-weight usage. Hugging Face, citing OpenRouter, says that "On OpenRouter, open-weight models went from 26.8% of the tokens served in October 2025 to 71.7% at the end of September 2026, after peaking at 77.5% in July". OpenRouter's own announcement uses a different measure: open-weight models "carried about 70% of paid tokens in October".
What's next, and the Nvidia context
Hugging Face calls this "the first step of our partnership with OpenRouter" and lists two next steps without dates: "Connect your OpenRouter account to Hugging Face" and "More tasks routed through OpenRouter."
Separately, Nvidia said in an 8-K filing that on 2 September 2026 it entered into a definitive agreement to acquire Hugging Face; the filing says the deal is expected to close in the first half of 2027, subject to customary closing conditions including required regulatory approvals. Hugging Face's post does not mention Nvidia.
Why it matters
On our reading, for a developer already calling language models with a Hugging Face token, the practical changes are automatic retries on another provider, a default that weighs speed and reliability alongside price, and the end of bring-your-own provider keys for those models.
- Hugging Face: Hugging Face and OpenRouter join forces to make open-weight models easy to run (16 Nov 2026)
- OpenRouter: OpenRouter Now Powers Inference on Hugging Face (16 Nov 2026)
- OpenRouter: How we rebuilt provider routing for better, faster inference (28 Oct 2026)
- Hugging Face Inference Providers docs
- Hugging Face Inference Providers: Pricing and Billing
- Nvidia Form 8-K, 3 Sep 2026 (agreement to acquire Hugging Face)
Ask Relay — he reads every question himself and replies personally by email.
