Refact is a Copilot alternative that has an autocomplete, integrated AI chat and powerful editing. We use our own models that are fine-tuned for each language, they are smaller than the one in Copilot, but are very powerful for their size. On certain tasks, you will not notice much difference: the model look up and down, and the context window is the same.
We never store the code. Your code is only used for inference on our servers, not for learning. And in the case of self-host it never leaves your premises.
I use both from time to time, Copilot surprises with a very good guess maybe twice as often as Refact. (that is subjectively, an opinion) But both help equally well with mechanical work. Hope that helps!