We develop the BRST approach to construct the general off-shell local Lorentz covariant cubic interaction vertices for irreducible massless and massive higher spin fields on d-dimensional Minkowski space. We consider two different cases for interacting higher spin fields: with one massive and two massless; two massive, both with coinciding and with different masses and one massless field of spins s1,s2,s3. Unlike the previous results on cubic vertices we extend our earlier result in (Buchbinder, I.L.; et al. Phys. Lett. B 2021, 820, 136470) for massless fields and employ the complete BRST operator, including the trace constraints, which is used to formulate an irreducible representation with definite integer spin. We generalize the cubic vertices proposed for reducible higher spin fields in (Metsaev, R.R. Phys. Lett. B 2013, 720, 237) in the form of multiplicative and non-multiplicative BRST-closed constituents and calculate the new contributions to the vertex, which contains the additional terms with a smaller number of space-time derivatives. We prove that without traceless conditions for the cubic vertices in (Metsaev, R.R. Phys. Lett. B 2013, 720, 237) it is impossible to provide the noncontradictory Lagrangian dynamics and find explicit traceless solution for these vertices. As the examples, we explicitly construct the interacting Lagrangians for the massive spin of the s field and the massless scalars, both with and without auxiliary fields. The interacting models with different combinations of triples higher spin fields: massive spin s with massless scalar and vector fields and with two vector fields; massless helicity λ with massless scalar and massive vector fields; two massive fields of spins s, 0 and massless scalar is also considered.