The better question is: what payment and loan structure fit your real life?
A lender may calculate a maximum qualifying amount, but that does not mean you should spend the maximum. Your comfortable budget should also account for utilities, maintenance, transportation, childcare, savings goals, and the costs that come with the specific property.
Gross qualifying income and how the loan program allows it to be documented
Monthly debts such as auto loans, credit cards, student loans, and other obligations
Interest rate and loan term
Property taxes, homeowners insurance, mortgage insurance, and HOA dues when applicable
Down payment, closing costs, and cash reserves