Hugging Face and OpenRouter: requests for open-weight models now route through OpenRouter
From Hugging Face blog: Hugging Face and OpenRouter join forces to make open-weight models easy to run · Open at Hugging Face blog: Hugging Face and OpenRouter join forces to make open-weight models easy to run
Hugging Face is moving language model requests in its Inference Providers service from its own router to OpenRouter, according to its blog post about the OpenRouter partnership of 16 November 2026. Users keep the same code and the same Hugging Face token, the post says.
Starfield take
If you bring your own provider API key for language models, plan for billing to move to your Hugging Face account or organisation. If you need to keep requests away from a provider, turn it off in your settings.
What changes
Open-weight models on the Hub that a provider serves can be called with one API and a Hugging Face token. OpenRouter picks a provider for each call based on live price, speed and reliability. If a provider fails, the request is retried on another provider. Before, the error was returned.
The OpenAI Chat Completions and Responses APIs and the Anthropic Messages API work for every chat model, Hugging Face says. Image, video and audio requests still run directly through Inference Providers, not through OpenRouter.
Pricing and credits
Provider prices pass through unchanged on the Hugging Face bill, with no Hugging Face markup. PRO users get $2 of credits a month. Team and Enterprise organisations get $2 per seat.
Choosing a provider
A model name alone uses a default balance. The suffixes :fastest and :cheapest change the goal, and a provider name such as :novita limits the call to that provider. A conversation stays on the provider that holds its prompt cache, and users can send a stable ID per conversation in the X-HF-Session-Id header.
Own keys and controls
For language models, users can no longer use their own provider API key. Billing goes through the Hugging Face account or organisation. Own keys still work for image and video providers.
Users can turn off any provider in settings, and the router will not send requests there. Organisation settings apply to all requests billed to the organisation. The post does not mention any change to data handling or privacy terms.
What users will see
Model pages show a chat widget, a Providers tab with price, speed and 24-hour uptime, and a Metrics tab. The post lists setup guides for Claude Code, Codex, OpenCode, Pi and Hermes Agent.
OpenRouter's figures
OpenRouter says its rebuilt routing cut capacity errors by 46% and improved time to first token by 16.9%, by its own measurements. It also says it handles more than 800 trillion tokens a month. The post names a link between OpenRouter accounts and Hugging Face as a next step, without a date.
Based on Hugging Face's blog post, as read on 2026-11-16.
Related: Inference provider comparison: a four-step checklist
Command is a gateway to open models, priced per token. Get Command early access