AI Compute Requirements: Training & Inference Cost Analysis