cd /news/ai-infrastructure/hugging-face-moves-inference-provide… · home › topics › ai-infrastructure › article
[ARTICLE · art-170981] src=testingcatalog.com ↗ pub= topic=ai-infrastructure verified=true sentiment=↑ positive

Hugging Face moves Inference Providers routing to OpenRouter

Hugging Face has moved its Inference Providers routing for language models to OpenRouter, sending every chat-model request through OpenRouter's router while keeping the existing Hugging Face token and API unchanged. OpenRouter, which serves more than 800 trillion tokens a month to over 10 million users across 600+ models from 80+ providers, says its rebuilt routing cut capacity errors by 46% while improving time to first token by 16.9% and throughput by 16.3%. Pricing is unchanged with no markup, PRO users get $2 in monthly credits and Team and Enterprise organizations get $2 per seat, but custom provider API keys no longer work for language models, though they still work for image and video providers.

by read3 min views3 publishedNov 17, 2026
Hugging Face moves Inference Providers routing to OpenRouter
Image: Testingcatalog (auto-discovered)

Hugging Face has switched its Inference Providers service from its custom router to OpenRouter, sending every language model request through OpenRouter in a new partnership designed to make open-weight models easy to run. Developers can now call any open-weight model on the Hugging Face Hub that a provider serves with their existing Hugging Face token and the same API, while OpenRouter picks the best provider for each request based on live price, speed, and reliability. Existing code stays the same.

The router supports OpenAI's Chat Completions and Responses APIs, as well as Anthropic's Messages API, for every chat model, regardless of the provider behind it, and Hugging Face offers setup guides for Claude Code, Codex, OpenCode, Pi, and Hermes Agent. When a provider slows down or fails, traffic moves away from it until it recovers, and a failed attempt is retried on the next best provider inside the same call. Previously, Inference Providers picked a single provider and returned its error.

Users can still pick a routing policy or a specific provider by adding a suffix such as :fastest, :cheapest or a provider name to the model id. Routing is also cache-aware, keeping a conversation on the provider that holds its prompt cache, with an optional X-HF-Session-Id header to make that explicit.

Pricing does not change. Users pay the provider's price on their Hugging Face bill with no markup; PRO users get $2 in monthly credits, and Team and Enterprise organizations get $2 per seat. Model pages gain new Providers and Metrics tabs covering price, speed, uptime, throughput, time to first token and context length, usage overviews, and a breakdown of spend by provider, and both users and organizations can turn off providers they do not want. One breaking change: custom provider API keys no longer work for language models, though they still work for image and video providers. Image, video, and audio generation continue to run directly through Hugging Face Inference Providers without OpenRouter.

OpenRouter serves more than 800 trillion tokens a month to over 10 million users across 600+ models from 80+ providers, and says its rebuilt routing cut capacity errors by 46% while improving time to first token by 16.9% and throughput by 16.3%. Demand is shifting toward these models, as open-weight models rose from 26.8% of tokens served on OpenRouter in October 2025 to 71.7% at the end of September 2026, and cost about four times less on average than closed models. Hugging Face calls this the first step of the partnership, with OpenRouter account linking and more tasks routed through OpenRouter coming next.

── more in #ai-infrastructure 4 stories · sorted by recency
── more on @hugging face 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/hugging-face-moves-i…] indexed:0 read:3min 2026-11-17 · —