Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/inference-providers/integrations/claude-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,23 @@ To bill inference usage to a Hugging Face organization instead of your personal

**With the `hf-claude` extension**, pass the `--bill-to` flag:

```bash
hf extensions install hf-claude --force # reinstall to get the latest version of the extension
hf claude --bill-to your-org-name
```

You can also set the `HF_BILL_TO` environment variable instead:

```bash
export HF_BILL_TO="your-org-name"
hf claude
```

**With manual environment variables**, set `ANTHROPIC_CUSTOM_HEADERS` to include the `X-HF-Bill-To` header:

```bash
export ANTHROPIC_CUSTOM_HEADERS="X-HF-Bill-To: your-org-name"
claude
```

Replace `your-org-name` with the name of the organization you want to bill to. The org must be a Team or Enterprise org that you're a member of.
Expand Down
Loading