A handcrafted black-and-white static calculator for estimating AI model running costs, VRAM, RAM, DGX Spark sizing, and rough profit versus OpenRouter-style per-million-token pricing.
npm run devOpen http://localhost:3000.
This repository is intentionally static. The source files live at the project root, and npm run build copies index.html, styles.css, and app.js into public/ for Vercel production output.
- Import this Git repository in Vercel.
- Keep the framework preset as Other.
- Use Build Command:
npm run build. - Use Output Directory:
public. The build script creates this folder and copies the static assets into it. - Deploy.
npm install -g vercel
vercel
vercel --prodnpm run buildThe build script creates public/, copies the static assets into it, and validates the emitted JavaScript with node --check public/app.js.