If you are looking for affordability, Hungary is the better choice,
requiring $2,200/mo compared to Portugal's
$3,800.
However, if you lack monthly income but have savings, you should choose Portugal, which explicitly allows asset-based qualification.
For tax optimization, Hungary is superior due to its "Tax Exempt (If <183 days)" status.