Skip to content

Commit ae8fabf

Browse files
[Inference Providers] Add "Billing to an Organization" section to Claude Code integration page (#2588)
1 parent b695d61 commit ae8fabf

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

docs/inference-providers/integrations/claude-code.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,23 @@ Available policies are `:cheapest`, `:fastest`, or `:preferred`; use one of thes
7070
> [!TIP]
7171
> The `ANTHROPIC_DEFAULT_*_MODEL` variables map to Claude Code's internal model slots (Opus, Sonnet, Haiku), from the most powerful to the quickest. You can assign different models to each slot to balance capability and speed e.g. `zai-org/GLM-5.1` for Opus, `google/gemma-4-31B-it:together` for Sonnet, and `openai/gpt-oss-120b:cerebras` for Haiku. `CLAUDE_CODE_SUBAGENT_MODEL` controls which model is used for sub-agents.
7272
73+
### Billing to an Organization
74+
75+
To bill inference usage to a Hugging Face organization instead of your personal account, you have several options depending on your setup.
76+
77+
**With the `hf-claude` extension**, pass the `--bill-to` flag:
78+
79+
80+
You can also set the `HF_BILL_TO` environment variable instead:
81+
82+
```
83+
84+
**With manual environment variables**, set `ANTHROPIC_CUSTOM_HEADERS` to include the `X-HF-Bill-To` header:
85+
86+
```
87+
88+
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.
89+
7390
## Resources
7491

7592
- [Claude Code Documentation](https://docs.anthropic.com/en/docs/claude-code)

0 commit comments

Comments
 (0)