Skip to main content
Glama

CoreHu GPU Cloud

Estimate job cost

estimate_cost
Read-onlyIdempotent

Estimate the USD cost of running a GPU model for a number of hours on CoreHu, from the cheapest free machine right now. Estimate only; nothing is reserved. available=false means no matching machine is free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "gpuModel": "<gpuModel>",
      "hours": "<hours>"
    },
    "name": "estimate_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursYesHow many hours the job runs
gpuCountNoNumber of GPUs in one machine (1–16, default 1)
gpuModelYesExact GPU model name as shown by get_gpu_prices, e.g. "RTX 4090"

Output Schema

NameRequiredDescriptionDefault
noteNo
hoursNo
offerNo
messageNo
estimateNo
gpuCountNo
gpuModelNo
availableYes
catalogUrlNo
estimatedUsdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / offer / properties / diskGb
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Disk space in GB this machine offers; a template needs its diskGb (list_templates) to fit. Null if unknown"
      +}
    • changedOutput schema / properties / offer / required
      Previous value: -[
      -  "offerId",
      -  "gpuModel",
      -  "gpuCount",
      -  "vramGbPerGpu",
      -  "country",
      -  "usdPerHour",
      -  "reliability",
      -  "rentUrl"
      -]New value: +[
      +  "offerId",
      +  "gpuModel",
      +  "gpuCount",
      +  "vramGbPerGpu",
      +  "country",
      +  "usdPerHour",
      +  "reliability",
      +  "diskGb",
      +  "rentUrl"
      +]
  2. Changed3 schema fields changed
    • changedInput schema / properties / gpuCount / description
      Previous value: -"Number of GPUs in one machine (1–16)"New value: +"Number of GPUs in one machine (1–16, default 1)"
    • changedInput schema / properties / gpuModel / description
      Previous value: -"Exact GPU model name, e.g. \"RTX 4090\""New value: +"Exact GPU model name as shown by get_gpu_prices, e.g. \"RTX 4090\""
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "available": {
      +      "type": "boolean"
      +    },
      +    "catalogUrl": {
      +      "type": "string"
      +    },
      +    "estimate": {
      +      "type": "boolean"
      +    },
      +    "estimatedUsd": {
      +      "type": "number"
      +    },
      +    "gpuCount": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "gpuModel": {
      +      "type": "string"
      +    },
      +    "hours": {
      +      "type": "number"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "offer": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "country": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "ISO 3166-1 alpha-2 country code, null if unknown"
      +        },
      +        "gpuCount": {
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        },
      +        "gpuModel": {
      +          "type": "string"
      +        },
      +        "offerId": {
      +          "description": "Offer id; pass it to prepare_rental to rent this machine",
      +          "type": "string"
      +        },
      +        "reliability": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Host reliability 0–1, null if unknown"
      +        },
      +        "rentUrl": {
      +          "description": "Page where the user can rent this offer in the browser",
      +          "type": "string"
      +        },
      +        "usdPerHour": {
      +          "description": "Hourly USD price for the whole machine, default disk included",
      +          "type": "number"
      +        },
      +        "vramGbPerGpu": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "offerId",
      +        "gpuModel",
      +        "gpuCount",
      +        "vramGbPerGpu",
      +        "country",
      +        "usdPerHour",
      +        "reliability",
      +        "rentUrl"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "available"
      +  ],
      +  "type": "object"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / gpuCount / description
      Added value: +"Number of GPUs in one machine (1–16)"
    • addedInput schema / properties / hours / description
      Added value: +"How many hours the job runs"
  4. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources