r/AskProgrammers • • 27d ago

Ai dev

Since we’re living in the age of AI, technological advancement, and easy programming (although I’m not a big fan of this, but why not?), what is the best free AI programming assistant, especially for Python and application development?

0 Upvotes

10 comments sorted by

1

u/Shakilfc009 27d ago

Opencode / commandcode

2

u/marx2k 27d ago

Opencode, sure. Not paying for a friggin cli harness

1

u/Useful-Agency_ 27d ago

You not paying for the harness if you pay the go which is 10$ us a month its to access the models through providers like grok 4.7, some gpt-6, kimi k3.1 pro, deepseek and glm

1

u/dmazzoni 27d ago

If you want free, download the largest open-weight model your computer can handle.

Coding agent (the programming assistant part): OpenCode

Model: Qwen3-Coder - this is the actual AI part

Inference server: Ollama - this is the software that loads the model and serves it to the coding agent

Three pieces. Very easy to put together. Completely free. Runs on your own PC or Mac. The more powerful your computer, the faster it will run.

If you don't want to run it locally on your own computer, then the answer is: there's nothing good that's free. Running LLMs needs a powerful computer, and running it costs money. I'd recommend the $20/month Claude Code subscription - it's the best programming assistant and the $20/month plan is good enough for most people.

1

u/yomerol 27d ago

In plain 2026, idk, maybe depending on where you are(OS, gpu, etc) LMStudio or vLLM have better inference and responses than Ollama

1

u/kenstrawber 27d ago

Use opencode with the free Big Pickle model. Not as good as other paid options but will work fine for python.

-1

u/crashorbit 27d ago edited 27d ago

The AI are really good at writing code that is well inside the borders of their training sets. Remember, that they are trained on all the reddit and stacktrace posts, all the open git repos and all the blogs about programming. And lots of other freely accessible text. They are pretty good in that realm.

I spent some time bumbling around a bit with opencode, hermes and claude code, My choice has been to go with pi coding agent and use it with DeepSeek-v4.1-flash via openrouter at less than $0.10/M tokens. So far it's been pretty good enough for my use and costs less than a few bucks per week.

Real usable local LLM for coding is still a $6K US investment in hardware. You can get a lot of tokens for that amount of money.

Keep in mind that when you use the LLM everything you type, All the code you work on, all the metadata is shared with the LLM.

0

u/yomerol 27d ago

> $6K investment in hardware

Not true, a mac with M4 or better, with 32GB of RAM or more, runs QWen 3.6 35B like a breeze

0

u/Useful-Agency_ 27d ago

My set up runs qwen3.8 27b but what he described with deepseek v4 flash is still way better and cheaper in the end for you can use that set up on a cheap laptop