Whenever I render, the cube appears over the model but everything looks fine on the view port render
Welcome here!
Whenever you need help and post in any kind of website, it would be nice from you to provide more info about what you did, what you expected, what actually happened, what you tried to solve the problem, give screenshots to illustrate all of that, and indicate what software you're using (and its version) as well as your operating system. It will make everything easier and faster, both for us and you.

My first guess is that you disabled the visibility of your cube in the viewport, but not in the render.

Chac your outliner, you might have something like this :



Eye icon is for Viewport visibility, Cursor icon is for selectability, Camera icon is for renderability. The simplest way to not have your cube in the render is to uncheck the camera icon.

If this doesn't solve your issue, you will have to do what I said above: give more infos.