r/ChatGPTCoding • • 6d 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

13 comments sorted by

1

u/dreadedhamish 5d 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 5d ago

Mistral has stopped their free tier.

1

u/wegster 6d 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 5d 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/popiazaza 5d 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 5d 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

1

u/xapep 5d ago

The autocomplete half and the agent half are different problems. Ghost text in VS Code wants a small FIM model that answers in under a second, so Copilot's free tier or a local one through Continue covers that. A chat endpoint won't do it well, so I wouldn't force one tool to do both.

For Pi, anything OpenAI-compatible works, so BYOK is the cheap route. I work on Entrim, which serves DeepSeek V4.1 Flash at $0.20 per M input tokens and no subscription, so weekend bursts have nothing to cancel. Watch the minimum top-up, since at weekend volume the credit usually outlives the project.

1

u/Simple-Bedroom5606 5d ago

For weekend projects at that size I'd skip subscriptions entirely. Continue or llama-vscode with a small FIM model like Qwen2.5 Coder 7B handles ghost text fine on Apple silicon or a decent GPU. If your machine can't run it, point the same extension at a cheap hosted FIM model like Codestral. For the agent side, BYOK through OpenRouter and pick the model per task: something cheap for tests and docs, a stronger one only when you're stuck on a real bug. At around 1k lines a session it's usually a few dollars a month. Put a spend limit on the key so a runaway loop can't surprise you.

1

u/topechora 21h ago

Try Kilo Code in VS Code. It supports inline autocomplete and BYOK, so you can use a low-cost API model like DeepSeek or any other without paying for a monthly subscription

0

u/Mountain_Stress_8046 5d 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.