From the source
Hugging Face has moved its Inference Providers routing to OpenRouter, so every open-weight model on the Hub that a provider serves can be called with a Hugging Face token through one API.
- Requests to language models now go through OpenRouter, which picks a provider for each call based on live price, speed and reliability, and retries on another provider if the first one fails.
- The router supports
OpenAI's Chat Completions and Responses APIs and
Anthropic's Messages API for every chat model, whatever the provider behind it, and the company says your code stays the same.
- Users can still choose a policy or a provider with a suffix on the model id, such as fastest, cheapest or a named provider, and routing is cache-aware so a conversation stays on the provider holding its prompt cache.
- Hugging Face says pricing doesn't change: you pay the provider's price on your Hugging Face bill, with no markup added, and PRO users get $2 of credits every month while Team and Enterprise organizations get $2 per seat.
- As a breaking change, requests to language models are billed to your Hugging Face account or organization, so you can no longer use your own API key for a provider with these models, though custom keys for image and video providers keep working.
- Image, video and audio generation continue to work as before, directly through Hugging Face Inference Providers without going through OpenRouter.





