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

# Create a tier

> Create a consumption tier.

The account's first tier automatically becomes the default tier.

See [Budgets](https://docs.devin.ai/admin/billing/budgets.md#create-a-tier) for field details and examples.

## Permissions

Requires a [service user](https://docs.devin.ai/api-reference/v3/service-users/members-service-users.md) or [personal access token](https://docs.devin.ai/api-reference/personal-access-tokens.md) with the `ManageAcuLimits` permission at the enterprise level, or [delegated access](https://docs.devin.ai/admin/billing/budgets.md#who-can-manage-a-budget) to the budget.


## OpenAPI

````yaml v3-openapi.yaml POST /v3/enterprise/usage-policies/budgets/{budget_id}/tiers
openapi: 3.1.0
info:
  description: Devin v3 API with Service User authentication and RBAC
  title: Devin API v3
  version: 3.0.0
servers: []
security:
  - bearerAuth: []
paths:
  /v3/enterprise/usage-policies/budgets/{budget_id}/tiers:
    post:
      tags:
        - tiers
      summary: Create a tier
      description: |-
        Create a consumption tier.

        The account's first tier automatically becomes the default tier.
      operationId: >-
        handle_create_tier_v3_enterprise_usage_policies_budgets__budget_id__tiers_post
      parameters:
        - description: The budget whose usage policies are managed.
          in: path
          name: budget_id
          required: true
          schema:
            description: The budget whose usage policies are managed.
            title: Budget Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TierCreateRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TierResponse'
          description: Successful Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Conflict
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Gone
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Unprocessable Content
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Too Many Requests
components:
  schemas:
    TierCreateRequest:
      description: |-
        Create a tier. The account's first tier automatically becomes the
        default tier.
      properties:
        cycle_acu_limit:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
          description: Default per-cycle ACU limit for members; null means uncapped.
          title: Cycle Acu Limit
        fallback_tier_id:
          anyOf:
            - minLength: 1
              type: string
            - type: 'null'
          description: Optional finite tier contributing fallback ACUs.
          title: Fallback Tier Id
        is_service_user_default:
          default: false
          description: >-
            Create the tier as the account's service-user default tier. At most
            one tier per account can be the service-user default.
          title: Is Service User Default
          type: boolean
        max_limit:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
          description: >-
            Maximum limit to which increase requests are approved; must be >=
            cycle_acu_limit. Ignored (stored as null) when cycle_acu_limit is
            null.
          title: Max Limit
        name:
          description: Account-unique display name.
          minLength: 1
          title: Name
          type: string
        policy:
          description: >-
            Limit-increase request policy: 'unconditional', 'conditional', or
            'manual'.
          enum:
            - unconditional
            - conditional
            - manual
          title: Policy
          type: string
        priority:
          default: 0
          description: >-
            Ranks the tier among a user's IdP-group-derived tiers: the highest
            value wins, ties broken by newest tier.
          title: Priority
          type: integer
      required:
        - name
        - cycle_acu_limit
        - policy
      title: TierCreateRequest
      type: object
    TierResponse:
      description: 'A consumption tier: a default per-cycle ACU limit shared by its members.'
      properties:
        created_at:
          description: When the tier was created (unix seconds).
          title: Created At
          type: integer
        cycle_acu_limit:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            Default per-cycle ACU limit applied to each member of the tier; null
            means uncapped.
          title: Cycle Acu Limit
        fallback_tier_id:
          anyOf:
            - type: string
            - type: 'null'
          description: The one-hop fallback tier contributing additional ACUs.
          title: Fallback Tier Id
        is_default:
          description: >-
            Whether this is the account's default tier. Every account member not
            explicitly assigned to another tier belongs to the default tier.
          title: Is Default
          type: boolean
        is_service_user_default:
          default: false
          description: >-
            Whether this is the account's service-user default tier. Service
            users not explicitly assigned to a tier belong to it; without one,
            service users are uncapped. Service users never belong to the
            regular default tier.
          title: Is Service User Default
          type: boolean
        max_limit:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            Maximum limit to which increase requests are approved; null approves
            without a ceiling. Always null when cycle_acu_limit is null.
          title: Max Limit
        member_count:
          description: >-
            Number of members currently in the tier. For the default tier this
            counts every account member not pinned to another tier.
          title: Member Count
          type: integer
        name:
          description: Account-unique display name.
          title: Name
          type: string
        policy:
          description: >-
            How limit-increase requests against the tier are handled:
            'unconditional' and 'conditional' approve up to max_limit, 'manual'
            requires admin review.
          enum:
            - unconditional
            - conditional
            - manual
          title: Policy
          type: string
        priority:
          description: >-
            Ranks the tier among a user's IdP-group-derived tiers: the highest
            value wins, ties broken by newest tier. Ranking is precedence only:
            a higher-priority tier may have a lower cycle_acu_limit. An
            explicitly assigned user tier overrides the ranking, and the default
            tier is a fallback only and never ranks.
          title: Priority
          type: integer
        tier_id:
          description: Stable external identifier of the tier.
          title: Tier Id
          type: string
      required:
        - tier_id
        - name
        - is_default
        - cycle_acu_limit
        - policy
        - max_limit
        - priority
        - member_count
        - created_at
      title: TierResponse
      type: object
    ProblemDetail:
      description: >-
        RFC 9457 application/problem+json error body for the v3 API.


        detail is retained from the legacy {"detail": ...} body for back-compat;
        the

        other members are additive. errors carries field-level validation
        failures

        (422 only).
      properties:
        detail:
          anyOf:
            - type: string
            - type: 'null'
          description: A human-readable explanation specific to this occurrence.
          title: Detail
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Machine-readable code for blocked-action refusals (e.g.
            "user_frozen", "migrated_session").
          title: Error Code
        errors:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          description: Field-level validation errors (422 responses only).
          title: Errors
        instance:
          anyOf:
            - type: string
            - type: 'null'
          description: A URI reference (the request path) for this occurrence.
          title: Instance
        status:
          description: The HTTP status code.
          title: Status
          type: integer
        title:
          description: A short, human-readable summary of the problem type.
          title: Title
          type: string
        type:
          default: about:blank
          description: A URI reference identifying the problem type.
          title: Type
          type: string
      required:
        - title
        - status
      title: ProblemDetail
      type: object
  securitySchemes:
    bearerAuth:
      description: 'Service User credential (prefix: cog_)'
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.