Allardyce comes out of contract in the summer but is keen to remain as Hammers boss as long as he can keep them above water this season.
"I want us to get safe and then if the contract's already there and ready to sign, I'll sign it, move on and get ready for next season," he said.
"I'm not so sure we have to wait until we're mathematically safe. I think if we get to 38 points both parties would say that's going to be enough this season.
"Hopefully we can get to 38 points as quickly as we can, then we'll have a few games left it achieve more than 40 points if we can."
West Ham currently sit 14th on the table on 33 points, six points from the relegation zone, ahead of the weekend's home clash with West Bromwich Albion.