Demel said he is relishing the prospect of winning the tournament but will also miss being part of West Ham's season at a pivotal time.
"Going to the African Nations Cup will be good as I will be part of this competition for my country, but of course, I will miss some games for my club," he said.
"Playing my part in helping my club do well in the Premier League and achieving the goals we want is also extremely important to me, so the way I can look at it is that hopefully I will play well for my country and come back ready to help my club again."
Demel joined West Ham in the summer of 2011 ahead of their Championship season that ended with play-off final success against Blackpool.
But despite being Allardyce's first-choice right-back when fit, a number of injuries have kept the former Hamburg defender out of the side for prolonged periods.
When asked if he was frustrated by his injury luck, Demel said: "Yes, because you want to be playing all the time, you want to be available for the manager to pick you -- I was looked after very well here at the club to get through the injuries I have had.
"Now, hopefully I can keep well and free of injuries and be able to play well as I said in the African Nations Cup, and do well for my club for all of the season."
WEST HAM v STOKE CITY,
LIVE SKY SPORTS 1 (KO 8.0)