I hope you don't live together, though it sounds like you do. Being in a bad relationship is not a good place to start a family, as you already suspect.
Relationships/commitment/marriage are really (really) hard, even if everyone is truthful and trustworthy. You sound terribly unhappy & he sounds terribly manipulative and controlling. The hot/cold behavior is a HUGE Red Flag, & very hard for you to be even/level/balanced with that going on all the time. Especially now.
This will probably not change, just so you know, and may only get worse. His particular kind of mean seems to be a personality trait & directed at you. I'd get out of the way & move on.
That you say you are not sure of his love or commitment, makes me think...run. You are worth more than the trashy treatment you are receiving, and it is up to you to protect your child from it too.
You can raise a child, and it may be the best thing you ever do, but this man will be a part of the equation in one way or another, as the biological father. How much?... is up to you.
Option two? Try to get some counselling, alone & together, if he will agree you both need it. And you do need it if you both want this bad enough. If he doesn't want to do this, I think, you have your answer.
I am glad you found this site. There are many wonderful, supportive people here.
Best to you as you make some hard decisions ....