Cost estimation scripts and tools for calculating GPU hours, training costs, and inference pricing across Modal, Lambda Labs, and RunPod platforms. Use when estimating ML training costs, comparing platform pricing, calculating GPU hours, budgeting for ML projects, or when user mentions cost estimation, pricing comparison, GPU budgeting, training cost analysis, or inference cost optimization.
View on GitHubFebruary 1, 2026
Select agents to install to:
npx add-skill https://github.com/vanman2024/ai-dev-marketplace/blob/main/plugins/ml-training/skills/cost-calculator/SKILL.md -a claude-code --skill cost-calculatorInstallation paths:
.claude/skills/cost-calculator/# ML Training Cost Calculator **Purpose:** Provide production-ready cost estimation tools for ML training and inference across cloud GPU platforms (Modal, Lambda Labs, RunPod). **Activation Triggers:** - Estimating training costs for ML models - Comparing GPU platform pricing - Calculating GPU hours for training jobs - Budgeting for ML projects - Optimizing inference costs - Evaluating cost-effectiveness of different GPU types - Planning resource allocation **Key Resources:** - `scripts/estimate-training-cost.sh` - Calculate training costs based on model size, data, GPU type - `scripts/estimate-inference-cost.sh` - Estimate inference costs for production workloads - `scripts/calculate-gpu-hours.sh` - Convert training parameters to GPU hours - `scripts/compare-platforms.sh` - Compare costs across Modal, Lambda, RunPod - `templates/cost-breakdown.json` - Structured cost breakdown template - `templates/platform-pricing.yaml` - Up-to-date platform pricing data - `examples/training-cost-estimate.md` - Example training cost calculation - `examples/inference-cost-estimate.md` - Example inference cost analysis ## Platform Pricing Overview ### Modal (Serverless - Pay Per Second) **GPU Options:** - **T4**: $0.000164/sec ($0.59/hr) - Development, small models - **L4**: $0.000222/sec ($0.80/hr) - Cost-effective training - **A10**: $0.000306/sec ($1.10/hr) - Mid-range training - **A100 40GB**: $0.000583/sec ($2.10/hr) - Large model training - **A100 80GB**: $0.000694/sec ($2.50/hr) - Very large models - **H100**: $0.001097/sec ($3.95/hr) - Cutting-edge training - **H200**: $0.001261/sec ($4.54/hr) - Latest generation - **B200**: $0.001736/sec ($6.25/hr) - Maximum performance **Free Credits:** - Starter: $30/month free - Startup credits: Up to $50,000 FREE ### Lambda Labs (On-Demand Hourly) **Single GPU:** - **1x A10**: $0.31/hr - Cheapest single GPU option - **1x V100 16GB**: $0.55/hr - Most affordable multi-GPU base **8x GPU Clusters:** - **8x V100**: $4.40/hr ($0.55/