Having the baby in the USA

Hi moms so I live in the Caribbean and my baby’s father live in the USA. We want to have the baby in the USA do you know if it’s legal ? And what’s the average cost since I don’t have insurance?