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
17 changes: 17 additions & 0 deletions docs/inference-providers/integrations/claude-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,23 @@ Available policies are `:cheapest`, `:fastest`, or `:preferred`; use one of thes
> [!TIP]
> 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.

### Billing to an Organization

To bill inference usage to a Hugging Face organization instead of your personal account, you have several options depending on your setup.

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


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

```

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

```
Comment on lines +77 to +86

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It feels like some content is missing but I'm not sure.?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, not sure what happened. I will fix that in another PR


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.

## Resources

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