OpenRouter now powers chat model inference on Hugging Face. It routes each request across providers based on live price, speed, and reliability. Automatic failover retries requests on other providers if one fails. Users can prioritize fastest, cheapest, or a specific provider via model ID suffixes. A new Providers tab shows live price, speed, and uptime for each provider. 160 models from 38 labs are available this way. OpenRouter can also send request traces to Hugging Face Storage Buckets for evaluation or fine-tuning. The integration works with existing Hugging Face tokens and code. Users can disable unwanted providers in their settings.
What changed
Hugging Face Inference Providers routed requests without OpenRouter’s provider selection and failover.
What it unlocks
Automatic provider routing, failover, and trace storage for Hugging Face Inference Providers.
- 160 models from 38 labs
- 46% fewer capacity errors
- 16.9% faster time to first token
- 16.3% higher throughput
What you need to act on it
- a Hugging Face token with Inference Providers permission
- a Hugging Face Storage Bucket for trace storage
Sources