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

# Get Available Gpu Types

> GPU types the caller could dispatch a dedicated FFT run on.

Reserved types (a live cluster the principal holds an allocation on
or owns) PLUS the purchasable on-demand types, because placement is
derived per GPU type, not per account: `_prefers_owned_capacity`
sends a caller to reserved capacity only for the types they already
own, and everything else falls through to the billed shared pool.
Listing reserved alone made this endpoint the odd one out — a
caller holding H100/H200 allocations saw no RTX_PRO_6000B_96GB here
while `available-fft-models` listed RTX models and RTX on-demand
capacity, and dispatch accepted `--gpu-type RTX_PRO_6000B_96GB`
fine. Its own rejection message points callers back at this list.

Same principal collapse as the dispatch picker (team wins when
present, otherwise personal) so what the dropdown offers matches
what dispatch would land on. When `team_id` is set the caller must
be a team member, matching the create-run gate.

The on-demand half is filtered exactly as `available-fft-models`
filters its rate cards: types the principal already owns are
dropped (they are reserved for this caller and never billed), and a
type contributes only when a cluster actually offers pool capacity
for it. So `on_demand_gpu_types` is disjoint from the reserved ones
and marks which entries are billed per GPU-hour.



## OpenAPI

````yaml https://api.primeintellect.ai/openapi.json get /api/v1/training/available-gpu-types
openapi: 3.1.0
info:
  title: PI API
  version: 0.1.0
servers:
  - url: https://api.primeintellect.ai
security: []
paths:
  /api/v1/training/available-gpu-types:
    get:
      tags:
        - training
      summary: Get Available Gpu Types
      description: |-
        GPU types the caller could dispatch a dedicated FFT run on.

        Reserved types (a live cluster the principal holds an allocation on
        or owns) PLUS the purchasable on-demand types, because placement is
        derived per GPU type, not per account: `_prefers_owned_capacity`
        sends a caller to reserved capacity only for the types they already
        own, and everything else falls through to the billed shared pool.
        Listing reserved alone made this endpoint the odd one out — a
        caller holding H100/H200 allocations saw no RTX_PRO_6000B_96GB here
        while `available-fft-models` listed RTX models and RTX on-demand
        capacity, and dispatch accepted `--gpu-type RTX_PRO_6000B_96GB`
        fine. Its own rejection message points callers back at this list.

        Same principal collapse as the dispatch picker (team wins when
        present, otherwise personal) so what the dropdown offers matches
        what dispatch would land on. When `team_id` is set the caller must
        be a team member, matching the create-run gate.

        The on-demand half is filtered exactly as `available-fft-models`
        filters its rate cards: types the principal already owns are
        dropped (they are reserved for this caller and never billed), and a
        type contributes only when a cluster actually offers pool capacity
        for it. So `on_demand_gpu_types` is disjoint from the reserved ones
        and marks which entries are billed per GPU-hour.
      operationId: get_available_gpu_types_api_v1_training_available_gpu_types_get
      parameters:
        - name: team_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Optional team ID. When set, returns GPU types across the team's
              ClusterAllocations. When omitted, uses the caller's personal
              allocations.
            title: Team Id
          description: >-
            Optional team ID. When set, returns GPU types across the team's
            ClusterAllocations. When omitted, uses the caller's personal
            allocations.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailableGpuTypesResponse'
        '401':
          description: Authorization failed
        '422':
          description: Invalid request data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    AvailableGpuTypesResponse:
      properties:
        gpuTypes:
          items:
            type: string
          type: array
          title: Gputypes
          description: >-
            Sorted, distinct list of dispatchable gpuType values, reserved and
            on-demand combined.
        onDemandGpuTypes:
          items:
            type: string
          type: array
          title: Ondemandgputypes
          description: >-
            Subset of `gpuTypes` the caller has no reserved capacity for, so a
            run on them is placed on the shared pool and billed per GPU-hour.
            Disjoint from the reserved entries.
      type: object
      title: AvailableGpuTypesResponse
      description: |-
        GPU types the caller could dispatch a dedicated FFT run on.

        Powers the "select a GPU type" dropdown at dispatch time so the UI
        only offers types the caller could actually land on. That is the
        union of two placement paths, because dispatch derives the path per
        GPU type: reserved types (cordon + heartbeat freshness + non-zero
        ClusterAllocation on the principal, or team-owned cluster) and
        on-demand types the caller can buy.
    ErrorResponse:
      properties:
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Errors
      type: object
      required:
        - errors
      title: ErrorResponse
    ErrorDetail:
      properties:
        param:
          type: string
          title: Param
        details:
          type: string
          title: Details
      type: object
      required:
        - param
        - details
      title: ErrorDetail
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````