In the integrated energy system, the smart and safe electricity consumption requires complex computation and faces high safety risk. To solve the problem, this paper designs a smart and safe electricity consumption model for integrated energy system based on electric big data. Firstly, an aggregate return index was designed based on clustering degree and dispersion degree to automatically optimize the number of classes, and facilitate the k-means clustering (KMC). Next, the optimization criterion for the behavior features of smart and safe electricity consumption was proposed, in which the effectiveness and correlations of the features are measured by the amount of mutual information and the degree of correlation, respectively. After that, the authors put forward a feature optimization strategy for smart and safe electricity consumption behaviors. By this strategy, effective and independent features were selected to form a simplified feature set for the clustering of smart and safe electricity consumption behaviors. On this basis, a smart and safe electricity consumption model was presented for integrated energy system. The effectiveness of our model was confirmed through example analysis.