Given the increase in demand in treatment of glenohumeral arthritis with anatomic total (aTSA) and reverse shoulder arthroplasty (RTSA), it is imperative to improve quality of patient care while controlling costs as private and federal insurers continue its gradual transition toward bundled payment models. Big data analytics with machine learning shows promise in predicting health care costs. This is significant as cost prediction may help control cost by enabling health care systems to appropriately allocate resources that help mitigate the cause of increased cost. The Nationwide Readmissions Database (NRD) was accessed in 2018. The database was queried for all primary aTSA and RTSA by International Classification of Diseases, Tenth Revision (ICD-10) procedure codes: 0RRJ0JZ and 0RRK0JZ for aTSA and 0RRK00Z and 0RRJ00Z for RTSA. Procedures were categorized by diagnoses: osteoarthritis (OA), rheumatoid arthritis (RA), avascular necrosis (AVN), fracture, and rotator cuff arthropathy (RCA). Costs were calculated by utilizing the total hospital charge and each hospital's cost-to-charge ratio. Hospital characteristics were included, such as volume of procedures performed by the respective hospital for the calendar year and wage index, which represents the relative average hospital wage for the respective geographic area. Unplanned readmissions within 90 days were calculated using unique patient identifiers, and cost of readmissions was added to the total admission cost to represent the short-term perioperative health care cost. Machine learning algorithms were used to predict patients with immediate postoperative admission costs greater than 1 standard deviation from the mean, and readmissions. A total of 49,354 patients were isolated for analysis, with an average patient age of 69.9±9.6 years. The average perioperative cost of care was $18,843±$10,165. In total, there were 4279 all-cause readmissions, resulting in an average cost of $13,871.00±$14,301.06 per readmission. Wage index, hospital volume, patient age, readmissions, and diagnosis-related group severity were the factors most correlated with the total cost of care. The logistic regression and random forest algorithms were equivalent in predicting the total cost of care (area under the receiver operating characteristic curve=0.83). After shoulder arthroplasty, there is significant variability in cumulative hospital costs, and this is largely affected by readmissions. Hospital characteristics, such as geographic area and volume, are key determinants of overall health care cost. When accounting for this, machine learning algorithms may predict cases with high likelihood of increased resource utilization and/or readmission.