Hugging Face routes language-model Inference Providers through OpenRouter, with no markup and no custom provider keys

Hugging Face says open-weight models on the Hub that a provider serves can now be called with a Hugging Face token through one API, with OpenRouter choosing the provider. Pricing is the provider's pri

November 15, 2026

Hugging Face announced on November 16, 2026 that its Inference Providers has switched, for language models, from its own router to OpenRouter’s. Any open-weight model on the Hub that a provider serves can be called with a Hugging Face token through one API, and OpenRouter picks the provider per request by live price, speed and reliability, retrying on another provider if one fails. The router supports OpenAI’s Chat Completions and Responses APIs and Anthropic’s Messages API for chat models, and the post lists setup guides for Claude Code, Codex, OpenCode, Pi and Hermes Agent. Model-name suffixes such as :fastest, :cheapest or :<provider> pick a routing policy.

Pricing does not change: you pay the provider’s price on your Hugging Face bill with no Hugging Face markup, and PRO users get $2 of credits a month, Team and Enterprise organizations $2 per seat. Two changes to note: you can no longer use your own provider API key for language models (custom keys still work for image and video providers), and image, video and audio generation still run directly through Hugging Face.

The post also cites OpenRouter’s own data: open-weight models grew from 26.8% of tokens in October 2025 to 71.7% in September 2026, and open-weight models average $0.28 per million input tokens against $1.27 for closed models. These figures are the post’s, and it notes inconsistent date references in its own text.

Source: Hugging Face.