We introduce the concepts of relative (strongly) cotorsion and relative Gorenstein cotorsion modules for a non-necessarily semidualizing module and prove that there exists a unique hereditary abelian model structure where the cofibrations are the monomorphisms with relative Gorenstein flat cokernel and the fibrations are the epimorphisms with relative cotorsion kernel belonging to the Bass class. In the particular case of a semidualizing module, we investigate the existence of abelian model structures on the category of left (right) R-modules where the cofibrations are the epimorphisms (monomorphisms) with kernel (cokernel) belonging to the Bass (Auslander) class. We also show that the class of relative Gorenstein flat modules and the Bass class are part of weak AB-contexts.