Minimal, unbranded, embeddable calculator for comparing cloud GPU rental vs hardware purchase. MIT licensed.
Live: https://tudormunteanu.github.io/dgx-rent-vs-buy-calculator/
Adapts to light and dark mode via prefers-color-scheme. Grayscale palette from grayscale.design.
<iframe
src="https://tudormunteanu.github.io/dgx-rent-vs-buy-calculator/"
title="DGX Spark rent vs buy calculator"
width="100%"
height="900"
style="border:0;border-radius:12px"
loading="lazy"
></iframe><iframe id="calculator" src="https://tudormunteanu.github.io/dgx-rent-vs-buy-calculator/" ...></iframe>
<script>
window.addEventListener('message', (e) => {
if (e.data?.type === 'dgx-rent-vs-buy-calculator:resize') {
document.getElementById('calculator').style.height = e.data.height + 'px';
}
});
</script>| File | What to change |
|---|---|
lib/rent-vs-buy.ts |
DEFAULT_HOURLY_RATE, DEFAULT_PURCHASE_PRICE, usage scenarios |
styles.css |
Palette variables (or keep grayscale) |
Deploy to your own GitHub Pages: fork, enable Settings → Pages → GitHub Actions, push to main.
npm install
npm run dev
npm run buildGitHub Pages path preview:
VITE_BASE_PATH=/dgx-rent-vs-buy-calculator/ npm run build && npm run previewNeutral list of GB10 / DGX Spark rental options (cloud SSH access and physical). Plug any hourly rate into the calculator above.
| Provider | Region | Model | Notes |
|---|---|---|---|
| Enverge Spark | EU, UK, US | Hourly | From ~$0.65/hr, pay-as-you-go |
| gb10 studio | — | Hourly | Dedicated GB10 cloud |
| VFX Now | US | Monthly | Cloud access only |
| Primcast | — | Monthly | Dedicated hosting, not hourly |
| Scan | UK | Weekly / monthly | Cloud access only (no hardware shipped) |
| Provider | Region | Notes |
|---|---|---|
| HardSoft | UK | Leasing; hardware shipped to you |
Know another option? Open an issue or send a PR.
MIT — see LICENSE.
