What stage of aerobic respiration requires ATP?

ATP is needed in glycolisis. Two ATPs are needed

Normally it is thought that it only produceATP.But glycolisis utilise ATP.