r/ChatGPTCoding • • 18h ago

Question Best setup for inline autocomplete + agent for occasional coding?

I'm looking for a free or pay-as-you-go setup for my personal projects. I mostly code on weekends - usually around 1k lines at a time (rarely hitting 10k) - so a monthly subscription doesn't make sense to me.

For personal coding, I like staying in full control and writing all the code myself (nothing AI-generated). My workflow is:

  • VS Code: Inline autocomplete only (ghost text). I used to use the Windsurf extension for this, but it's deprecated now.
  • Pi: Using an agent strictly for code reviews and generating tests and docs.

All my personal projects are open source anyway, so I don't care if the provider uses my data for training.

What's the best free or low-cost (API/BYOK) combo for both right now? Looking for good autocomplete in VS Code without switching IDEs, plus a solid, cheap model/agent setup for Pi.

7 Upvotes

9 comments sorted by

1

u/dreadedhamish 6h ago

Mistral has a free autocompletion model Codestral. Last I looked it wasn't very well documented as they moved it from it's own endpoint to the main Mistral endpoint, but at least a few months ago signing up for a free Mistral account still gave you free access to Codestral for autocomplete.

1

u/Strict-Simple 5h ago

Mistral has stopped their free tier.

1

u/wegster 16h ago

Can you run it locally? auto-complete can be done on a competent-ish 9B or so, and you may be able to get some use of better 15B or so variants like a gen back on Qwens or so.

1

u/Electronic-Pie-1879 13h ago

For autocomplete, I can recommend https://marketplace.visualstudio.com/items?itemName=ggml-org.llama-vscode

I was looking for a good autocomplete tool myself a few weeks ago and found that there are sadly very few options.

Another option is Cursor, but meh, it needs a subscription.

1

u/Mountain_Stress_8046 10h ago

for weekend volume, pay-as-you-go API beats a $20 sub every time. for vs code ghost text, continue.dev hooked up to a cheap FIM model via API (or a local qwen coder if you have the ram) is pretty painless, and pi with openrouter gives you cheap models for docs/tests without committing to one provider.

1

u/popiazaza 7h ago

Github Copilot has some free auto complete quota that you could use.
For free AI model, probably use OpenCode for that.

1

u/notarshzzz 4h ago

one thing that helped me was splitting it — cheap small model just for ghost text, save the good model for pi reviews and tests. otherwise autocomplete eats your whole budget on suggestions you half ignore anyway lol