Lantern Works GPU Prices
v0.6.7Live GPU rental prices with source links and stock expiry, job cost, agent-stack pricing.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
estimate_job_cost
Recommended first call. Cost of one GPU job (not cost per hour) among tracked providers, cheapest current compute subtotal first. Example call: estimate_job_cost(gpu_family="A100", job_hours=8). The top in-stock results include a short Rent here label (`rent_here`) and `rent_url` (the counted /go/?src=mcp booking link; same target as `tracked_url`); show `rent_url` to the user and keep the top-level `referral_disclosure` visible. gpu_family (e.g. 'H100', 'A100 80GB') or its alias gpu (same name compare_gpu_prices uses) is required; if both are given they must match, else invalid_argum…
| Parameter | Type | Description |
|---|---|---|
acceptable_restarts | ||
allow_interruptible | boolean | |
checkpoint_interval_hours | ||
cost_cap_usd | ||
gpu | ||
gpu_family | ||
gpus_per_job | integer | |
job_days | ||
job_hours | ||
max_data_age_hours | ||
min_vram_gb | ||
mode | string | |
region | ||
runs_per_month | ||
throughput_units_per_gpu_hour | ||
top_n | integer | |
work_units | ||
workload |
compare_gpu_prices
Compare tracked GPU rental prices for one model (e.g. 'H100', 'A100 SXM', 'RTX 4090', 'L40S'), cheapest first. Example call: compare_gpu_prices(gpu="H100"). If a result looks wrong, give the user its report_issue_url. The top in-stock results include a short Rent here label (`rent_here`) and `rent_url` (the counted /go/?src=mcp booking link; same target as `tracked_url`); show `rent_url` to the user and keep the top-level `referral_disclosure` visible. Same data as https://thelanternworks.com/api/v1/gpu-prices.json. Sorted by hourly_usd ascending; each result has source_url and checke…
| Parameter | Type | Description |
|---|---|---|
gpu * | string | |
gpus | ||
include_history | boolean | |
include_reserved | boolean | |
limit | integer | |
max_data_age_hours | ||
min_usable_memory_gb | ||
mode | string | |
on_demand_only | boolean | |
region |
find_available_gpus
Who has N x GPU free right now among tracked providers, ranked by confirmed in-stock freshness. Example call: find_available_gpus(gpu="RTX 4090", gpus=1). Reuses the live availability already on gpu-prices.json (no new collection). available is only rows whose in_stock is still True after the call-time stale guard (8h AVAIL_MAX_AGE_H, or a shorter Scout claim lifetime). sold_out is confirmed unexpired in_stock false. Everything else is unknown with a reason (stale, static_label, no_source, no_signal, quota, region, region_unresolved, held_stale, owner_hold). last_known_in_…
| Parameter | Type | Description |
|---|---|---|
gpu * | string | |
gpus | integer | |
limit | integer | |
mode | string | |
needed_from | ||
needed_until | ||
on_demand_only | boolean | |
region | ||
vendor |
get_price_changes
GPU rental price changes among tracked providers, each with old/new hourly price, change_pct, direction, the vendor source_url, a stable event_id (dedupe key) and rate_id. Marketplace median moves also have composition_flag (composition, price, mixed, unknown, or null) from successive median, minimum and listing count; composition, mixed and unknown are not price moves. since: 'YYYY-MM-DD' returns every change on or after that date, newest first (daily snapshots in /api/v1/gpu-prices/history.json); omitted returns the latest day's moves (/api/v1/gpu-price-changes.json).…
| Parameter | Type | Description |
|---|---|---|
cursor | ||
gpu | ||
kinds | ||
limit | integer | |
mode | string | |
since |
get_price_trend
7-day and 30-day price trend for one stable rate_id (from compare_gpu_prices), among tracked providers only. Reuses the existing daily snapshots in /api/v1/gpu-prices/history.json: percent change, direction (up/down/flat), and how many ranked snapshot days were in the window. A trend is never computed from held_stale, no_source, or stale (older than 48 hours / undated) current rows; then trend is null with trend_reason. Current sold_out does not blank windows: they use the same verified-day history math as compare_gpu_prices. A window with too few ranked days is returned w…
| Parameter | Type | Description |
|---|---|---|
rate_id * | string | |
mode | string | |
windows |
get_price_moves
Biggest tracked GPU price moves for a daily or 7-day window, among tracked providers only. Reuses existing daily snapshot diffs and history windows (same 2% deadband and ranked-day rules as get_price_trend). Held/stale days stay out of the math. Missing snapshot days are not invented. Current sold_out does not blank a historical move. At request time a live stock claim is passed through stale_guard (P64) so staleness is visible; that does not change pct. period is daily (default) or weekly. limit 1-25 (default 10). Optional gpu, vendor, and direction (up/down) filters.…
| Parameter | Type | Description |
|---|---|---|
direction | ||
gpu | ||
limit | integer | |
mode | string | |
period | string | |
vendor |
optimize_stack
Cheapest suitable stack among tracked providers for monthly needs (set the quantities you need, rest 0). scrape_pages: pages/month without JS rendering. scrape_pages_js: pages/month needing JS rendering. proxy_gb: residential proxy GB/month. emails_sent: transactional emails/month. search_queries: search API queries/month. gpu_hours: GPU-hours/month (1 GPU), optionally gpu_model e.g. 'H100', 'A100', 'RTX 4090'. Each line has the chosen plan, monthly_cost_usd, calc, vendor quote, source_url, checked_at and assumptions, plus alternatives. A vendor price that isn't published…
| Parameter | Type | Description |
|---|---|---|
emails_sent | integer | |
exclude_manual_signup | boolean | |
gpu_hours | number | |
gpu_model | ||
mode | string | |
proxy_gb | number | |
scrape_pages | integer | |
scrape_pages_js | integer | |
search_queries | integer |
optimize_agent_stack
Estimate a monthly stack cost from a short description of the agent being built. description: free text, e.g. 'scrapes 20k JS pages/month via 5 GB residential proxies, 3k search queries, summarizes with an LLM, budget $300/mo'. Parsed deterministically (keywords/regex, no LLM) into components: gpu, scraping, proxy, search, llm_api, email, hosting, database, monitoring. Optional fields override the parse: gpu_hours (GPU-hours/month), gpu_model ('H100', 'A100', 'RTX 4090'), model_size_b (billions of params; sets a minimum VRAM using FP16 x 1.2), scrape_pages, js_rendering, p…
| Parameter | Type | Description |
|---|---|---|
description | string | |
emails_sent | ||
exclude_manual_signup | boolean | |
gpu_hours | ||
gpu_model | ||
js_rendering | ||
llm_api | ||
max_data_age_hours | ||
mode | string | |
model_size_b | ||
monthly_budget_usd | ||
proxy_gb | ||
scrape_pages | ||
search_queries | ||
workload |
rebuild_quote
Reopen a past quote. Pass the `receipt` object returned by optimize_stack, optimize_agent_stack or estimate_job_cost. Returns receipt_intact (unkeyed sha256 matches), reproduced (true only if each line's subtotal recomputes AND its rate_id and price match the pinned feed revision or that date's published daily snapshot; "arithmetic_only" with provenance_verified=false when that can't be confirmed), per-line provenance, and revalidation against today's feed: per GPU line unchanged | price_changed | evidence_changed | held_today | not_in_feed_today (flat plans: not_revalidate…
| Parameter | Type | Description |
|---|---|---|
receipt * | object | |
mode | string |
search_deals
Search agent work-stack deals (compute, search, email, unblock, hosting...). offer_type: verified_discount | listed_discount (not confirmed; verified_at null) | free_tier | trial | standard_referral | credit_only_referral. max_price excludes deals with unknown price. limit 1-25. Pass next_cursor back as cursor to page.
| Parameter | Type | Description |
|---|---|---|
category | ||
cursor | ||
limit | integer | |
max_price | ||
mode | string | |
offer_type | ||
query | ||
tags |
compare_deals
Compare 2-5 deals side by side (price, unit, offer type, code, verification), best value first.
| Parameter | Type | Description |
|---|---|---|
ids * | array | |
mode | string |
get_deal
Get one deal's public record by id, including redeem_url and agent_instructions.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
mode | string |