Skip to content

Add Runcrate as a price source - #2

Open
heydryft wants to merge 1 commit into
ygwyg:mainfrom
heydryft:feat/runcrate-source
Open

heydryft wants to merge 1 commit into
ygwyg:mainfrom
heydryft:feat/runcrate-source

Conversation

@heydryft

@heydryft heydryft commented Nov 8, 2026

Copy link
Copy Markdown

Adds Runcrate, an AI cloud, as a price source. The one function per provider layout and the fixture replay tests made this a small change.

Source: https://www.runcrate.ai/api/gpu-pricing, a public JSON feed (no key) behind our pricing page. Each GPU type has min_price_hr, the live on-demand price per GPU-hour, and available_options, how many offers are live.

What runcrate() in scrape.mjs does:

  • One on_demand row per GPU type, mapped with your existing canon() and the feed's VRAM for the guard in row(). The link goes through outLink(), so it carries your ref and utm_source params.
  • Skips types with no live offers (the feed can carry a stale price for an out-of-stock type, e.g. MI350X today).
  • Takes an explicit allow list of 14 types (B300, B200, H200, L40S, L40, RTX 5090, RTX 4090, RTX 6000 Ada, RTX PRO 6000, RTX A6000, A40, L4, A10, RTX 3090). H100 and A100 are skipped on purpose: the feed does not say SXM or PCIe, and canon() would file them as SXM. H200 NVL is skipped because canon() would merge it into H200. V100 is skipped since it comes in two memory sizes.

Wiring: the PROVIDERS entry runcrate, plus a recorded fixture of today's feed and a runcrate: 14 line in test/fixtures/manifest.json. I left it out of MARKETPLACE, so it sits in the dedicated tier, but that is your call.

Checks: node --check scrape.mjs && node --check test.mjs and node test.mjs (all parsers pass, runcrate 14 rows), the same two commands as your CI. A live node scrape.mjs --dry --only runcrate returned 14 rows, B300 to RTX 3090, and wrote nothing. I did not touch data.json or history.json.

AI assistance: I used an AI assistant to write and test this.

Disclosure: I work on Runcrate. Happy to change anything, including which GPU types are included.

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