Skip to main content
Calcimator

GPU Training Cost Calculator

Estimate cloud GPU training time, cost, and CO2 emissions for machine learning model training.

Inputs

Results

Estimated Training Time

0.5 hrs

Total Training Cost

$1.69

Cost per Hour$3.67
CO₂ Emissions0.1 kg
How to Use This Calculator
  1. Enter Model Parameters (millions), Training Epochs, and Batch Size.
  2. Select a GPU Type: NVIDIA T4 ($0.76/hr), NVIDIA A100 ($3.67/hr), or NVIDIA H100 ($8.50/hr).
  3. Review Estimated Training Time (hrs) and Total Training Cost ($).
  4. Use Cost per Hour ($) and CO₂ Emissions (kg) to inform your decision.

How the result changes with Model Parameters (millions)

Model Parameters (millions)Estimated Training TimeTotal Training Cost
100,000457,875.5 hrs$1,680,402.94
350,0005,608,974.4 hrs$20,584,935.90
650,00019,345,238.1 hrs$70,997,023.83
900,00037,087,912.1 hrs$136,112,637.37

What each input means

Model Parameters (millions)
Number of model parameters in millions (e.g., 125M for GPT-2 small)
Training Epochs
Number of complete passes through the training dataset
Batch Size
Number of samples processed per training step
GPU Type
Cloud GPU instance type — prices based on typical on-demand rates

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Model Parameters (millions) = 100, Training Epochs = 3, Batch Size = 32, GPU Type = 2 = 4 input(s) provided
  2. Calculate Estimated Training Time
    Estimated Training Time
    0.46 = 0.46
  3. Calculate Total Training Cost
    Total Training Cost
    1.69 = $1.69
  4. Calculate Cost per Hour
    3.67 = $3.67

Engine last updated . Checked against 2 independently-derived tests how we verify calculators.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Technology & Computing.