I keep all handgun boxes and all non cardboard long gun boxes. Cardboard long gun boxes get recycled after I remove all labels. I do keep all documentation and accessories that come with them. I do also keep all scope boxes.
I have a handful of Glock boxes that are in the basement. I will toss them one of these days but … I guess they are nice if you ever sell the gun or travel with it.