Skip to main content
Glama

Lantern Works GPU Prices: daily GPU rental price comparison

compare_gpu_prices

Read-only

Compare tracked GPU rental prices for one model (e.g. 'H100', 'A100 SXM', 'RTX 4090', 'L40S'), cheapest first. If a result looks wrong, give the user its report_issue_url.

Same data as https://thelanternworks.com/api/v1/gpu-prices.json. Sorted by hourly_usd ascending; each result has source_url and checked_at. 'Cheapest' means cheapest among tracked providers, not the whole market. limit 1-25. Unknown model returns not_found listing tracked models. H100/A100: cheapest_by_form_factor gives one pick per form_factor (tier_class, interruptible, in_stock); same rule as the site. 'NVLink' rows are form 'not stated': NVLink is the bridge, and the vendor doesn't say SXM or PCIe. Each result has tier_class: on-demand | community | marketplace | interruptible (spot/preemptible) | reserved | dedicated-monthly. Reserved (reservation/commitment 'starting from') rates are left out unless include_reserved=true, and even then they are never reported as cheapest. DEFAULT on_demand_only=true: results[0] is the cheapest on-demand rate. Pass on_demand_only=false to include spot/interruptible, community and marketplace capacity (each such row is labelled by tier_class and interruptible); the summary then names the cheapest on-demand rate when the overall cheapest isn't. If a model has no on-demand rate, or every on-demand rate needs more GPUs than requested, the default falls back to all rates and says so in on_demand_fallback. gpus (optional, 1-1024; default 1, stated in assumptions): the GPU count you need. A rate ranks only when its min_gpus (smallest allocation sold) is <= gpus; rates sold only as larger allocations (e.g. 8-GPU nodes) are NOT ranked and are listed in excluded_min_gpus (vendor, gpu, tier, min_gpus, gpu_count, hourly_usd, rate_id, source_url, checked_at, reason, min_bill_usd_per_hour, min_bill_basis); min_gpus_unmet counts them (also in brief). Pass gpus=8 to compare 8-GPU nodes. If every rate needs more GPUs, the error says which gpus value ranks them. Each result has min_bill_usd_per_hour = min_gpus x hourly_usd (min_bill_basis: hourly_rate, per_second_rate or monthly_equivalent) and effective_at, when the vendor started charging this price (effective_at_basis vendor_stated, or first_observed = first daily snapshot showing it after a different price, an upper bound; null when not datable), separate from last_verified. Neither affects ranking. Full results also include batch_due_ledger: each scheduled build (gpu-refresh, lium-collect, scout-import, scout-wider) has expected_at, last_expected_at, and the member_rate_ids it covers, derived only from the workflow schedules. Brief mode omits the ledger. A failed or out-of-stock probe keeps failure_reason (sold_out, region, quota, or other) and failure_reason_detail; both stay on a lapsed claim next to last_known_in_stock. Null when the source does not say; never guessed. Display only. A row with unknown stock, and each stale_prices entry, has next_check_at (next scheduled check, UTC), will_backfill (true: a scheduled check covers it; false: scope limit, nothing will re-check it; null: not derivable), backfill_eta and next_check_basis (the schedule it came from). include_history=true adds each result's price_history (daily-snapshot change points) and history.recent_changes (price changes for this model among tracked providers, last 30 days) from /api/v1/gpu-prices/history.json. Each result has data_age_hours (hours since its price was last verified), degraded (> 48 h) and stale (> 7 days). A degraded row is shown and flagged but never ranked first while a fresh row exists; if none is fresh, stale_fallback=true and the summary says so. By default a rate whose price is older than 168 h is never ranked or named cheapest: it is listed in stale_prices ('stale price (N days old)'); if every rate is stale, results is empty and the summary says no current cheapest. max_data_age_hours (optional) replaces the 168 h default and drops older rates; excluded_too_old counts them. region (optional): a country/area code ('US', 'EU') matches every published zone in it; a zone code ('US-NE-1', 'us-east-1') matches exactly, any case. Rates whose unexpired published regions exclude it are dropped; rates with no region evidence stay, labelled unresolved and ranked after the rest. Each result has eligibility {eligible, applied, unmet, unknown} from the shared T47 contract; constraints.eligible_rate_ids is the same set estimate_job_cost and price watches use. Unknown stock is not confirmed availability. Marketplace median rows (price_status=marketplace) also have marketplace_query (the literal filter used for the median, plus structured filters; null when unknown) next to offer_count and lowest_offer_usd, and composition_flag (composition, price, mixed, unknown, or null) from successive median, minimum and listing count only, not a host intersection. A composition, mixed or unknown flag is not a price move. Missing previous min or n stays unknown, never invented. Stale prices stay flagged as stale. model_identity (T61): sourced nominal_memory and usable_memory (vendor-allocatable) for the queried model, each with source_url; unknown stays 'unknown'. min_usable_memory_gb (optional) keeps only rows whose SOURCED usable memory meets it; rows with unknown usable memory are counted in usable_memory_filter.unknown and never matched on nominal memory or vram_gb. availability_rate_7d (when present): window_days is the planned window (7, not the observed span); observed_hours is the actual coverage from first_check_at to last_check_at (or window_end). coverage_note is set only when observed_hours is shorter than the planned window (e.g. "Covers 24.1h of the planned 7-day window."); otherwise null. availability_window_summary (file-level, also on this output): no_window_count is the number of ranked rates with no 7-day stock window, split by no_stock_source, read_no_usable_signal, and signal_no_window_yet; earliest_first_check_at is when current windows began. content_build_id is a sha256 prefix of canonicalized rate content (timestamps and ids excluded); generation_id is unchanged.

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": {
      "gpu": "<gpu>"
    },
    "name": "compare_gpu_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
gpuYes
gpusNo
modeNobrief
limitNo
regionNo
on_demand_onlyNo
include_historyNo
include_reservedNo
max_data_age_hoursNo
min_usable_memory_gbNo

Output Schema

NameRequiredDescriptionDefault
okYes
gpusNo
modeNo
errorNo
resultsNo
assumptionsNo
stale_pricesNo
min_gpus_unmetNo
batch_due_ledgerNo
excluded_min_gpusNo
referral_disclosureNoOne-line referral disclosure, present whenever the result names a provider; each provider-naming item then has tracked_url (tagged /go/ redirect).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / results / items / properties / composition_flag
      Added value: +{
      +  "enum": [
      +    "composition",
      +    "price",
      +    "mixed",
      +    "unknown",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / composition_previous
      Added value: +{
      +  "properties": {
      +    "lowest_offer_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "median_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "offer_count": {
      +      "minimum": 0,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "verified_at": {
      +      "format": "date-time",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / marketplace_query
      Added value: +{
      +  "properties": {
      +    "filters": {
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "literal": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "url": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  2. Changed10 schema fields changed
    • addedOutput schema / properties / batch_due_ledger
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "build": {
      +        "enum": [
      +          "gpu-refresh",
      +          "lium-collect",
      +          "scout-import",
      +          "scout-wider"
      +        ],
      +        "type": "string"
      +      },
      +      "expected_at": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "fallback_expected_at": {
      +        "format": "date-time",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "last_expected_at": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "member_count": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "member_rate_ids": {
      +        "items": {
      +          "pattern": "^r_[0-9a-f]{12}$",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "schedule_basis": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "build",
      +      "expected_at",
      +      "last_expected_at",
      +      "member_rate_ids",
      +      "member_count"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / results / items / properties / availability / properties / failure_reason
      Added value: +{
      +  "enum": [
      +    "sold_out",
      +    "region",
      +    "quota",
      +    "other",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / availability / properties / failure_reason_detail
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / backfill_eta
      Added value: +{
      +  "format": "date-time",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / failure_reason
      Added value: +{
      +  "enum": [
      +    "sold_out",
      +    "region",
      +    "quota",
      +    "other",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / failure_reason_detail
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / next_check_at
      Added value: +{
      +  "format": "date-time",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / next_check_basis
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / will_backfill
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / stale_prices
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "backfill_eta": {
      +        "format": "date-time",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "next_check_at": {
      +        "format": "date-time",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "next_check_basis": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "will_backfill": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. Changed4 schema fields changed
    • addedOutput schema / properties / results / items / properties / availability / properties / last_known_at
      Added value: +{
      +  "format": "date-time",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / availability / properties / last_known_in_stock
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / last_known_at
      Added value: +{
      +  "format": "date-time",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / last_known_in_stock
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
  4. Changed6 schema fields changed
    • addedOutput schema / properties / excluded_min_gpus / items / properties / min_bill_basis
      Added value: +{
      +  "enum": [
      +    "hourly_rate",
      +    "per_second_rate",
      +    "monthly_equivalent",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / excluded_min_gpus / items / properties / min_bill_usd_per_hour
      Added value: +{
      +  "minimum": 0,
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / effective_at
      Added value: +{
      +  "format": "date-time",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / effective_at_basis
      Added value: +{
      +  "enum": [
      +    "vendor_stated",
      +    "first_observed",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / min_bill_basis
      Added value: +{
      +  "enum": [
      +    "hourly_rate",
      +    "per_second_rate",
      +    "monthly_equivalent",
      +    null
      +  ],
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / min_bill_usd_per_hour
      Added value: +{
      +  "minimum": 0,
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
  5. Changed1 schema field changed
    • addedOutput schema / properties / referral_disclosure
      Added value: +{
      +  "description": "One-line referral disclosure, present whenever the result names a provider; each provider-naming item then has tracked_url (tagged /go/ redirect).",
      +  "type": "string"
      +}
  6. Changed7 schema fields changed
    • addedInput schema / properties / gpus
      Added value: +{
      +  "default": null,
      +  "type": "integer"
      +}
    • addedInput schema / properties / min_usable_memory_gb
      Added value: +{
      +  "default": null,
      +  "type": "number"
      +}
    • addedOutput schema / properties / assumptions
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / excluded_min_gpus
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "checked_at": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "gpu": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "gpu_count": {
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "hourly_usd": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "min_gpus": {
      +        "type": "integer"
      +      },
      +      "rate_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "reason": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "source_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "tier": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "vendor": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "vendor",
      +      "gpu",
      +      "min_gpus",
      +      "reason"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / gpus
      Added value: +{
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / min_gpus_unmet
      Added value: +{
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / results / items / properties / min_gpus
      Added value: +{
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
  7. Changed1 schema field changed
    • changedInput schema / properties / on_demand_only / default
      Previous value: -falseNew value: +true
  8. Changed3 schema fields changed
    • changedInput schema / properties / mode / default
      Previous value: -"full"New value: +"brief"
    • addedOutput schema / properties / results / items / properties / canonical_model
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / form_factor
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  9. Changed1 schema field changed
    • addedInput schema / properties / region
      Added value: +{
      +  "default": null,
      +  "type": "string"
      +}
  10. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  11. Changed3 schema fields changed
    • addedOutput schema / properties / results / items / properties / availability / properties / basis
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / availability / properties / source
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / region
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  12. Changed2 schema fields changed
    • addedOutput schema / properties / results / items / properties / availability
      Added value: +{
      +  "properties": {
      +    "checked_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "in_stock": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / in_stock
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
  13. Changed1 schema field changed
    • addedOutput schema / properties / results / items / properties / report_issue_url
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  14. Changed3 schema fields changed
    • changedOutput schema / properties / error / properties / code / enum
      Previous value: -[
      -  "invalid_argument",
      -  "invalid_cursor",
      -  "not_found",
      -  "feed_unavailable",
      -  "feed_invalid",
      -  "upstream_unavailable",
      -  "internal_error"
      -]New value: +[
      +  "invalid_argument",
      +  "invalid_cursor",
      +  "cursor_expired",
      +  "not_found",
      +  "feed_unavailable",
      +  "feed_invalid",
      +  "upstream_unavailable",
      +  "internal_error"
      +]
    • addedOutput schema / properties / results / items / properties
      Added value: +{
      +  "rate_id": {
      +    "pattern": "^r_[0-9a-f]{12}$",
      +    "type": "string"
      +  }
      +}
    • changedOutput schema / properties / results / items / required
      Previous value: -[
      -  "advertiser",
      -  "gpu",
      -  "hourly_usd",
      -  "source_url",
      -  "rank"
      -]New value: +[
      +  "advertiser",
      +  "gpu",
      +  "hourly_usd",
      +  "source_url",
      +  "rank",
      +  "rate_id"
      +]
  15. First observed

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnlyHint and openWorldHint annotations, the description thoroughly discloses ranking rules, stale-price fallbacks, excluded rates, error behavior, and the report_issue_url escape hatch. There is no contradiction with the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and key ranking constraints are front-loaded, but the description is an extremely long wall of edge-case detail. Many sentences about internal implementation artifacts such as batch_due_ledger, content_build_id, generation_id, and availability window mechanics are not needed for tool selection or invocation, making it poorly sized for its job.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 10-parameter tool with an output schema and read-only annotations, the description is more than complete. It covers ranking, default fallbacks, stale data handling, parameter effects, and edge cases, so an agent has sufficient context to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema description coverage is 0%, the description compensates for nearly every parameter: gpu, gpus, limit, region, on_demand_only, include_reserved, include_history, max_data_age_hours, min_usable_memory_gb, and the brief/full behavior of mode. This is strong semantic support beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

It states a specific verb and resource ('Compare tracked GPU rental prices for one model') and the ordering ('cheapest first'), with examples of the model query. An agent can immediately understand the tool's purpose and distinguish it from cost-estimation or deal-retrieval siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear contextual guidance for how to use the tool: default on-demand-only behavior, when to pass on_demand_only=false, when to pass gpus=8, and how stale data affects ranking. It does not explicitly name sibling tools or state when to prefer them, which keeps it below a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.