> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# coreweave_inference_capacity_claim (Resource)

> Terraform resource for creating and managing CoreWeave Managed Inference capacity claims

Create and manage [CoreWeave Managed Inference](/products/inference) capacity claims for [Dedicated Inference](/products/inference/dedicated). See [capacity claims](/products/inference/scaling#capacity-claims) for capacity type details.

## Example usage

```terraform theme={"system"}
resource "coreweave_inference_capacity_claim" "example" {
  name = "my-capacity-claim"

  resources = {
    instance_type  = "h100-80gb-sxm5"
    instance_count = 2
    capacity_type  = "CAPACITY_TYPE_MANAGED"
    zones          = ["US-EAST-04A"]
  }
}
```

## Schema

### Required

* `name` (String) The name of the capacity claim. Must be a valid hostname label.
* `resources` (Attributes) Resource configuration for the capacity claim. (see [below for nested schema](#nestedatt--resources))

### Read-Only

* `allocated_instances` (Number) The number of instances currently allocated.
* `conditions` (Attributes List) Detailed status conditions for the capacity claim. (see [below for nested schema](#nestedatt--conditions))
* `created_at` (String) RFC3339 timestamp of when the capacity claim was created.
* `id` (String) The unique identifier of the capacity claim.
* `organization_id` (String) The organization ID that owns the capacity claim.
* `pending_instances` (Number) The number of instances pending allocation.
* `status` (String) The current status of the capacity claim. See the [Inference API overview](/products/inference/reference/api-overview#status-values) for status values.
* `updated_at` (String) RFC3339 timestamp of when the capacity claim was last updated.

### Nested Schema for `resources`

Required:

* `capacity_type` (String) The [capacity type](/products/inference/scaling#capacity-claims) for the capacity claim. Must be one of: `CAPACITY_TYPE_CUSTOMER`, `CAPACITY_TYPE_MANAGED`. `CAPACITY_TYPE_SERVERLESS` is deprecated and is no longer accepted. Existing claims were automatically migrated to `CAPACITY_TYPE_MANAGED`; update your configuration to use `CAPACITY_TYPE_MANAGED`.
* `instance_count` (Number) The number of instances to reserve. Must be at least 1.
* `instance_type` (String) The instance type to reserve (e.g. `gb200-4x`).
* `zones` (Set of String) The availability zones where the capacity claim may use resources from (e.g. `US-WEST-04A`). At least one is required.

### Nested Schema for `conditions`

Read-Only:

* `last_update_time` (String) RFC3339 timestamp of the last condition transition.
* `message` (String) A human-readable message about the condition's last transition.
* `reason` (String) A short, machine-readable reason for the condition's last transition.
* `status` (String) The condition status (`True`, `False`, or `Unknown`).
* `type` (String) The condition type (e.g. `Ready`, `Progressing`).

## Import

Import is supported using the following syntax:

```bash theme={"system"}
terraform import coreweave_inference_capacity_claim.example {{capacity-claim-id}}
```
