Skip to content

Commit d3e7ae0

Browse files
authored
docs: surface cost attribution a bit more + link to api (#2590)
1 parent 3e6ffee commit d3e7ae0

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

docs/hub/enterprise-resource-groups.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ This feature allows organization administrators to:
2626
- Keep private repositories visible only to authorized group members
2727
- Enable multiple teams to work independently within the same organization
2828
- Configure which member roles are allowed to create new resource groups
29+
- Attribute costs to specific resource groups for better budget management
2930

3031
This Team & Enterprise feature helps organizations manage complex team structures and maintain proper access control over their repositories.
3132

docs/hub/security-resource-groups.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ Resource Groups also serve as a cost attribution unit for compute services. When
108108
- **Inference Providers**: pass the resource group's ID via the `X-HF-Bill-To` header (or `bill_to` parameter in the SDK). See [Billing for Team and Enterprise organizations](/docs/inference-providers/pricing#billing-for-team-and-enterprise-organizations).
109109
- **Inference Endpoints**: cost is automatically attributed to the resource group the model repository belongs to. Endpoints instantiated directly from the built-in Inference Endpoints catalog aren't supported at this time.
110110

111+
You can use the <a href="https://huggingface.co/spaces/huggingface/openapi#tag/orgs/GET/api/organizations/&#123;name&#125;/billing/usage-by-resource-group">dedicated API endpoint</a> to retrieve cost attribution data for resource groups.
112+
111113
## Resource Groups API
112114

113115
You can list resource groups and add users to them (or change a member's org role and resource group assignments) via the Hub API. For the full reference, examples, and batch workflows, see the [Programmatic User Access Control Management](./programmatic-user-access-control) guide.

0 commit comments

Comments
 (0)