Take a look at r/localllama on Reddit. I have heard good things about the DeepSeek Coder and some others like Mixtral or larger models such as Codellama or Llama 70b (which probably won't run on your laptop).
My laptop is a bit old and doesn't have adequate memory to run models large and sophisticated enough to make it worthwhile for my programming tasks.
I often use aider in the terminal, which relies on GPT-4.