import{s as ge,o as Te,n as rt}from"../chunks/scheduler.ddeee2a5.js";import{S as fe,i as Je,e as y,s as c,c as T,h as me,a as h,d as n,b as u,f as he,g as f,j as g,k as it,l as je,m as a,n as J,t as m,o as j,p as U}from"../chunks/index.10b70568.js";import{C as Ue}from"../chunks/CopyLLMTxtMenu.48a5d8e9.js";import{C as pt}from"../chunks/CodeBlock.7ca4c11d.js";import{H as E,E as we}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.c3713d0b.js";import{H as de,a as ot}from"../chunks/HfOption.1e773499.js";function Ce(w){let i,M="To bill your organization, use the <code>bill_to</code> parameter when initializing the client.",p,o,r;return o=new pt({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMEluZmVyZW5jZUNsaWVudCUwQSUwQWNsaWVudCUyMCUzRCUyMEluZmVyZW5jZUNsaWVudChiaWxsX3RvJTNEJTIybXktb3JnLW5hbWUlMjIpJTBBJTBBY29tcGxldGlvbiUyMCUzRCUyMGNsaWVudC5jaGF0LmNvbXBsZXRpb25zLmNyZWF0ZSglMEElMjAlMjAlMjAlMjBtb2RlbCUzRCUyMmRlZXBzZWVrLWFpJTJGRGVlcFNlZWstVjMtMDMyNCUyMiUyQyUwQSUyMCUyMCUyMCUyMG1lc3NhZ2VzJTNEJTVCJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTdCJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIycm9sZSUyMiUzQSUyMCUyMnVzZXIlMjIlMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjJjb250ZW50JTIyJTNBJTIwJTIySG93JTIwbWFueSUyMCdHJ3MlMjBpbiUyMCdodWdnaW5nZmFjZSclM0YlMjIlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlN0QlMEElMjAlMjAlMjAlMjAlNUQlMkMlMEEpJTBBJTBBcHJpbnQoY29tcGxldGlvbi5jaG9pY2VzJTVCMCU1RC5tZXNzYWdlKQ==",highlighted:`<span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> InferenceClient

client = InferenceClient(bill_to=<span class="hljs-string">&quot;my-org-name&quot;</span>)

completion = client.chat.completions.create(
    model=<span class="hljs-string">&quot;deepseek-ai/DeepSeek-V3-0324&quot;</span>,
    messages=[
        {
            <span class="hljs-string">&quot;role&quot;</span>: <span class="hljs-string">&quot;user&quot;</span>,
            <span class="hljs-string">&quot;content&quot;</span>: <span class="hljs-string">&quot;How many &#x27;G&#x27;s in &#x27;huggingface&#x27;?&quot;</span>
        }
    ],
)

<span class="hljs-built_in">print</span>(completion.choices[<span class="hljs-number">0</span>].message)`,wrap:!1}}),{c(){i=y("p"),i.innerHTML=M,p=c(),T(o.$$.fragment)},l(e){i=h(e,"P",{"data-svelte-h":!0}),g(i)!=="svelte-17awpj8"&&(i.innerHTML=M),p=u(e),f(o.$$.fragment,e)},m(e,s){a(e,i,s),a(e,p,s),J(o,e,s),r=!0},p:rt,i(e){r||(m(o.$$.fragment,e),r=!0)},o(e){j(o.$$.fragment,e),r=!1},d(e){e&&(n(i),n(p)),U(o,e)}}}function be(w){let i,M="To bill your organization when using OpenAI’s Python client, set the <code>X-HF-Bill-To</code> header using <code>extra_headers</code> on the <code>completions.create</code> method call.",p,o,r;return o=new pt({props:{code:"aW1wb3J0JTIwb3MlMEFmcm9tJTIwb3BlbmFpJTIwaW1wb3J0JTIwT3BlbkFJJTBBJTBBY2xpZW50JTIwJTNEJTIwT3BlbkFJKCUwQSUyMCUyMCUyMCUyMGJhc2VfdXJsJTNEJTIyaHR0cHMlM0ElMkYlMkZyb3V0ZXIuaHVnZ2luZ2ZhY2UuY28lMkZ2MSUyMiUyQyUwQSUyMCUyMCUyMCUyMGFwaV9rZXklM0Rvcy5lbnZpcm9uJTVCJTIySEZfVE9LRU4lMjIlNUQlMkMlMEEpJTBBJTBBY29tcGxldGlvbiUyMCUzRCUyMGNsaWVudC5jaGF0LmNvbXBsZXRpb25zLmNyZWF0ZSglMEElMjAlMjAlMjAlMjBtb2RlbCUzRCUyMmRlZXBzZWVrLWFpJTJGRGVlcFNlZWstVjMtMDMyNCUyMiUyQyUwQSUyMCUyMCUyMCUyMG1lc3NhZ2VzJTNEJTVCJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTdCJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIycm9sZSUyMiUzQSUyMCUyMnVzZXIlMjIlMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjJjb250ZW50JTIyJTNBJTIwJTIySG93JTIwbWFueSUyMCdHJ3MlMjBpbiUyMCdodWdnaW5nZmFjZSclM0YlMjIlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlN0QlMEElMjAlMjAlMjAlMjAlNUQlMkMlMEElMjAlMjAlMjAlMjBleHRyYV9oZWFkZXJzJTNEJTdCJTIyWC1IRi1CaWxsLVRvJTIyJTNBJTIwJTIybXktb3JnLW5hbWUlMjIlN0QlMkMlMEEpJTBBJTBBcHJpbnQoY29tcGxldGlvbi5jaG9pY2VzJTVCMCU1RC5tZXNzYWdlKQ==",highlighted:`<span class="hljs-keyword">import</span> os
<span class="hljs-keyword">from</span> openai <span class="hljs-keyword">import</span> OpenAI

client = OpenAI(
    base_url=<span class="hljs-string">&quot;https://router.huggingface.co/v1&quot;</span>,
    api_key=os.environ[<span class="hljs-string">&quot;HF_TOKEN&quot;</span>],
)

completion = client.chat.completions.create(
    model=<span class="hljs-string">&quot;deepseek-ai/DeepSeek-V3-0324&quot;</span>,
    messages=[
        {
            <span class="hljs-string">&quot;role&quot;</span>: <span class="hljs-string">&quot;user&quot;</span>,
            <span class="hljs-string">&quot;content&quot;</span>: <span class="hljs-string">&quot;How many &#x27;G&#x27;s in &#x27;huggingface&#x27;?&quot;</span>
        }
    ],
    extra_headers={<span class="hljs-string">&quot;X-HF-Bill-To&quot;</span>: <span class="hljs-string">&quot;my-org-name&quot;</span>},
)

<span class="hljs-built_in">print</span>(completion.choices[<span class="hljs-number">0</span>].message)`,wrap:!1}}),{c(){i=y("p"),i.innerHTML=M,p=c(),T(o.$$.fragment)},l(e){i=h(e,"P",{"data-svelte-h":!0}),g(i)!=="svelte-1a5wxdk"&&(i.innerHTML=M),p=u(e),f(o.$$.fragment,e)},m(e,s){a(e,i,s),a(e,p,s),J(o,e,s),r=!0},p:rt,i(e){r||(m(o.$$.fragment,e),r=!0)},o(e){j(o.$$.fragment,e),r=!1},d(e){e&&(n(i),n(p)),U(o,e)}}}function $e(w){let i,M="To bill your organization when making direct HTTP requests, include the <code>X-HF-Bill-To</code> header.",p,o,r;return o=new pt({props:{code:"aW1wb3J0JTIwb3MlMEFpbXBvcnQlMjByZXF1ZXN0cyUwQSUwQUFQSV9VUkwlMjAlM0QlMjAlMjJodHRwcyUzQSUyRiUyRnJvdXRlci5odWdnaW5nZmFjZS5jbyUyRnYxJTJGY2hhdCUyRmNvbXBsZXRpb25zJTIyJTBBaGVhZGVycyUyMCUzRCUyMCU3QiUyMkF1dGhvcml6YXRpb24lMjIlM0ElMjBmJTIyQmVhcmVyJTIwJTdCb3MuZW52aXJvbiU1QidIRl9UT0tFTiclNUQlN0QlMjIlMkMlMjAlMjJYLUhGLUJpbGwtVG8lMjIlM0ElMjAlMjJteS1vcmctbmFtZSUyMiU3RCUwQXBheWxvYWQlMjAlM0QlMjAlN0IlMEElMjAlMjAlMjAlMjAlMjJtZXNzYWdlcyUyMiUzQSUyMCU1QiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCU3QiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMnJvbGUlMjIlM0ElMjAlMjJ1c2VyJTIyJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIyY29udGVudCUyMiUzQSUyMCUyMkhvdyUyMG1hbnklMjAnRydzJTIwaW4lMjAnaHVnZ2luZ2ZhY2UnJTNGJTIyJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTdEJTBBJTIwJTIwJTIwJTIwJTVEJTJDJTBBJTIwJTIwJTIwJTIwJTIybW9kZWwlMjIlM0ElMjAlMjJkZWVwc2Vlay1haSUyRkRlZXBTZWVrLVYzLTAzMjQlMjIlMkMlMEElN0QlMEElMEFyZXNwb25zZSUyMCUzRCUyMHJlcXVlc3RzLnBvc3QoQVBJX1VSTCUyQyUyMGhlYWRlcnMlM0RoZWFkZXJzJTJDJTIwanNvbiUzRHBheWxvYWQpJTBBcHJpbnQocmVzcG9uc2UuanNvbigpJTVCJTIyY2hvaWNlcyUyMiU1RCU1QjAlNUQlNUIlMjJtZXNzYWdlJTIyJTVEKQ==",highlighted:`<span class="hljs-keyword">import</span> os
<span class="hljs-keyword">import</span> requests

API_URL = <span class="hljs-string">&quot;https://router.huggingface.co/v1/chat/completions&quot;</span>
headers = {<span class="hljs-string">&quot;Authorization&quot;</span>: <span class="hljs-string">f&quot;Bearer <span class="hljs-subst">{os.environ[<span class="hljs-string">&#x27;HF_TOKEN&#x27;</span>]}</span>&quot;</span>, <span class="hljs-string">&quot;X-HF-Bill-To&quot;</span>: <span class="hljs-string">&quot;my-org-name&quot;</span>}
payload = {
    <span class="hljs-string">&quot;messages&quot;</span>: [
        {
            <span class="hljs-string">&quot;role&quot;</span>: <span class="hljs-string">&quot;user&quot;</span>,
            <span class="hljs-string">&quot;content&quot;</span>: <span class="hljs-string">&quot;How many &#x27;G&#x27;s in &#x27;huggingface&#x27;?&quot;</span>
        }
    ],
    <span class="hljs-string">&quot;model&quot;</span>: <span class="hljs-string">&quot;deepseek-ai/DeepSeek-V3-0324&quot;</span>,
}

response = requests.post(API_URL, headers=headers, json=payload)
<span class="hljs-built_in">print</span>(response.json()[<span class="hljs-string">&quot;choices&quot;</span>][<span class="hljs-number">0</span>][<span class="hljs-string">&quot;message&quot;</span>])`,wrap:!1}}),{c(){i=y("p"),i.innerHTML=M,p=c(),T(o.$$.fragment)},l(e){i=h(e,"P",{"data-svelte-h":!0}),g(i)!=="svelte-sbz2a0"&&(i.innerHTML=M),p=u(e),f(o.$$.fragment,e)},m(e,s){a(e,i,s),a(e,p,s),J(o,e,s),r=!0},p:rt,i(e){r||(m(o.$$.fragment,e),r=!0)},o(e){j(o.$$.fragment,e),r=!1},d(e){e&&(n(i),n(p)),U(o,e)}}}function Ie(w){let i,M,p,o,r,e;return i=new ot({props:{id:"python-clients",option:"huggingface_hub",$$slots:{default:[Ce]},$$scope:{ctx:w}}}),p=new ot({props:{id:"python-clients",option:"openai",$$slots:{default:[be]},$$scope:{ctx:w}}}),r=new ot({props:{id:"python-clients",option:"requests",$$slots:{default:[$e]},$$scope:{ctx:w}}}),{c(){T(i.$$.fragment),M=c(),T(p.$$.fragment),o=c(),T(r.$$.fragment)},l(s){f(i.$$.fragment,s),M=u(s),f(p.$$.fragment,s),o=u(s),f(r.$$.fragment,s)},m(s,d){J(i,s,d),a(s,M,d),J(p,s,d),a(s,o,d),J(r,s,d),e=!0},p(s,d){const C={};d&2&&(C.$$scope={dirty:d,ctx:s}),i.$set(C);const $={};d&2&&($.$$scope={dirty:d,ctx:s}),p.$set($);const b={};d&2&&(b.$$scope={dirty:d,ctx:s}),r.$set(b)},i(s){e||(m(i.$$.fragment,s),m(p.$$.fragment,s),m(r.$$.fragment,s),e=!0)},o(s){j(i.$$.fragment,s),j(p.$$.fragment,s),j(r.$$.fragment,s),e=!1},d(s){s&&(n(M),n(o)),U(i,s),U(p,s),U(r,s)}}}function ve(w){let i,M="If you are using the JavaScript <code>InferenceClient</code>, you can set the <code>billTo</code> attribute at a client level to bill your organization.",p,o,r;return o=new pt({props:{code:"aW1wb3J0JTIwJTdCJTIwSW5mZXJlbmNlQ2xpZW50JTIwJTdEJTIwZnJvbSUyMCUyMiU0MGh1Z2dpbmdmYWNlJTJGaW5mZXJlbmNlJTIyJTNCJTBBJTBBY29uc3QlMjBjbGllbnQlMjAlM0QlMjBuZXclMjBJbmZlcmVuY2VDbGllbnQocHJvY2Vzcy5lbnYuSEZfVE9LRU4lMkMlMjAlN0IlMjBiaWxsVG8lM0ElMjAlMjJteS1vcmctbmFtZSUyMiUyMCU3RCklM0IlMEElMEFjb25zdCUyMGNvbXBsZXRpb24lMjAlM0QlMjBhd2FpdCUyMGNsaWVudC5jaGF0LmNvbXBsZXRpb25zLmNyZWF0ZSglN0IlMEElMjAlMjBtb2RlbCUzQSUyMCUyMmRlZXBzZWVrLWFpJTJGRGVlcFNlZWstVjMtMDMyNCUyMiUyQyUwQSUyMCUyMG1lc3NhZ2VzJTNBJTIwJTVCJTBBJTIwJTIwJTIwJTIwJTdCJTBBJTIwJTIwJTIwJTIwJTIwJTIwcm9sZSUzQSUyMCUyMnVzZXIlMjIlMkMlMEElMjAlMjAlMjAlMjAlMjAlMjBjb250ZW50JTNBJTIwJTIySG93JTIwbWFueSUyMCdHJ3MlMjBpbiUyMCdodWdnaW5nZmFjZSclM0YlMjIlMkMlMEElMjAlMjAlMjAlMjAlN0QlMkMlMEElMjAlMjAlNUQlMkMlMEElN0QpJTNCJTBBJTBBY29uc29sZS5sb2coY29tcGxldGlvbi5jaG9pY2VzJTVCMCU1RC5tZXNzYWdlLmNvbnRlbnQpJTNC",highlighted:`<span class="hljs-keyword">import</span> { <span class="hljs-title class_">InferenceClient</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;@huggingface/inference&quot;</span>;

<span class="hljs-keyword">const</span> client = <span class="hljs-keyword">new</span> <span class="hljs-title class_">InferenceClient</span>(process.<span class="hljs-property">env</span>.<span class="hljs-property">HF_TOKEN</span>, { <span class="hljs-attr">billTo</span>: <span class="hljs-string">&quot;my-org-name&quot;</span> });

<span class="hljs-keyword">const</span> completion = <span class="hljs-keyword">await</span> client.<span class="hljs-property">chat</span>.<span class="hljs-property">completions</span>.<span class="hljs-title function_">create</span>({
  <span class="hljs-attr">model</span>: <span class="hljs-string">&quot;deepseek-ai/DeepSeek-V3-0324&quot;</span>,
  <span class="hljs-attr">messages</span>: [
    {
      <span class="hljs-attr">role</span>: <span class="hljs-string">&quot;user&quot;</span>,
      <span class="hljs-attr">content</span>: <span class="hljs-string">&quot;How many &#x27;G&#x27;s in &#x27;huggingface&#x27;?&quot;</span>,
    },
  ],
});

<span class="hljs-variable language_">console</span>.<span class="hljs-title function_">log</span>(completion.<span class="hljs-property">choices</span>[<span class="hljs-number">0</span>].<span class="hljs-property">message</span>.<span class="hljs-property">content</span>);`,wrap:!1}}),{c(){i=y("p"),i.innerHTML=M,p=c(),T(o.$$.fragment)},l(e){i=h(e,"P",{"data-svelte-h":!0}),g(i)!=="svelte-11uymxv"&&(i.innerHTML=M),p=u(e),f(o.$$.fragment,e)},m(e,s){a(e,i,s),a(e,p,s),J(o,e,s),r=!0},p:rt,i(e){r||(m(o.$$.fragment,e),r=!0)},o(e){j(o.$$.fragment,e),r=!1},d(e){e&&(n(i),n(p)),U(o,e)}}}function Be(w){let i,M="To bill your organization with the OpenAI JavaScript client, set the <code>X-HF-Bill-To</code> header using the <code>defaultHeaders</code> option on the <code>completions.create</code> method call.",p,o,r;return o=new pt({props:{code:"aW1wb3J0JTIwT3BlbkFJJTIwZnJvbSUyMCUyMm9wZW5haSUyMiUzQiUwQSUwQWNvbnN0JTIwY2xpZW50JTIwJTNEJTIwbmV3JTIwT3BlbkFJKCU3QiUwQSUwOWJhc2VVUkwlM0ElMjAlMjJodHRwcyUzQSUyRiUyRnJvdXRlci5odWdnaW5nZmFjZS5jbyUyRnYxJTIyJTJDJTBBJTA5YXBpS2V5JTNBJTIwcHJvY2Vzcy5lbnYuSEZfVE9LRU4lMkMlMEElN0QpJTNCJTBBJTBBY29uc3QlMjBjb21wbGV0aW9uJTIwJTNEJTIwYXdhaXQlMjBjbGllbnQuY2hhdC5jb21wbGV0aW9ucy5jcmVhdGUoJTBBJTA5JTdCJTBBJTA5JTA5bW9kZWwlM0ElMjAlMjJkZWVwc2Vlay1haSUyRkRlZXBTZWVrLVYzLTAzMjQlMjIlMkMlMEElMDklMDltZXNzYWdlcyUzQSUyMCU1QiUwQSUwOSUwOSUwOSU3QiUwQSUwOSUwOSUwOSUwOXJvbGUlM0ElMjAlMjJ1c2VyJTIyJTJDJTBBJTA5JTA5JTA5JTA5Y29udGVudCUzQSUyMCUyMkhvdyUyMG1hbnklMjAnRydzJTIwaW4lMjAnaHVnZ2luZ2ZhY2UnJTNGJTIyJTJDJTBBJTA5JTA5JTA5JTdEJTJDJTBBJTA5JTA5JTVEJTJDJTBBJTA5JTdEJTJDJTBBJTA5JTdCJTBBJTA5JTA5aGVhZGVycyUzQSUyMCU3QiUwQSUwOSUwOSUwOSUyMlgtSEYtQmlsbC1UbyUyMiUzQSUyMCUyMm15LW9yZy1uYW1lJTIyJTJDJTBBJTA5JTA5JTdEJTJDJTBBJTA5JTdEJTBBKSUzQiUwQSUwQWNvbnNvbGUubG9nKGNvbXBsZXRpb24uY2hvaWNlcyU1QjAlNUQubWVzc2FnZS5jb250ZW50KSUzQg==",highlighted:`<span class="hljs-keyword">import</span> <span class="hljs-title class_">OpenAI</span> <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;openai&quot;</span>;

<span class="hljs-keyword">const</span> client = <span class="hljs-keyword">new</span> <span class="hljs-title class_">OpenAI</span>({
	<span class="hljs-attr">baseURL</span>: <span class="hljs-string">&quot;https://router.huggingface.co/v1&quot;</span>,
	<span class="hljs-attr">apiKey</span>: process.<span class="hljs-property">env</span>.<span class="hljs-property">HF_TOKEN</span>,
});

<span class="hljs-keyword">const</span> completion = <span class="hljs-keyword">await</span> client.<span class="hljs-property">chat</span>.<span class="hljs-property">completions</span>.<span class="hljs-title function_">create</span>(
	{
		<span class="hljs-attr">model</span>: <span class="hljs-string">&quot;deepseek-ai/DeepSeek-V3-0324&quot;</span>,
		<span class="hljs-attr">messages</span>: [
			{
				<span class="hljs-attr">role</span>: <span class="hljs-string">&quot;user&quot;</span>,
				<span class="hljs-attr">content</span>: <span class="hljs-string">&quot;How many &#x27;G&#x27;s in &#x27;huggingface&#x27;?&quot;</span>,
			},
		],
	},
	{
		<span class="hljs-attr">headers</span>: {
			<span class="hljs-string">&quot;X-HF-Bill-To&quot;</span>: <span class="hljs-string">&quot;my-org-name&quot;</span>,
		},
	}
);

<span class="hljs-variable language_">console</span>.<span class="hljs-title function_">log</span>(completion.<span class="hljs-property">choices</span>[<span class="hljs-number">0</span>].<span class="hljs-property">message</span>.<span class="hljs-property">content</span>);`,wrap:!1}}),{c(){i=y("p"),i.innerHTML=M,p=c(),T(o.$$.fragment)},l(e){i=h(e,"P",{"data-svelte-h":!0}),g(i)!=="svelte-td8he2"&&(i.innerHTML=M),p=u(e),f(o.$$.fragment,e)},m(e,s){a(e,i,s),a(e,p,s),J(o,e,s),r=!0},p:rt,i(e){r||(m(o.$$.fragment,e),r=!0)},o(e){j(o.$$.fragment,e),r=!1},d(e){e&&(n(i),n(p)),U(o,e)}}}function Ae(w){let i,M="When using <code>fetch</code>, include the <code>X-HF-Bill-To</code> header to bill your organization.",p,o,r;return o=new pt({props:{code:"aW1wb3J0JTIwZmV0Y2glMjBmcm9tJTIwJTIybm9kZS1mZXRjaCUyMiUzQiUwQSUwQWNvbnN0JTIwcmVzcG9uc2UlMjAlM0QlMjBhd2FpdCUyMGZldGNoKCUwQSUyMCUyMCUyMmh0dHBzJTNBJTJGJTJGcm91dGVyLmh1Z2dpbmdmYWNlLmNvJTJGdjElMkZjaGF0JTJGY29tcGxldGlvbnMlMjIlMkMlMEElMjAlMjAlN0IlMEElMjAlMjAlMjAlMjBtZXRob2QlM0ElMjAlMjJQT1NUJTIyJTJDJTBBJTIwJTIwJTIwJTIwaGVhZGVycyUzQSUyMCU3QiUwQSUyMCUyMCUyMCUyMCUyMCUyMEF1dGhvcml6YXRpb24lM0ElMjAlNjBCZWFyZXIlMjAlMjQlN0Jwcm9jZXNzLmVudi5IRl9UT0tFTiU3RCU2MCUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMkNvbnRlbnQtVHlwZSUyMiUzQSUyMCUyMmFwcGxpY2F0aW9uJTJGanNvbiUyMiUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMlgtSEYtQmlsbC1UbyUyMiUzQSUyMCUyMm15LW9yZy1uYW1lJTIyJTJDJTBBJTIwJTIwJTIwJTIwJTdEJTJDJTBBJTIwJTIwJTIwJTIwYm9keSUzQSUyMEpTT04uc3RyaW5naWZ5KCU3QiUwQSUyMCUyMCUyMCUyMCUyMCUyMG1vZGVsJTNBJTIwJTIyZGVlcHNlZWstYWklMkZEZWVwU2Vlay1WMy0wMzI0JTIyJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwbWVzc2FnZXMlM0ElMjAlNUIlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlN0IlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjByb2xlJTNBJTIwJTIydXNlciUyMiUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGNvbnRlbnQlM0ElMjAlMjJIb3clMjBtYW55JTIwJ0cncyUyMGluJTIwJ2h1Z2dpbmdmYWNlJyUzRiUyMiUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCU3RCUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCU1RCUyQyUwQSUyMCUyMCUyMCUyMCU3RCklMkMlMEElMjAlMjAlN0QlMEEpJTNCJTBBY29uc29sZS5sb2coYXdhaXQlMjByZXNwb25zZS5qc29uKCkpJTNC",highlighted:`<span class="hljs-keyword">import</span> fetch <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;node-fetch&quot;</span>;

<span class="hljs-keyword">const</span> response = <span class="hljs-keyword">await</span> <span class="hljs-title function_">fetch</span>(
  <span class="hljs-string">&quot;https://router.huggingface.co/v1/chat/completions&quot;</span>,
  {
    <span class="hljs-attr">method</span>: <span class="hljs-string">&quot;POST&quot;</span>,
    <span class="hljs-attr">headers</span>: {
      <span class="hljs-title class_">Authorization</span>: <span class="hljs-string">\`Bearer <span class="hljs-subst">\${({}).HF_TOKEN}</span>\`</span>,
      <span class="hljs-string">&quot;Content-Type&quot;</span>: <span class="hljs-string">&quot;application/json&quot;</span>,
      <span class="hljs-string">&quot;X-HF-Bill-To&quot;</span>: <span class="hljs-string">&quot;my-org-name&quot;</span>,
    },
    <span class="hljs-attr">body</span>: <span class="hljs-title class_">JSON</span>.<span class="hljs-title function_">stringify</span>({
      <span class="hljs-attr">model</span>: <span class="hljs-string">&quot;deepseek-ai/DeepSeek-V3-0324&quot;</span>,
      <span class="hljs-attr">messages</span>: [
        {
          <span class="hljs-attr">role</span>: <span class="hljs-string">&quot;user&quot;</span>,
          <span class="hljs-attr">content</span>: <span class="hljs-string">&quot;How many &#x27;G&#x27;s in &#x27;huggingface&#x27;?&quot;</span>,
        },
      ],
    }),
  }
);
<span class="hljs-variable language_">console</span>.<span class="hljs-title function_">log</span>(<span class="hljs-keyword">await</span> response.<span class="hljs-title function_">json</span>());`,wrap:!1}}),{c(){i=y("p"),i.innerHTML=M,p=c(),T(o.$$.fragment)},l(e){i=h(e,"P",{"data-svelte-h":!0}),g(i)!=="svelte-sz34g3"&&(i.innerHTML=M),p=u(e),f(o.$$.fragment,e)},m(e,s){a(e,i,s),a(e,p,s),J(o,e,s),r=!0},p:rt,i(e){r||(m(o.$$.fragment,e),r=!0)},o(e){j(o.$$.fragment,e),r=!1},d(e){e&&(n(i),n(p)),U(o,e)}}}function qe(w){let i,M,p,o,r,e;return i=new ot({props:{id:"javascript-clients",option:"huggingface.js",$$slots:{default:[ve]},$$scope:{ctx:w}}}),p=new ot({props:{id:"javascript-clients",option:"openai",$$slots:{default:[Be]},$$scope:{ctx:w}}}),r=new ot({props:{id:"javascript-clients",option:"fetch",$$slots:{default:[Ae]},$$scope:{ctx:w}}}),{c(){T(i.$$.fragment),M=c(),T(p.$$.fragment),o=c(),T(r.$$.fragment)},l(s){f(i.$$.fragment,s),M=u(s),f(p.$$.fragment,s),o=u(s),f(r.$$.fragment,s)},m(s,d){J(i,s,d),a(s,M,d),J(p,s,d),a(s,o,d),J(r,s,d),e=!0},p(s,d){const C={};d&2&&(C.$$scope={dirty:d,ctx:s}),i.$set(C);const $={};d&2&&($.$$scope={dirty:d,ctx:s}),p.$set($);const b={};d&2&&(b.$$scope={dirty:d,ctx:s}),r.$set(b)},i(s){e||(m(i.$$.fragment,s),m(p.$$.fragment,s),m(r.$$.fragment,s),e=!0)},o(s){j(i.$$.fragment,s),j(p.$$.fragment,s),j(r.$$.fragment,s),e=!1},d(s){s&&(n(M),n(o)),U(i,s),U(p,s),U(r,s)}}}function ke(w){let i,M,p,o,r,e,s,d,C,$="Access 200+ models from leading AI inference providers with centralized, transparent, pay-as-you-go pricing. No infrastructure management required—just pay for what you use, with no markup from Hugging Face.",b,Z,ut,S,Gt="Every Hugging Face user receives monthly credits to experiment with Inference Providers:",Mt,Q,Ft="<thead><tr><th>Account Type</th> <th>Monthly Credits</th> <th>Extra usage (pay-as-you-go)</th></tr></thead> <tbody><tr><td>Free Users</td> <td>$0.10, subject to change</td> <td>no</td></tr> <tr><td>PRO Users</td> <td>$2.00</td> <td>yes</td></tr> <tr><td>Team or Enterprise Organizations</td> <td>$2.00 per seat</td> <td>yes</td></tr></tbody>",yt,I,Lt="<p>Your monthly credits automatically apply when you route requests through Hugging Face. For Team or Enterprise organizations, credits are shared among all members.</p>",ht,H,dt,N,Rt="Inference Providers offers flexibility in how you’re billed. Understanding these options upfront helps you choose the best approach for your needs:",gt,W,Yt='<thead><tr><th align="left">Feature</th> <th align="left"><strong>Routed by Hugging Face</strong></th> <th align="left"><strong>Custom Provider Key</strong></th></tr></thead> <tbody><tr><td align="left"><strong>How it Works</strong></td> <td align="left">Your request routes through HF to the provider</td> <td align="left">You set a custom provider key in HF settings</td></tr> <tr><td align="left"><strong>Billing</strong></td> <td align="left">Pay-as-you-go on your HF account</td> <td align="left">Billed directly by the provider</td></tr> <tr><td align="left"><strong>Monthly Credits</strong></td> <td align="left"><strong>✅ Yes</strong> - Credits apply to eligible providers</td> <td align="left"><strong>❌ No</strong> - Credits don’t apply</td></tr> <tr><td align="left"><strong>Provider Account Needed</strong></td> <td align="left"><strong>❌ No</strong> - We handle everything</td> <td align="left"><strong>✅ Yes</strong> - You need provider accounts</td></tr> <tr><td align="left"><strong>Best For</strong></td> <td align="left">Simplicity, experimentation, consolidated billing</td> <td align="left">More billing control, using non-integrated providers</td></tr> <tr><td align="left"><strong>Integration</strong></td> <td align="left">SDKs, Playground, widgets, Data AI Studio</td> <td align="left">SDKs, Playground, widgets, Data AI Studio</td></tr></tbody>',Tt,x,ft,z,Xt="<li><strong>Start with Routed by Hugging Face</strong> if you want simplicity and to use your monthly credits</li> <li><strong>Use Custom Provider Key</strong> if you need specific provider features or you’re consistently using the same provider</li>",Jt,_,mt,V,Pt=`To benefit from Enterprise Hub included credits, you need to explicitly specify the organization to be billed when performing the inference requests.
See the <a href="#organization-billing">Organization Billing section</a> below for more details.`,jt,G,Dt="<strong>PRO users and Enterprise Hub organizations</strong> can continue using the API after exhausting their monthly credits. This ensures uninterrupted access to models for production workloads.",Ut,v,Ot="<p>Hugging Face charges you the same rates as the provider, with no additional fees. We just pass through the provider costs directly.</p>",wt,F,Kt='You can track your spending anytime on your <a href="https://huggingface.co/settings/billing" rel="nofollow">billing page</a>.',Ct,L,bt,R,te="The documentation above assumes you are making routed requests to external providers. In practice, there are 2 different ways to run inference, each with unique billing implications:",$t,Y,ee="<li><p><strong>Hugging Face Routed Requests</strong>: This is the default method for using Inference Providers. Simply use the JavaScript or Python <code>InferenceClient</code>, or make raw HTTP requests with your Hugging Face User Access Token. Your request is automatically routed through Hugging Face to the provider’s platform. No separate provider account is required, and billing is managed directly by Hugging Face. This approach lets you seamlessly switch between providers without additional setup.</p></li> <li><p><strong>Custom Provider Key</strong>: You can bring your own provider key to use with the Inference Providers. This is useful if you already have an account with a provider and you want to use it with the Inference Providers. Hugging Face won’t charge you for the call.</p></li>",It,X,se="Here is a table that sums up what we’ve seen so far:",vt,P,le="<thead><tr><th></th> <th>HF routing</th> <th>Billed by</th> <th>Free-tier included</th> <th>Pay-as-you-go</th> <th>Integration</th></tr></thead> <tbody><tr><td><strong>Routed Requests</strong></td> <td>Yes</td> <td>Hugging Face</td> <td>Yes</td> <td>Only for PRO users and for integrated providers</td> <td>SDKs, Playground, widgets, Data AI Studio</td></tr> <tr><td><strong>Custom Provider Key</strong></td> <td>Yes</td> <td>Provider</td> <td>No</td> <td>Yes</td> <td>SDKs, Playground, widgets, Data AI Studio</td></tr></tbody>",Bt,B,ne='<p>You can set your custom provider key in the <a href="https://huggingface.co/settings/inference-providers" rel="nofollow">settings page</a> on the Hub, or in the <code>InferenceClient</code> when using the JavaScript or Python SDKs. When making a routed request with a custom key, your code remains unchanged—you can still pass your Hugging Face User Access Token. Hugging Face will automatically swap the authentication when routing the request.</p>',At,D,qt,O,ae="As you may have noticed, you can select to work with <code>&quot;hf-inference&quot;</code> provider. This service used to be called “Inference API (serverless)” prior to Inference Providers. From a user point of view, working with HF Inference is the same as with any other provider. Past the free-tier credits, you get charged for every inference request based on the compute time x price of the underlying hardware.",kt,K,ie='For instance, a request to <a href="https://huggingface.co/black-forest-labs/FLUX.1-dev" rel="nofollow">black-forest-labs/FLUX.1-dev</a> that takes 10 seconds to complete on a GPU machine that costs $0.00012 per second to run, will be billed $0.0012.',Et,tt,oe="As of July 2025, hf-inference focuses mostly on CPU inference (e.g. embedding, text-ranking, text-classification, or smaller LLMs that have historical importance like BERT or GPT-2).",Zt,et,St,st,re="For Enterprise Hub organizations, it is possible to centralize billing for all of your users. Each user still uses their own User Access Token but the requests are billed to your organization. This can be done by passing <code>&quot;X-HF-Bill-To: my-org-name&quot;</code> as a header in your HTTP requests.",Qt,lt,pe="Enterprise Hub organizations receive a pool of free usage credits based on the number of seats in the subscription. Inference Providers usage can be tracked on the organization’s billing page. Enterprise Hub organization administrators can also set a spending limit and disable a set of Inference Providers from the organization’s settings.",Ht,A,ce='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/inference-providers/enterprise-org-settings-light.png"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/inference-providers/enterprise-org-settings-dark.png"/>',Nt,q,Wt,nt,ue="Similarily in JavaScript:",xt,k,zt,at,_t,ct,Vt;return r=new Ue({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),s=new E({props:{title:"Pricing and Billing",local:"pricing-and-billing",headingTag:"h1"}}),Z=new E({props:{title:"Free Credits to Get Started",local:"free-credits-to-get-started",headingTag:"h2"}}),H=new E({props:{title:"How Billing Works: Choose Your Approach",local:"how-billing-works-choose-your-approach",headingTag:"h2"}}),x=new E({props:{title:"Which Option Should I Choose?",local:"which-option-should-i-choose",headingTag:"h3"}}),_=new E({props:{title:"Pay-as-you-Go Details",local:"pay-as-you-go-details",headingTag:"h2"}}),L=new E({props:{title:"Hugging Face Billing vs Custom Provider Key (Detailed Comparison)",local:"hugging-face-billing-vs-custom-provider-key-detailed-comparison",headingTag:"h2"}}),D=new E({props:{title:"HF-Inference cost",local:"hf-inference-cost",headingTag:"h2"}}),et=new E({props:{title:"Billing for Team and Enterprise organizations",local:"billing-for-team-and-enterprise-organizations",headingTag:"h2"}}),q=new de({props:{id:"python-clients",options:["huggingface_hub","openai","requests"],$$slots:{default:[Ie]},$$scope:{ctx:w}}}),k=new de({props:{id:"javascript-clients",options:["huggingface.js","openai","fetch"],$$slots:{default:[qe]},$$scope:{ctx:w}}}),at=new we({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/inference-providers/pricing.md"}}),{c(){i=y("meta"),M=c(),p=y("p"),o=c(),T(r.$$.fragment),e=c(),T(s.$$.fragment),d=c(),C=y("p"),C.textContent=$,b=c(),T(Z.$$.fragment),ut=c(),S=y("p"),S.textContent=Gt,Mt=c(),Q=y("table"),Q.innerHTML=Ft,yt=c(),I=y("blockquote"),I.innerHTML=Lt,ht=c(),T(H.$$.fragment),dt=c(),N=y("p"),N.textContent=Rt,gt=c(),W=y("table"),W.innerHTML=Yt,Tt=c(),T(x.$$.fragment),ft=c(),z=y("ul"),z.innerHTML=Xt,Jt=c(),T(_.$$.fragment),mt=c(),V=y("p"),V.innerHTML=Pt,jt=c(),G=y("p"),G.innerHTML=Dt,Ut=c(),v=y("blockquote"),v.innerHTML=Ot,wt=c(),F=y("p"),F.innerHTML=Kt,Ct=c(),T(L.$$.fragment),bt=c(),R=y("p"),R.textContent=te,$t=c(),Y=y("ul"),Y.innerHTML=ee,It=c(),X=y("p"),X.textContent=se,vt=c(),P=y("table"),P.innerHTML=le,Bt=c(),B=y("blockquote"),B.innerHTML=ne,At=c(),T(D.$$.fragment),qt=c(),O=y("p"),O.innerHTML=ae,kt=c(),K=y("p"),K.innerHTML=ie,Et=c(),tt=y("p"),tt.textContent=oe,Zt=c(),T(et.$$.fragment),St=c(),st=y("p"),st.innerHTML=re,Qt=c(),lt=y("p"),lt.textContent=pe,Ht=c(),A=y("div"),A.innerHTML=ce,Nt=c(),T(q.$$.fragment),Wt=c(),nt=y("p"),nt.textContent=ue,xt=c(),T(k.$$.fragment),zt=c(),T(at.$$.fragment),_t=c(),ct=y("p"),this.h()},l(t){const l=me("svelte-u9bgzb",document.head);i=h(l,"META",{name:!0,content:!0}),l.forEach(n),M=u(t),p=h(t,"P",{}),he(p).forEach(n),o=u(t),f(r.$$.fragment,t),e=u(t),f(s.$$.fragment,t),d=u(t),C=h(t,"P",{"data-svelte-h":!0}),g(C)!=="svelte-7aoc4z"&&(C.textContent=$),b=u(t),f(Z.$$.fragment,t),ut=u(t),S=h(t,"P",{"data-svelte-h":!0}),g(S)!=="svelte-1hmz1xw"&&(S.textContent=Gt),Mt=u(t),Q=h(t,"TABLE",{"data-svelte-h":!0}),g(Q)!=="svelte-12r3yqp"&&(Q.innerHTML=Ft),yt=u(t),I=h(t,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),g(I)!=="svelte-h903my"&&(I.innerHTML=Lt),ht=u(t),f(H.$$.fragment,t),dt=u(t),N=h(t,"P",{"data-svelte-h":!0}),g(N)!=="svelte-1w5y508"&&(N.textContent=Rt),gt=u(t),W=h(t,"TABLE",{"data-svelte-h":!0}),g(W)!=="svelte-u7vf0s"&&(W.innerHTML=Yt),Tt=u(t),f(x.$$.fragment,t),ft=u(t),z=h(t,"UL",{"data-svelte-h":!0}),g(z)!=="svelte-198a5b1"&&(z.innerHTML=Xt),Jt=u(t),f(_.$$.fragment,t),mt=u(t),V=h(t,"P",{"data-svelte-h":!0}),g(V)!=="svelte-1ugzym0"&&(V.innerHTML=Pt),jt=u(t),G=h(t,"P",{"data-svelte-h":!0}),g(G)!=="svelte-cz5h1t"&&(G.innerHTML=Dt),Ut=u(t),v=h(t,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),g(v)!=="svelte-5a9lus"&&(v.innerHTML=Ot),wt=u(t),F=h(t,"P",{"data-svelte-h":!0}),g(F)!=="svelte-cg3sv6"&&(F.innerHTML=Kt),Ct=u(t),f(L.$$.fragment,t),bt=u(t),R=h(t,"P",{"data-svelte-h":!0}),g(R)!=="svelte-htg83x"&&(R.textContent=te),$t=u(t),Y=h(t,"UL",{"data-svelte-h":!0}),g(Y)!=="svelte-1jlv6fa"&&(Y.innerHTML=ee),It=u(t),X=h(t,"P",{"data-svelte-h":!0}),g(X)!=="svelte-1b2o2p1"&&(X.textContent=se),vt=u(t),P=h(t,"TABLE",{"data-svelte-h":!0}),g(P)!=="svelte-12y2q34"&&(P.innerHTML=le),Bt=u(t),B=h(t,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),g(B)!=="svelte-jalhdp"&&(B.innerHTML=ne),At=u(t),f(D.$$.fragment,t),qt=u(t),O=h(t,"P",{"data-svelte-h":!0}),g(O)!=="svelte-1yovgaz"&&(O.innerHTML=ae),kt=u(t),K=h(t,"P",{"data-svelte-h":!0}),g(K)!=="svelte-xg5589"&&(K.innerHTML=ie),Et=u(t),tt=h(t,"P",{"data-svelte-h":!0}),g(tt)!=="svelte-9ggkbb"&&(tt.textContent=oe),Zt=u(t),f(et.$$.fragment,t),St=u(t),st=h(t,"P",{"data-svelte-h":!0}),g(st)!=="svelte-tvaw01"&&(st.innerHTML=re),Qt=u(t),lt=h(t,"P",{"data-svelte-h":!0}),g(lt)!=="svelte-1r9q8ej"&&(lt.textContent=pe),Ht=u(t),A=h(t,"DIV",{class:!0,"data-svelte-h":!0}),g(A)!=="svelte-inql4"&&(A.innerHTML=ce),Nt=u(t),f(q.$$.fragment,t),Wt=u(t),nt=h(t,"P",{"data-svelte-h":!0}),g(nt)!=="svelte-1au2dst"&&(nt.textContent=ue),xt=u(t),f(k.$$.fragment,t),zt=u(t),f(at.$$.fragment,t),_t=u(t),ct=h(t,"P",{}),he(ct).forEach(n),this.h()},h(){it(i,"name","hf:doc:metadata"),it(i,"content",Ee),it(I,"class","tip"),it(v,"class","tip"),it(B,"class","tip"),it(A,"class","flex justify-center")},m(t,l){je(document.head,i),a(t,M,l),a(t,p,l),a(t,o,l),J(r,t,l),a(t,e,l),J(s,t,l),a(t,d,l),a(t,C,l),a(t,b,l),J(Z,t,l),a(t,ut,l),a(t,S,l),a(t,Mt,l),a(t,Q,l),a(t,yt,l),a(t,I,l),a(t,ht,l),J(H,t,l),a(t,dt,l),a(t,N,l),a(t,gt,l),a(t,W,l),a(t,Tt,l),J(x,t,l),a(t,ft,l),a(t,z,l),a(t,Jt,l),J(_,t,l),a(t,mt,l),a(t,V,l),a(t,jt,l),a(t,G,l),a(t,Ut,l),a(t,v,l),a(t,wt,l),a(t,F,l),a(t,Ct,l),J(L,t,l),a(t,bt,l),a(t,R,l),a(t,$t,l),a(t,Y,l),a(t,It,l),a(t,X,l),a(t,vt,l),a(t,P,l),a(t,Bt,l),a(t,B,l),a(t,At,l),J(D,t,l),a(t,qt,l),a(t,O,l),a(t,kt,l),a(t,K,l),a(t,Et,l),a(t,tt,l),a(t,Zt,l),J(et,t,l),a(t,St,l),a(t,st,l),a(t,Qt,l),a(t,lt,l),a(t,Ht,l),a(t,A,l),a(t,Nt,l),J(q,t,l),a(t,Wt,l),a(t,nt,l),a(t,xt,l),J(k,t,l),a(t,zt,l),J(at,t,l),a(t,_t,l),a(t,ct,l),Vt=!0},p(t,[l]){const Me={};l&2&&(Me.$$scope={dirty:l,ctx:t}),q.$set(Me);const ye={};l&2&&(ye.$$scope={dirty:l,ctx:t}),k.$set(ye)},i(t){Vt||(m(r.$$.fragment,t),m(s.$$.fragment,t),m(Z.$$.fragment,t),m(H.$$.fragment,t),m(x.$$.fragment,t),m(_.$$.fragment,t),m(L.$$.fragment,t),m(D.$$.fragment,t),m(et.$$.fragment,t),m(q.$$.fragment,t),m(k.$$.fragment,t),m(at.$$.fragment,t),Vt=!0)},o(t){j(r.$$.fragment,t),j(s.$$.fragment,t),j(Z.$$.fragment,t),j(H.$$.fragment,t),j(x.$$.fragment,t),j(_.$$.fragment,t),j(L.$$.fragment,t),j(D.$$.fragment,t),j(et.$$.fragment,t),j(q.$$.fragment,t),j(k.$$.fragment,t),j(at.$$.fragment,t),Vt=!1},d(t){t&&(n(M),n(p),n(o),n(e),n(d),n(C),n(b),n(ut),n(S),n(Mt),n(Q),n(yt),n(I),n(ht),n(dt),n(N),n(gt),n(W),n(Tt),n(ft),n(z),n(Jt),n(mt),n(V),n(jt),n(G),n(Ut),n(v),n(wt),n(F),n(Ct),n(bt),n(R),n($t),n(Y),n(It),n(X),n(vt),n(P),n(Bt),n(B),n(At),n(qt),n(O),n(kt),n(K),n(Et),n(tt),n(Zt),n(St),n(st),n(Qt),n(lt),n(Ht),n(A),n(Nt),n(Wt),n(nt),n(xt),n(zt),n(_t),n(ct)),n(i),U(r,t),U(s,t),U(Z,t),U(H,t),U(x,t),U(_,t),U(L,t),U(D,t),U(et,t),U(q,t),U(k,t),U(at,t)}}}const Ee='{"title":"Pricing and Billing","local":"pricing-and-billing","sections":[{"title":"Free Credits to Get Started","local":"free-credits-to-get-started","sections":[],"depth":2},{"title":"How Billing Works: Choose Your Approach","local":"how-billing-works-choose-your-approach","sections":[{"title":"Which Option Should I Choose?","local":"which-option-should-i-choose","sections":[],"depth":3}],"depth":2},{"title":"Pay-as-you-Go Details","local":"pay-as-you-go-details","sections":[],"depth":2},{"title":"Hugging Face Billing vs Custom Provider Key (Detailed Comparison)","local":"hugging-face-billing-vs-custom-provider-key-detailed-comparison","sections":[],"depth":2},{"title":"HF-Inference cost","local":"hf-inference-cost","sections":[],"depth":2},{"title":"Billing for Team and Enterprise organizations","local":"billing-for-team-and-enterprise-organizations","sections":[],"depth":2}],"depth":1}';function Ze(w){return Te(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ze extends fe{constructor(i){super(),Je(this,i,Ze,ke,ge,{})}}export{ze as component};
