AbstractNumerical invariants of a minimal free resolution of a module M over a regular local ring (R,n) can be studied by taking advantage of the rich literature on the graded case. The key is to fix suitable n-stable filtrations M of M and to compare the Betti numbers of M with those of the associated graded module grM(M). This approach has the advantage that the same module M can be detected by using different filtrations on it. It provides interesting upper bounds for the Betti numbers and we study the modules for which the extremal values are attained. Among others, the Koszul modules have this behavior. As a consequence of the main result, we extend some results by Aramova, Conca, Herzog and Hibi on the rigidity of the resolution of st...