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

# Locations a deployment can run in, the GPUs sold there, and storage pricing

> Our own list of locations and the GPU classes sold in each. Locations form a tree -- today anywhere, then a continent, a country, a region and a datacenter, and the set of levels is open -- and a deployment may name ANY node of it, at any level. By default only the datacenters are listed, and levels=all returns the whole tree. A continent or a region row carries what is sold anywhere inside it, priced as pricePerHourUsd describes and with no stock hint, since a stock hint belongs to one provider in one datacenter. A location nothing is sold in, anywhere beneath it, is absent. The compute provider decides none of this: it is asked only what stock it currently has, so a failed provider read costs the availability hints and nothing else. Briefly cached.

The answer varies by workspace. A GPU class closed to new deployments in the caller's workspace keeps its rows but carries status at_capacity on each row no other provider serves it at (GpuInfo.status), so one workspace's answer must not be reused for another.

Also carries the storage display rates, so a picker can price a deployment's storage from the same call it prices its GPU from.




## OpenAPI

````yaml /openapi-deploy.yaml get /v1/compute-catalog
openapi: 3.0.3
info:
  title: Comfy Deploy API
  version: 0.1.0
  description: >
    Deploy takes an immutable release cut by Builder and runs it as a live
    autoscaling serverless endpoint.
servers:
  - url: https://platformapi.comfy.org/deploy
    description: Comfy Developer Platform
security:
  - BearerAuth: []
  - ApiKeyAuth: []
paths:
  /v1/compute-catalog:
    get:
      summary: >-
        Locations a deployment can run in, the GPUs sold there, and storage
        pricing
      description: >
        Our own list of locations and the GPU classes sold in each. Locations
        form a tree -- today anywhere, then a continent, a country, a region and
        a datacenter, and the set of levels is open -- and a deployment may name
        ANY node of it, at any level. By default only the datacenters are
        listed, and levels=all returns the whole tree. A continent or a region
        row carries what is sold anywhere inside it, priced as pricePerHourUsd
        describes and with no stock hint, since a stock hint belongs to one
        provider in one datacenter. A location nothing is sold in, anywhere
        beneath it, is absent. The compute provider decides none of this: it is
        asked only what stock it currently has, so a failed provider read costs
        the availability hints and nothing else. Briefly cached.


        The answer varies by workspace. A GPU class closed to new deployments in
        the caller's workspace keeps its rows but carries status at_capacity on
        each row no other provider serves it at (GpuInfo.status), so one
        workspace's answer must not be reused for another.


        Also carries the storage display rates, so a picker can price a
        deployment's storage from the same call it prices its GPU from.
      operationId: getComputeCatalog
      parameters:
        - name: levels
          in: query
          required: false
          schema:
            type: string
          description: >-
            Which levels of the location tree to list. "all", in any case,
            returns every level, each row carrying its level and its parent.
            Absent returns the datacenters alone with neither field, which is
            what a client written before the tree existed expects. Any other
            value is a 400: silently answering it with the flat shape reads to a
            client as a service too old to have the tree at all.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComputeCatalog'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '503':
          $ref: '#/components/responses/KeyUnverified'
components:
  schemas:
    ComputeCatalog:
      type: object
      required:
        - regions
      properties:
        regions:
          type: array
          description: >
            Locations a deployment can be created in, and the GPUs sold in each,
            in tree order. Datacenters alone unless the request asked for all
            levels, in which case a continent and a region come before the
            datacenters under them. A location that sells nothing anywhere
            beneath it is absent, so every parent names a row that is here.
          items:
            $ref: '#/components/schemas/CatalogRegion'
        requestable:
          type: array
          description: >
            GPU classes the catalog names that no location is serving right now,
            listed without a location so a client can record interest in them. A
            deployment naming one is refused, and they carry no price, nothing
            being on sale to quote. Always present, an empty array included:
            read the field's presence, not its length, since it is the statement
            that the menu was narrowed deliberately rather than arriving short
            by accident.
          items:
            $ref: '#/components/schemas/GpuInfo'
        storage:
          type: array
          description: >
            Display pricing for storage, in published-table order. Provider
            independent and served even when the GPU catalog is empty, since the
            rates are static. Absent only when the service could not load its
            storage rates.
          items:
            $ref: '#/components/schemas/StorageRate'
    CatalogRegion:
      type: object
      required:
        - region
        - label
        - gpus
      properties:
        region:
          type: string
          description: >-
            The location's own name, at whatever level of the tree it sits (e.g.
            north-america, us-central). Pass it as computeConfig.region.
        label:
          type: string
          description: >-
            Display name for the location, equal to region unless the catalog
            gives the location a name of its own.
        level:
          type: string
          description: >-
            What this location is: global, continent, country, region or
            datacenter today. Present only when the request asked for all
            levels. It is a LABEL TO SHOW AND AN OPEN SET, never a closed enum
            to switch on: a level can be added between two that exist, and two
            branches of the tree need not be the same depth. Rank locations by
            walking parent, which is the nesting itself, rather than by the
            level's name.
        parent:
          type: string
          description: >-
            The region value of the location containing this one, absent at the
            top of the tree. Always names a location present in the same
            response, so the chain can be walked without a lookup that comes up
            empty. Present only when the request asked for all levels.
        gpus:
          type: array
          description: >-
            GPU classes sold in this location or anywhere beneath it, so a
            continent offers what any provider sells at some datacenter inside
            it. A class we hold reserved capacity for is listed whatever the
            provider's stock says, so availability is a hint on the row and not
            a filter over it; one we do not is listed only where the provider
            currently reports stock. Never empty: a location selling nothing
            anywhere beneath it is absent from the response.
          items:
            $ref: '#/components/schemas/GpuInfo'
    GpuInfo:
      type: object
      required:
        - gpuClass
        - label
        - vramGb
      properties:
        gpuClass:
          type: string
          description: Value to pass as computeConfig.gpuClass.
        label:
          type: string
        vramGb:
          type: integer
        availability:
          type: string
          description: >-
            Relative availability hint (High / Medium / Low), passed through as
            the provider words it and datacenter-specific. Absent when no read
            supplied one for this pair, either before the first provider read
            lands or for a reserved pair the provider is not currently listing.
            Absent means unknown, not none: the pair is still deployable. Never
            present on a requestable entry, nor on a continent or a region, a
            stock level being one provider's statement about one datacenter, nor
            on an entry whose status is at_capacity.
        status:
          type: string
          enum:
            - at_capacity
          x-enum-varnames:
            - GpuStatusAtCapacity
          description: >-
            Whether a new deployment can start on this class at this location
            right now. Absent means it can. at_capacity means it cannot, at this
            location or anywhere beneath it: a create, a deploy estimate, or an
            edit or move onto the class here is refused with 400 "is not
            available right now; choose a different GPU". The entry keeps its
            row and its price so a picker can show the class as at capacity
            rather than losing it, and the class is not listed under requestable
            for this reason. A deployment already on the class keeps running,
            starts and edits. Per location: read a class as at capacity only
            when every row that lists it says at_capacity, since one row without
            it can take the deployment. Never present on a requestable entry. A
            client reads a value it does not know as available.
        pricePerHourUsd:
          type: number
          format: double
          description: >-
            Display price shown in the picker. This is not a billing guarantee:
            usage is billed separately from this table, and the two can diverge.
            Present on every row inside regions[], where the price is what makes
            the card sellable at all, and absent on every requestable entry,
            nothing being on sale there to quote. On a continent or a region row
            it is that location's own price where a provider sells the class at
            the location itself, and otherwise the cheapest price among the
            datacenters beneath it that sell the class, that being the figure we
            can honour wherever inside it the deployment lands.
        creditsPerHour:
          type: number
          format: double
          description: >-
            pricePerHourUsd converted to credits at 211 credits per USD. Absent
            under the same condition as pricePerHourUsd.
    StorageRate:
      type: object
      required:
        - storageType
        - label
        - pricePerGbMonthUsd
        - creditsPerGbMonth
      properties:
        storageType:
          type: string
          description: >-
            Stable id for this row (e.g. network_standard). Not a request
            parameter -- nothing selects storage by type today; it is here so a
            client can key on a row without matching on its label.
        label:
          type: string
          description: Human-readable tier name, as the published pricing table words it.
        pricePerGbMonthUsd:
          type: number
          format: double
          description: >-
            Display price shown in the picker, per GB per month. Carries the
            same caveat as GpuInfo.pricePerHourUsd: this is not a billing
            guarantee.
        creditsPerGbMonth:
          type: number
          format: double
          description: >-
            pricePerGbMonthUsd converted to credits at 211 credits per USD.
            Exact quotient -- the published table renders it to two decimals.
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Machine-readable error code.
        message:
          type: string
          description: Human-readable detail.
  responses:
    BadRequest:
      description: >
        Invalid request (INVALID_REQUEST), or RELEASE_AND_SOURCE_BOTH when an
        update names both a release and a source deployment.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid token (UNAUTHORIZED)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >
        Caller's workspace does not own the resource (FORBIDDEN), or an API key
        was refused because its user may not use it, its workspace was deleted
        or blocked, or its account is on the free tier or is being deleted. The
        message says which.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: >
        Unknown id, or not in the caller's workspace (NOT_FOUND). An API key
        also gets this when its workspace no longer exists or its user is no
        longer a member.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    KeyUnverified:
      description: >
        The request could not be served now (SERVICE_UNAVAILABLE), and the same
        request may succeed if retried. Either a workspace API key could not be
        verified, because the key check gave no answer, or because the service
        was already checking as many keys as it will at once, overall or from
        the caller's address, which carries Retry-After; or the request ran past
        the service's request deadline, 30 seconds by default and 120 for a
        model add, and was cut off; or a model add could not read another
        deployment's storage to check which disk it mounts. The body's message
        says which.
      headers:
        Retry-After:
          description: >
            Seconds to wait before retrying; sent when the service refused the
            key check because too many were in flight.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: A workspace-scoped Cloud JWT.
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >
        A workspace API key, sent alone. The service checks it on every request
        and acts as the key's user in the key's workspace. A request carrying a
        key and a Bearer token is 400, and a value that is not a key's shape is
        401. A refused key answers 401, 403 or 404 with its message; a 503 means
        the key could not be checked right now, so retry.

````

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