Skip to content

esaung/gpucalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPU Investor Calculator

A comprehensive React-based investment analysis tool for GPU hardware portfolios. This calculator helps investors analyze the financial performance of GPU investments across different providers and hardware configurations.

Features

  • Interactive Assumptions Editor: Modify key parameters like GPU counts, costs, hourly rates, and utilization
  • Executive Summary: High-level overview of investment performance
  • Year-over-Year Analysis: Detailed portfolio performance across 3 years
  • GPU Grouped Summary: Performance breakdown by GPU model and provider
  • Financial Model: Detailed financial calculations and projections

Supported GPU Models

  • RTX 4090: Consumer-grade GPU with high performance
  • RTX 5090: Next-generation consumer GPU
  • H200: Enterprise-grade GPU for AI workloads

Supported Providers

  • FarmGPU: Specialized GPU rental platform
  • Pantheon: Alternative GPU marketplace

Key Metrics Calculated

  • Initial investment costs
  • Monthly and annual revenue projections
  • Net income after marketplace and provider fees
  • Hardware residual values
  • Internal Rate of Return (IRR)
  • Cumulative performance metrics

Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • npm or yarn

Installation

  1. Clone the repository:
git clone https://github.com/esaung/gpucalculator.git
cd gpucalculator
  1. Install dependencies:
npm install
  1. Start the development server:
npm start
  1. Open http://localhost:3000 to view it in the browser.

Building for Production

npm run build

This creates an optimized production build in the build folder.

Deployment

GitHub Pages

To deploy to GitHub Pages:

  1. Add homepage to package.json:
"homepage": "https://esaung.github.io/gpucalculator"
  1. Install gh-pages:
npm install --save-dev gh-pages
  1. Add deploy scripts to package.json:
"scripts": {
  "predeploy": "npm run build",
  "deploy": "gh-pages -d build"
}
  1. Deploy:
npm run deploy

Netlify

  1. Build the project: npm run build
  2. Drag the build folder to Netlify's deploy area
  3. Or connect your GitHub repository for automatic deployments

Vercel

  1. Install Vercel CLI: npm i -g vercel
  2. Deploy: vercel

Usage

  1. Key Assumptions Tab: Start by editing the key parameters for your GPU investments
  2. Executive Summary Tab: View high-level investment performance
  3. YoY Portfolio Summary Tab: See year-over-year performance breakdown
  4. GPU Grouped Summary Tab: Analyze performance by GPU model and provider
  5. Financial Model Tab: Detailed financial calculations and projections

Technology Stack

  • React 18: Modern React with hooks
  • Tailwind CSS: Utility-first CSS framework
  • Create React App: Development and build tooling

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support, please open an issue in the GitHub repository or contact the development team.

About

a GPU investment calculator for the silicon project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors