Comparative analysis of Long Short-Term Memory networks and gradient boosting decision trees for short-term electricity demand prediction. Performance metrics across residential, commercial, and industrial datasets reveal complementary strengths in different operational contexts.