---
title: "Create a new cost center"
method: POST
path: "/enterprises/{enterprise}/settings/billing/cost-centers"
tags: ["billing"]
---

# Create a new cost center

`POST /enterprises/{enterprise}/settings/billing/cost-centers`

Creates a new cost center for an enterprise. The authenticated user must be an enterprise admin.

## Path parameters

- `enterprise` string, required

## Request body

- object
  - `name` string, required — The name of the cost center (max length 255 characters)
  - `ai_credit_pool_enabled` boolean — Whether the cost center draws from the AI credit pool. - `false` — no cap; the cost center draws from the shared enterprise pool. - `true` — the cost center is capped at an amount derived from its members' license entitlements. Only User and Team resources are allowed.

## Response `200`

Cost center created successfully

- object
  - `id` string — Unique identifier for the cost center
  - `name` string — Name of the cost center
  - `azure_subscription` string, nullable — Azure subscription ID associated with the cost center. Only present for cost centers linked to Azure subscriptions.
  - `state` 'active' | 'deleted' — State of the cost center.
  - `resources` object[] — List of resources assigned to this cost center
    - `type` string — Type of resource (User, Org, or Repo)
    - `name` string — Name/login of the resource
  - `ai_credit_pool_enabled` boolean — Whether the cost center draws from the AI credit pool (capped from member license entitlements).
  - `ai_credit_pool_state` object — Read-only cap-budget projection for the cost center. Only present when the cost center draws from the AI credit pool.
    - `target_amount` number, nullable — The AI credit pool cap target amount, in dollars. Null when the cap budget has not been materialized yet.
    - `current_amount` number, nullable — The current-month applied amount against the AI credit pool cap, in dollars. Null when the cap budget has not been materialized yet.

## Other responses

- `400` — Bad request
- `409` — Conflict
- `500` — Internal server error

## Changes

- **2026-07-01** (2026-03-10) `ebff3f88eb0b` — 3 info
  - added the new optional request property `ai_credit_pool_enabled`
  - added the optional property `ai_credit_pool_enabled` to the response with the `200` status
  - added the optional property `ai_credit_pool_state` to the response with the `200` status

[Change history](https://skmtc.dev/github/apis/enterprise-cloud/changes/enterprises/:enterprise/settings/billing/cost-centers/post.md)

---

[API](https://skmtc.dev/github/apis/enterprise-cloud.md) · [All operations](https://skmtc.dev/github/apis/enterprise-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/github/enterprise-cloud/revisions/eaaf2e29cd72/schema)
