A collapsible trundle bed frame gives you the convenience of a guest bed, while taking up very little room. Since it folds on itself, it can simply be stored under another bed until it is needed. They are also far cheaper than sofa beds.
Collapsible Trundle Bed Frame:
Collapsible Trundle Bed Frame pictured: 33” Black Steel Pop Up Trundle by 2K Furniture Designs