Home
CBU rates27.11.2026
USD12 002.10+14.21EUR13 166.30+51.55RUB146.02+0.61
UZS / 1
Technology

Hugging Face and OpenRouter Partner to Simplify Running Open-Weight Models

The service selects a provider based on price, speed, and reliability, while user code remains unchanged

17 Nov, 17:00Read in Russian
huggingface.co

Now, open-weight models published on Hugging Face Hub and available from providers can be accessed via a unified API using a Hugging Face token. The router supports OpenAI’s Chat Completions and Responses, as well as Anthropic’s Messages API for any chat models.

OpenRouter evaluates provider performance based on current metrics for price, speed, and reliability. If a selected service slows down or stops responding, the request is redirected to another provider, and the failed attempt is retried within the same call. According to OpenRouter’s measurements, the new system reduced errors due to insufficient capacity by 46%, decreased time to first token by 16.9%, and increased throughput by 16.3%.

Users can still set their own routing policies or specify a provider via a suffix in the model identifier. Routing also considers request caching: conversations remain with the provider where their prompt cache is stored. In settings, individual providers can be disabled, preventing requests from being sent to them.

Costs for users remain unchanged: Hugging Face charges the provider’s price without additional markup. Requests to language models are billed to the user’s or organization’s account, so using a provider’s own API key is not allowed for them. For image, video, and audio generation, the previous direct workflow via Inference Providers remains in place.

This is the first phase of the partnership. Going forward, the companies plan to link OpenRouter and Hugging Face accounts and expand OpenRouter’s routing capabilities for more tasks.