Magnetic forces in thallium- and bismuth-based superconductors