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

# Preview k8s cluster price

> Preview the billing price for a cluster based on the provided configuration.



## OpenAPI

````yaml /api-reference/services_documented/cloud_api.yaml post /cloud/v2/pricing/{project_id}/{region_id}/k8s/clusters
openapi: 3.1.0
info:
  title: Gcore OpenAPI – Cloud API
  description: >-
    This OpenAPI is an aggregated OpenAPI specification that unifies all Gcore
    products into a single file. It covers Cloud, CDN, DNS, WAAP, DDoS
    Protection, Object Storage, Streaming, and FastEdge services.
  version: '2026-05-15T06:37:28.230198+00:00'
servers:
  - url: https://api.gcore.com
security:
  - APIKey: []
tags:
  - name: Bare Metal
    x-displayName: Bare Metal
  - name: Container as a Service
    x-displayName: Container as a Service
  - name: Cost Reports
    x-displayName: Cost Reports
  - name: DDoS Protection
    x-displayName: DDoS Protection
  - name: Everywhere Inference
    x-displayName: Everywhere Inference
  - name: Everywhere Inference Apps
    x-displayName: Everywhere Inference Apps
  - name: File Shares
    x-displayName: File Shares
  - name: Floating IPs
    x-displayName: Floating IPs
  - name: Function as a Service
    x-displayName: Function as a Service
  - name: GPU Bare Metal
    x-displayName: GPU Bare Metal
  - name: GPU Virtual
    x-displayName: GPU Virtual
  - name: IP Ranges
    x-displayName: IP Ranges
  - name: Images
    x-displayName: Images
  - name: Instances
    x-displayName: Instances
  - name: Load Balancers
    x-displayName: Load Balancers
  - name: Logging
    x-displayName: Logging
  - name: Managed Kubernetes
    x-displayName: Managed Kubernetes
  - name: Managed PostgreSQL
    x-displayName: Managed PostgreSQL
  - name: Networks
    x-displayName: Networks
  - name: Placement Groups
    x-displayName: Placement Groups
  - name: Projects
    x-displayName: Projects
  - name: Quotas
    x-displayName: Quotas
  - name: Regions
    x-displayName: Regions
  - name: Registry
    x-displayName: Registry
  - name: Reservations
    x-displayName: Reservations
  - name: Reserved IPs
    x-displayName: Reserved IPs
  - name: Routers
    x-displayName: Routers
  - name: SSH Keys
    x-displayName: SSH Keys
  - name: Secrets
    x-displayName: Secrets
  - name: Security Groups
    x-displayName: Security Groups
  - name: Snapshot Schedules
    x-displayName: Snapshot Schedules
  - name: Snapshots
    x-displayName: Snapshots
  - name: Tasks
    x-displayName: Tasks
  - name: User Actions
    x-displayName: User Actions
  - name: User Role Assignments
    x-displayName: User Role Assignments
  - name: Volumes
    x-displayName: Volumes
paths:
  /cloud/v2/pricing/{project_id}/{region_id}/k8s/clusters:
    post:
      tags:
        - Managed Kubernetes
      summary: Preview k8s cluster price
      description: >-
        Preview the billing price for a cluster based on the provided
        configuration.
      operationId: K8sClusterPricingPreviewHandlerV2.post
      parameters:
        - in: path
          name: project_id
          required: true
          description: Project ID
          schema:
            description: Project ID
            example: 1
            examples:
              - 1
            format: int64
            title: Project Id
            type: integer
        - in: path
          name: region_id
          required: true
          description: Region ID
          schema:
            description: Region ID
            example: 1
            examples:
              - 1
            format: int64
            title: Region Id
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/K8sClusterPricingRequestV2Serializer'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourcesPricingResponseV2Serializer'
components:
  schemas:
    K8sClusterPricingRequestV2Serializer:
      example:
        pools:
          - flavor_id: g0-standard-1-2
            node_count: 1
      examples:
        - pools:
            - flavor_id: g0-standard-1-2
              node_count: 1
      properties:
        pools:
          description: Cluster pools
          items:
            $ref: '#/components/schemas/K8sClusterPoolPricingRequestV2Serializer'
          title: Pools
          type: array
      required:
        - pools
      title: K8sClusterPricingRequestV2Serializer
      type: object
    ResourcesPricingResponseV2Serializer:
      description: Pricing scheme for various resources
      example:
        instances:
          - currency_code: USD
            discount_percent: 0.16
            price_per_hour: 1
            price_per_month: 720
            price_status: show
            price_without_discount_per_month: 604.8
            tax_percent: 17
        publicips:
          - currency_code: USD
            discount_percent: 0.16
            price_per_hour: 1
            price_per_month: 720
            price_status: show
            price_without_discount_per_month: 604.8
            tax_percent: 17
        total_price:
          currency_code: USD
          discount_percent: 0.16
          price_per_hour: 1
          price_per_month: 720
          price_status: show
          price_without_discount_per_month: 604.8
          tax_percent: 17
        volumes:
          - currency_code: USD
            discount_percent: 0.16
            price_per_hour: 1
            price_per_month: 720
            price_status: show
            price_without_discount_per_month: 604.8
            tax_percent: 17
      examples:
        - instances:
            - currency_code: USD
              discount_percent: 0.16
              price_per_hour: 1
              price_per_month: 720
              price_status: show
              price_without_discount_per_month: 604.8
              tax_percent: 17
          publicips:
            - currency_code: USD
              discount_percent: 0.16
              price_per_hour: 1
              price_per_month: 720
              price_status: show
              price_without_discount_per_month: 604.8
              tax_percent: 17
          total_price:
            currency_code: USD
            discount_percent: 0.16
            price_per_hour: 1
            price_per_month: 720
            price_status: show
            price_without_discount_per_month: 604.8
            tax_percent: 17
          volumes:
            - currency_code: USD
              discount_percent: 0.16
              price_per_hour: 1
              price_per_month: 720
              price_status: show
              price_without_discount_per_month: 604.8
              tax_percent: 17
      properties:
        instances:
          items:
            $ref: '#/components/schemas/ItemPriceResponseSerializer'
          title: Instances
          type: array
        publicips:
          items:
            $ref: '#/components/schemas/ItemPriceResponseSerializer'
          title: Publicips
          type: array
        total_price:
          $ref: '#/components/schemas/ItemPriceResponseSerializer'
        volumes:
          items:
            $ref: '#/components/schemas/ItemPriceResponseSerializer'
          title: Volumes
          type: array
      required:
        - instances
        - volumes
        - publicips
        - total_price
      title: ResourcesPricingResponseV2Serializer
      type: object
    K8sClusterPoolPricingRequestV2Serializer:
      example:
        boot_volume_size: 10
        boot_volume_type: ssd_hiiops
        flavor_id: g0-standard-1-2
        node_count: 1
      examples:
        - boot_volume_size: 10
          boot_volume_type: ssd_hiiops
          flavor_id: g0-standard-1-2
          node_count: 1
      properties:
        boot_volume_size:
          anyOf:
            - maximum: 2000
              minimum: 10
              type: integer
            - type: 'null'
          default: null
          description: Size (in GiB) of the boot volume. Required for virtual instances.
          title: Boot Volume Size
        boot_volume_type:
          anyOf:
            - $ref: '#/components/schemas/VolumeType'
            - type: 'null'
          default: null
          description: Type of the boot volume. Required for virtual instances.
        flavor_id:
          description: Flavor ID.
          title: Flavor Id
          type: string
        is_public_ipv4:
          default: false
          description: Enable public v4 address.
          title: Is Public Ipv4
          type: boolean
        node_count:
          default: 1
          description: Minimum node count.
          maximum: 200
          minimum: 1
          title: Node Count
          type: integer
      required:
        - flavor_id
      title: K8sClusterPoolPricingRequestV2Serializer
      type: object
    ItemPriceResponseSerializer:
      description: Response with prices per hour and per month
      example:
        currency_code: USD
        discount_percent: 0.16
        price_per_hour: 1
        price_per_month: 720
        price_status: show
        price_without_discount_per_month: 604.8
        tax_percent: 17
      examples:
        - currency_code: USD
          discount_percent: 0.16
          price_per_hour: 1
          price_per_month: 720
          price_status: show
          price_without_discount_per_month: 604.8
          tax_percent: 17
      properties:
        currency_code:
          anyOf:
            - enum:
                - AZN
                - EUR
                - USD
              type: string
            - type: 'null'
          description: Currency code (3 letter code per ISO 4217)
          title: Currency Code
        discount_percent:
          anyOf:
            - type: number
            - type: 'null'
          description: Actual discount relative value
          examples:
            - 0.16
          title: Discount Percent
        price_per_hour:
          anyOf:
            - type: number
            - type: 'null'
          description: Price of the item charged per hour
          examples:
            - 1
          title: Price Per Hour
        price_per_month:
          anyOf:
            - type: number
            - type: 'null'
          description: Price of the item charged per month
          examples:
            - 720
          title: Price Per Month
        price_status:
          $ref: '#/components/schemas/PriceDisplayStatus'
          description: Price status for the UI
          examples:
            - show
        price_without_discount_per_month:
          anyOf:
            - type: number
            - type: 'null'
          description: Total price VAT inclusive per month without discount
          examples:
            - 604.8
          title: Price Without Discount Per Month
        tax_percent:
          description: Tax rate applied to the subtotal, represented as a percentage
          example: 0
          examples:
            - 0
            - 17
            - 12
          title: Tax Percent
          type: number
      required:
        - currency_code
        - price_per_hour
        - price_per_month
        - price_without_discount_per_month
        - discount_percent
        - price_status
        - tax_percent
      title: ItemPriceResponseSerializer
      type: object
    VolumeType:
      enum:
        - cold
        - ssd_hiiops
        - ssd_local
        - ssd_lowlatency
        - standard
        - ultra
      title: VolumeType
      type: string
    PriceDisplayStatus:
      enum:
        - error
        - hide
        - show
      title: PriceDisplayStatus
      type: string
  securitySchemes:
    APIKey:
      description: >-
        API key for authentication. Make sure to include the word `apikey`,
        followed by a single space and then your token.

        Example: `apikey 1234$abcdef`
      type: apiKey
      in: header
      name: Authorization

````