In this paper, we study the thermodynamic topology of AdS Einstein–power–Yang–Mills black holes, examining them through both the bulk-boundary and restricted phase space (RPS) frameworks. We consider various non-extensive entropy models, including Barrow ( $$\delta $$ ), Rényi ( $$\lambda $$ ), Sharma–Mittal ( $$\beta $$ , $$\alpha $$ ), Kaniadakis (K), and Tsallis-Cirto entropy ( $$\Delta $$ ). Initially, we analyze the thermodynamic topology within the bulk-boundary framework. Our findings highlight the influence of free parameters on topological charges. We observe two topological charges $$(\omega = +1, -1)$$ with respect to the non-extensive Barrow parameter and also with ( $$\delta =0$$ ) in Bekenstein–Hawking entropy. For Rényi entropy, different topological charges are observed depending on the value of the $$\lambda $$ with a notable transition from three topological charges $$(\omega = +1, -1, +1)$$ to a single topological charge $$(\omega = +1)$$ as $$\lambda $$ increases. Also, by setting $$\lambda $$ to zero results in two topological charges $$(\omega = +1, -1)$$ . Sharma–Mittal entropy exhibits three distinct ranges of topological charges influenced by the $$\alpha $$ and $$\beta $$ with different classifications viz, if $$\beta $$ exceeds $$\alpha $$ , we will have $$(\omega = +1,-1,+1)$$ ; if $$\beta = \alpha $$ , we have $$(\omega = +1,-1)$$ ; and if $$\alpha $$ exceeds $$\beta $$ , we obtain $$(\omega = -1)$$ . Also, Kaniadakis entropy shows variations in topological charges; viz., we observe $$(\omega = +1,-1)$$ for any acceptable value of K, except when $$K=0$$ , where a single topological charge $$(\omega = -1)$$ appears. In the case of Tsallis-Cirto entropy, for small parameter $$\Delta $$ values, we have $$(\omega = +1)$$ and when $$\Delta $$ increases to 0.9, we will have $$(\omega = +1, -1)$$ . A particularly intriguing aspect of this research is its application to the RPS framework. When we extend our analysis to this space using the specified entropies, we find that the topological charge consistently remains $$(\omega = +1)$$ independent of the specific values of the free parameters for Rényi, Sharma–Mittal, and Tsallis–Cirto. Additionally, for Barrow entropy in RPS, when $$\delta $$ increases from 0 to 0.8, the number of topological charges rises. Finally for Kaniadakis entropy, at small values of K, we observe $$(\omega = +1)$$ . However, as the non-extensive parameter K increases, we encounter different topological charges and classifications with $$(\omega = +1, -1)$$ .