API routers

Hugging Face Inference Providers via OpenRouter: what you now pay

Since 16 November 2026, language-model calls made with a Hugging Face token go through OpenRouter’s router, and you pay the provider’s list price on your Hugging Face bill with 0% markup. That makes the Hugging Face route cheaper than buying OpenRouter credits directly, which carries a 5.5% fee on Standard. PRO accounts get $2 of credits a month and Team or Enterprise organizations $2 per seat. What you lose is your own provider key for language models.

Hugging Face Inference Providers via OpenRouter: what you now pay

What you pay per request through the Hugging Face router

Hugging Face announced the switch on 16 November 2026: Inference Providers dropped its own custom router and now hands every language-model request to OpenRouter’s. Your endpoint (router.huggingface.co/v1) and your token stay the same, and so does your code.

The official post below confirms the two points that matter for an existing integration: same token, same endpoint.

The provider’s list price, with no Hugging Face fee

The announcement is blunt about the money: “Pricing doesn’t change: you pay the provider’s price on your Hugging Face bill, and Hugging Face doesn’t add a markup on top of it.” The Pricing and Billing page says the same thing in its own words, read on 17 November 2026: Hugging Face charges “the same rates as the provider, with no additional fees”.

Through Hugging Face, a language-model call costs the provider's list price per million tokens, with no markup and no fee on the request.

So the real question is no longer what Hugging Face charges. It is which provider OpenRouter picks for each call, because that provider’s price is the one you pay.

Which provider you get decides the bill

The default routing does not look for the lowest price. It sends each call to the provider with the best mix of price, speed and reliability, and retries on the next one if the first fails. That is good for uptime and not always good for the invoice.

The spread on a single model is wide. On OpenRouter’s provider list for DeepSeek V4.1 Flash, read on 17 November 2026, the standard routing pool runs from these list prices:

  • Baidu Qianfan, $0.0507 in and $0.2028 out per million tokens, shown as 83% off;
  • Together, $0.30 in and $1.20 out, the provider with the largest token share that day (24.7%);
  • Fireworks on its faster endpoint, $0.45 in and $1.80 out.

Same model, same token, up to roughly nine times the price depending on where the call lands. The model id suffix is how you take that choice back, as section four shows.

Hugging Face versus buying OpenRouter credits directly

OpenRouter itself does not mark up inference either. Its pricing page takes its cut when you buy credits: 5.5% on Standard and 8% on Business, read on 17 November 2026. Hugging Face lists no such fee, so the same tokens bought through Hugging Face cost less.

The same workload on four routes

Monthly bill for 100 million input and 10 million output tokens on DeepSeek V4.1 Flash served by Together: $44.31 through OpenRouter Standard credits, $45.36 through OpenRouter Business credits, $42.00 through a free Hugging Face account, and $40.00 plus the $9 subscription through Hugging Face PRO, prices read on 17 November 2026
Same $42 of tokens: only the router fee or subscription differs.

Take 100 million input tokens and 10 million output tokens a month on DeepSeek V4.1 Flash, served by Together at $0.30 and $1.20. The tokens cost $42.00 everywhere; only the layer on top changes.

RouteWhat you pay for that month
OpenRouter credits, Standard (5.5% fee)$44.31
OpenRouter credits, Business (8% fee)$45.36
Hugging Face, free account with purchased credits$42.00
Hugging Face PRO, after the $2 monthly credit$40.00, plus the $9 subscription

My verdict: if you only want open-weight language models and already pay for nothing, the free Hugging Face account with purchased credits is the cheapest way into OpenRouter’s routing today. I would not buy PRO for inference alone.

Where PRO and Team credits change the maths

Hugging Face Inference Providers billing table read on 17 November 2026: no monthly credits for free users, $2.00 for PRO users and $2.00 per seat for Team or Enterprise organizations, spendable on all Hugging Face compute services
Hugging Face credits by plan, read 17 November 2026.

The included credits are small. Hugging Face’s billing table, captured in this section, gives $2.00 a month to PRO users and $2.00 per seat to Team or Enterprise organizations, and nothing to free users.

PRO costs $9 a month on the Hugging Face pricing page, so $7 of it is not covered by the credit. Against OpenRouter’s 5.5% Standard fee, PRO only pays for itself on inference above about $127 of monthly spend. Team is $20 per user per month on the enterprise plan page: a five-seat team pays $100 and gets $10 of shared credits back.

Two details catch teams out. The credits are general compute credits, also spent by Spaces hardware, Jobs and Inference Endpoints, so a GPU Space can eat them first. And an organization’s credits only apply when the request names the organization to bill, through the X-HF-Bill-To header or the bill_to parameter.

What the switch took away

The price did not move. The control did, in two places.

No more custom provider keys for language models

Hugging Face lists this as the breaking change: because language-model requests now go through OpenRouter and are billed to your Hugging Face account, you can no longer use your own API key for a provider with these models. You can still pin a provider with a suffix or switch providers off in your settings.

This hurts if you negotiated a rate with a provider. Your discount lived on your own key, and Hugging Face now bills you its list price instead. The alternatives are:

  • call that provider directly with your key and your contract price;
  • use OpenRouter’s own bring-your-own-key option, which includes $25,000 of list-price inference a month with no fee on Standard and Business, then 5%;
  • wait for the account link Hugging Face lists as its next step (“Connect your OpenRouter account to Hugging Face”), which has no date yet.

Image, video and audio stay on the old path

Image, video and audio generation still run directly through Hugging Face Inference Providers, without OpenRouter, and custom keys for image and video providers keep working. If your bill is mostly FLUX renders or speech, nothing changes for you this month.

How to keep the bill down after the switch

The router gives you a few levers, all documented in the announcement and the Inference Providers docs. In the order I would apply them:

  1. Append :cheapest to the model id (for example deepseek-ai/DeepSeek-V4.1-Flash:cheapest) on batch jobs where speed does not matter.
  2. Pin a provider you trust with :provider (for example :novita) when you need a stable price and stable outputs.
  3. Send a stable X-HF-Session-Id per conversation, so the router keeps it on the provider that holds its prompt cache; cache reads cost a fraction of fresh input.
  4. Switch off expensive providers in your settings; organization settings override personal ones on requests billed to the organization.
  5. Check the new usage overview, which splits spend by the provider each request went to.

One thing Hugging Face has not published is whether a failed attempt that gets retried on another provider is billed. On OpenRouter’s own credits, an attempt that errors is not charged. For a cheaper router outside this pair, see my Chutes versus OpenRouter cost comparison and the wider list of routers worth switching to.

Frequently asked questions

Does Hugging Face add a markup to OpenRouter prices?

No. Hugging Face bills the provider’s price with no markup, and it lists no fee on credit purchases. OpenRouter’s own fee applies only when you buy credits on OpenRouter, as explained in my breakdown of OpenRouter’s fees.

Can I still use my own API key with Hugging Face Inference Providers?

Not for language models since 16 November 2026. Custom keys still work for image and video providers.

Is Hugging Face cheaper than OpenRouter for the same model?

For the same provider, yes, by the 5.5% Standard fee (8% on Business) that OpenRouter adds when you buy credits. The provider prices themselves are the same list prices.