Don't buy a GPU yet. Kaggle gives you a Free GPU AI server with 32GB VRAM (two Tesla T4 cards), and every tutorial calls it the best Free AI setup for Local AI coding.