Skip to content

Add Lium as a price source - #5

Open
surcyf123 wants to merge 1 commit into
becloudready:mainfrom
Datura-ai:add-lium-source
Open

surcyf123 wants to merge 1 commit into
becloudready:mainfrom
Datura-ai:add-lium-source

Conversation

@surcyf123

Copy link
Copy Markdown

Adds Lium (https://lium.io), a GPU rental marketplace, as a price source.

Source. https://lium.io/api/public/v1/nodes is a public, unauthenticated JSON feed of every rentable node, with per-GPU and per-node hourly USD prices (docs). robots.txt allows /api/public/.

What scraper/sources/lium.py does

  • Keeps on-demand nodes. Skips the spot tier, which is reclaimable, in line with the README's on-demand-only rule.
  • Normalizes Lium's model strings (H100 80GB HBM3, A100-SXM4-80GB, B300 SXM6 PC, RTX A6000) before canonical_model.
  • Uses "<model> x<count>" as the instance type, so collapse_regions publishes one row per model and GPU count at its cheapest country, and keeps the per-country prices in regions.
  • Sets availability from available_gpu_count. deploy_url is the node's rent page.

Wiring. One JOBS entry with a minimum of 5 rows, a README sources-table row, and test_lium_skips_spot_and_normalizes_names.

Checks. pytest -q tests passes (9). A live dry run today returned 21 rows across 15 models, none quarantined by the price bounds.

dstackai/gpuhunt#259 adds Lium to the gpuhunt catalog. Once that ships, the gpuhunt source could take Lium instead, and I'm happy to switch to that if you prefer one route.

🤖 Generated with Claude Code

Lium publishes every rentable GPU node as an unauthenticated JSON feed
(https://lium.io/api/public/v1/nodes) with per-GPU hourly prices. The
source keeps on-demand nodes, skips the reclaimable spot tier and
collapses nodes into one row per model and GPU count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@surcyf123

Copy link
Copy Markdown
Author

@kchandan, a gentle ping on this one. It adds Lium as an on-demand price source from our public nodes feed. If you'd like anything changed (the source format, tests, or skipping the spot tier differently), say so and I'll update it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant