Sphere
Log in Join
☆ 9

Qwen2.5-Coder or CodeLlama for local autocomplete?

Using Ollama + Aider on a Linux box with 16 GB VRAM. Mainly Python and TypeScript. I want fill-in-the-middle completion to work well. Which model would you pick?

⚑ Report

3 replies

☆ 0
R Robin ·2026-10-03#1

Qwen2.5-Coder was noticeably better for FIM in my setup. CodeLlama feels dated for TypeScript.

⚑ Report
☆ 0
L Laura ·2026-10-03#2

I tried the 7B version and it kept editing files I did not ask about. Is that the model or Aider prompting?

⚑ Report
☆ 0
L Lucas ·2026-10-03#3

Mostly prompting. Give Aider explicit file scope and use the instruct variant rather than the base model. The 7B q4 fits your VRAM with room for context.

⚑ Report
Log in to reply.