# Get current v2 pricing

> Retrieve current hourly pricing information for compute resources using mode-less spec keys



## OpenAPI

````yaml ${THUNDER_API_BASE}/openapi.json get /v2/pricing
openapi: 3.1.0
info:
  contact:
    email: support@thundercompute.one
    name: Thunder Compute API Support
    url: https://www.thundercompute.one/contact
  description: >-
    Retrieve current GPU availability using mode-less spec keys

    Recommended for new integrations. The /status and /v1/status endpoints
    retain their legacy configuration keys for compatibility.
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: http://swagger.io/terms/
  title: Thunder Compute API
  version: '1.0'
servers:
  - description: Production server
    url: ${THUNDER_API_BASE}/v1
  - description: Production server
    url: ${THUNDER_API_BASE}
security: []
externalDocs:
  description: ''
  url: ''
paths:
  /v2/pricing:
    get:
      tags:
        - Utilities
      summary: Get current v2 pricing
      description: >-
        Retrieve current hourly pricing information for compute resources using
        mode-less spec keys
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/thundertypes.PricingResponse'
          description: OK
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/thundertypes.ErrorResponse'
          description: Internal Server Error
      servers:
        - description: Production server
          url: ${THUNDER_API_BASE}
components:
  schemas:
    thundertypes.PricingResponse:
      properties:
        pricing:
          $ref: '#/components/schemas/thundertypes.PricingMap'
      type: object
    thundertypes.ErrorResponse:
      properties:
        code:
          example: 400
          type: integer
        error:
          example: invalid_request
          type: string
        message:
          example: The request is malformed
          type: string
      type: object
    thundertypes.PricingMap:
      additionalProperties:
        type: number
      type: object

````
