They can all afford the contract. They all spend the cap some years a little under, some over, it all averagaes out.
No NFL teams lose money.
only caviat i can add is if a poorly run org has acute cash flow issues then coming up with big sign bonus can be an issue. And/or getting short term loan for the bonus can be a drag on the bolltom line.