All news

Hugging Face moves language model calls to the OpenRouter router

Prepared by Sintelligent with the help of SI. Published in SI: . Updated: .

Developers get automatic switching across 80+ providers without changing code, but their own provider keys no longer work for language models.

Hugging Face has replaced its own Inference Providers router with OpenRouter's system. Requests to language models are now routed among more than 80 providers based on live metrics of price, speed and reliability, and on failure are retried with another provider. Code and the Hugging Face token stay the same; OpenAI Chat Completions/Responses API and Anthropic Messages API are supported, including Claude Code and Codex. Payment for language calls now goes only through the Hugging Face account or organization, and users' own provider keys no longer work for these models. Image, video and audio generation is still handled directly through Inference Providers. According to OpenRouter's measurements, the new routing cut capacity errors by 46%, improved time to first token by 16.9% and increased throughput by 16.3%. The share of open-weight models in tokens on OpenRouter grew from 26.8% in October 2025 to 71.7% by the end of September 2026. The weekly volume of such requests grew more than 60-fold.