Hugging Face tokens now run open-weight models via OpenRouter, no markup
Hugging Face users can now call open-weight models with their Hugging Face token through the same API, and the best provider is picked for each request. Partner OpenRouter says it serves more than 800 trillion tokens a month to over 10 million users, across 600+ models from 80+ providers. Hugging Face adds no markup on provider pricing, and PRO users get $2 of credits a month. The partners say open-weight models average $0.28 per million input tokens and $1.62 per million output, against $1.27 and $6.36 for closed models. That makes them about four times cheaper, though the figure compares averages, not equivalent models.
If you pass your own provider API key for these language models, that no longer works. Usage is now billed to your Hugging Face account or organization, so audit any code that sends provider keys. You do get routing control in exchange. Add a suffix to the model id, like zai-org/GLM-5.3:fastest or zai-org/GLM-5.3:cheapest, to choose speed or cost per call.