The presence of energy hubs in the future vision of energy networks creates an opportunity for electrical engineers to move toward more efficient energy systems. At the same time, it is envisioned that smart grid can cover the natural gas network in the near future. This paper modifies the classic Energy Hub model to present an upgraded model in the smart environment entitling “Smart Energy Hub”. Supporting real time, two-way communication between utility companies and smart energy hubs, and allowing intelligent infrastructures at both ends to manage power consumption necessitates large-scale real-time computing capabilities to handle the communication and the storage of huge transferable data. To manage communications to large numbers of endpoints in a secure, scalable and highly-available environment, in this paper we provide a cloud computing framework for a group of smart energy hubs. Then, we use game theory to model the demand side management among the smart energy hubs. Simulation results confirm that at the Nash equilibrium, peak to average ratio of the total electricity demand reduces significantly and at the same time the hubs will pay less considerably for their energy bill.