From 3d3127defe9baddc6f6400b479f5aa89a4fa0f29 Mon Sep 17 00:00:00 2001 From: Julien Chaumond Date: Mon, 7 Jul 2025 13:24:45 +0200 Subject: [PATCH 1/3] add token everywhere for beginners --- docs/inference-providers/guides/first-api-call.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/inference-providers/guides/first-api-call.md b/docs/inference-providers/guides/first-api-call.md index 24dd39649..ae9b411f6 100644 --- a/docs/inference-providers/guides/first-api-call.md +++ b/docs/inference-providers/guides/first-api-call.md @@ -54,6 +54,8 @@ Set your token as an environment variable: export HF_TOKEN="your_token_here" ``` +You can add this line to your `.bash_profile` or similar file for all your terminal environments to automatically source the token. + The Python or TypeScript code snippet will use the token from the environment variable. From 9617b2a7d227475084fa407a245ceba77b8bf928 Mon Sep 17 00:00:00 2001 From: Julien Chaumond Date: Mon, 7 Jul 2025 13:30:02 +0200 Subject: [PATCH 2/3] another small tweak --- docs/inference-providers/pricing.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/inference-providers/pricing.md b/docs/inference-providers/pricing.md index ab06bf5a7..8e9c05b6a 100644 --- a/docs/inference-providers/pricing.md +++ b/docs/inference-providers/pricing.md @@ -6,11 +6,11 @@ Access 200+ models from leading AI inference providers with centralized, transpa Every Hugging Face user receives monthly credits to experiment with Inference Providers: -| Account Type | Monthly Credits | Extra usage (pay-as-you-go) | -| ---------------------------- | --------------- | -------- | -| Free Users | $0.10, subject to change | no | -| PRO Users | $2.00 | yes | -| Enterprise Hub Organizations | $2.00 per seat | yes | +| Account Type | Monthly Credits | Extra usage (pay-as-you-go) | +| -------------------------------- | ------------------------ | --------------------------- | +| Free Users | $0.10, subject to change | no | +| PRO Users | $2.00 | yes | +| Team or Enterprise Organizations | $2.00 per seat | yes | From 2ace031c95e08e82c88a3045a8da2f4bcae2a714 Mon Sep 17 00:00:00 2001 From: Julien Chaumond Date: Mon, 7 Jul 2025 15:25:19 +0200 Subject: [PATCH 3/3] Update docs/inference-providers/guides/first-api-call.md Co-authored-by: burtenshaw --- docs/inference-providers/guides/first-api-call.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/inference-providers/guides/first-api-call.md b/docs/inference-providers/guides/first-api-call.md index ae9b411f6..8bcdfc608 100644 --- a/docs/inference-providers/guides/first-api-call.md +++ b/docs/inference-providers/guides/first-api-call.md @@ -54,8 +54,12 @@ Set your token as an environment variable: export HF_TOKEN="your_token_here" ``` + + You can add this line to your `.bash_profile` or similar file for all your terminal environments to automatically source the token. + + The Python or TypeScript code snippet will use the token from the environment variable.