Skip to content

Commit 929df43

Browse files
julien-cburtenshaw
andauthored
add token everywhere for beginners (#1817)
* add token everywhere for beginners * another small tweak * Update docs/inference-providers/guides/first-api-call.md Co-authored-by: burtenshaw <[email protected]> --------- Co-authored-by: burtenshaw <[email protected]>
1 parent 12d4b8a commit 929df43

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

docs/inference-providers/guides/first-api-call.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ Set your token as an environment variable:
5454
export HF_TOKEN="your_token_here"
5555
```
5656

57+
<Tip>
58+
59+
You can add this line to your `.bash_profile` or similar file for all your terminal environments to automatically source the token.
60+
61+
</Tip>
62+
5763
The Python or TypeScript code snippet will use the token from the environment variable.
5864

5965
<hfoptions id="python-code-snippet">

docs/inference-providers/pricing.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Access 200+ models from leading AI inference providers with centralized, transpa
66

77
Every Hugging Face user receives monthly credits to experiment with Inference Providers:
88

9-
| Account Type | Monthly Credits | Extra usage (pay-as-you-go) |
10-
| ---------------------------- | --------------- | -------- |
11-
| Free Users | $0.10, subject to change | no |
12-
| PRO Users | $2.00 | yes |
13-
| Enterprise Hub Organizations | $2.00 per seat | yes |
9+
| Account Type | Monthly Credits | Extra usage (pay-as-you-go) |
10+
| -------------------------------- | ------------------------ | --------------------------- |
11+
| Free Users | $0.10, subject to change | no |
12+
| PRO Users | $2.00 | yes |
13+
| Team or Enterprise Organizations | $2.00 per seat | yes |
1414

1515
<Tip>
1616

0 commit comments

Comments
 (0)