Software giant Microsoft Corp. said Thursday it will eliminate up to 5,000 jobs, including 1,400 this month, to reduce costs.