Hugging Face routes language model calls through OpenRouter
Hugging Face has switched its inference provider to OpenRouter, enabling dynamic routing of open‑weight models across 80+ providers while keeping existing code and pricing unchanged.
Original source published: November 16, 2026
Hugging Face announced that its language‑model inference now runs through OpenRouter. The new routing layer selects the provider with the best live mix of price, speed and reliability, and automatically retries on another provider if the first fails, so developers can keep the same API calls and token. OpenRouter supports OpenAI Chat Completions and Anthropic Messages APIs for every chat model, and routing decisions can be refined with suffixes such as :fastest or :cheapest.
Open‑weight models dominate OpenRouter traffic, accounting for 71.7% of tokens by September 2026 and growing over 60‑fold in weekly volume. They cost roughly four times less per token than closed models, and the updated routing reduced capacity errors by 46% while improving latency and throughput. Pricing on Hugging Face remains unchanged, with monthly credits for PRO, Team and Enterprise plans.