HACKER Q&A
📣 lilalomoslama

Are there offline alternatives for GH Copilot or ChatGPT?


And is it usable or on a laptop running on battery or will it consume to much power? I think I saw some posts around the topic some months ago, but now it seems quiet.


  👤 ilaksh Accepted Answer ✓
It will consume a lot of power. But there are alternatives, depending on what language you are programming in, how challenging the tasks are, and how powerful your laptop is.

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.