HELP ADVICE NEEDED

i have a very toxic friend who is hardly ever nice to me. i have been working on our relationship for years but it’s just not getting any better. i can’t talk to her about it because she would just turn it into a giant fight against me. i know i need to cut her out of my life but i don’t know how to! we share all the same friends including who i consider my best friend and i know that if i stopped hanging out with the toxic one that she would try to get everyone including my best friend to chose sides which i don’t want anyone to have to do. people like her i guess because she acts so different around other people. to me for the most part she is just a bitch. we were best friends on and off for years and at times she’s great but usually not. also we go to the same school and we carpool to school so it’s not like i can just ghost her. anddd we are neighbors!! whenever i have people over she just invites herself and walks over so i can’t even try to hang out with other people. she doesn’t let me have any of my own friends and i just want her out of my life because she’s not good for me! if anyone has any advice PLEASE PLEASE

PLEASE give it to me!!