The invention relates to a guide having passive gravity compensation by means of a magnet assembly (M1, M2, M3, M4), for guiding a first body (K1) relative to a second body (K1) in a vertical direction (R), comprising a spring guide (B), which enables movements between the first and second bodies (K1, K2) in the vertical direction and which blocks movements in all other directions, wherein moreover the first body (K1) is connected to a first magnet (M1) and the second body (K2) is connected to a second magnet (M2), wherein the second magnet (M2) has an opening in which the first magnet (M1) is arranged at least partially such that a repellant force acts between the first and second magnets (M1, M2), which are magnetized parallel to the vertical direction (R), but are magnetized oppositely, said repellant force opposing the force of gravity of the first body, wherein the positive mechanical rigidity of the spring guide (B) is compensated for at least partially by a negative rigidity of the magnetic spring formed by the first and second magnets (M1, M2), and wherein the first and second magnets (M1, M2) are shaped such that a horizontal gap (d) between the first and second magnets (M1, M2) varies in the vertical direction (R) inside the opening of the second magnet (M2). A platform mounted by means of such guides is also described.