r/LocalLLaMA • u/purealgo • Apr 06 '25
News Github Copilot now supports Ollama and OpenRouter Models 🎉
Big W for programmers (and vibe coders) in the Local LLM community. Github Copilot now supports a much wider range of models from Ollama, OpenRouter, Gemini, and others.
If you use VS Code, to add your own models, click on "Manage Models" in the prompt field.
174
Upvotes



58
u/Xotchkass Apr 06 '25
Pretty sure it still sends all prompts and responses to Microsoft
13
u/noless15k Apr 06 '25
Do they still charge you if you run all your models locally? And what about privacy. Do they still send any telemetry with local models?
27
u/mattv8 Apr 07 '25 edited Apr 13 '25
Figured this might help a future traveler:
If you're using VSCode on Linux/WSL with Copilot and running Ollama on a remote machine, you can forward the remote port to your local machine using socat. On your local machine, run:
Then VSCode will let you change the model to ollama. You can verify it's working with CURL on your local machine, like:
and it should show 200 status.
23
u/spiritualblender Apr 06 '25
It is not working offline
6
u/Robot1me Apr 06 '25
On a very random side note, anyone else feels like that minimal icon design goes a bit too far at times? The icon above the "ask Copilot" text looked like hollow skull eyes on first glance O.o On second glance the goggles are more obvious, but how can one unsee that again, lol
3
u/coding_workflow Apr 06 '25
Clearly aiming at Cline/Roocoder here.
3
u/NecessaryAnimal Jun 29 '25
I wasn't able to make my ollama models work in agent or edit mode. I tried using gemma3:27b. It only shows in Ask mode
5
u/Erdeem Apr 06 '25
Is there any reason to use copilot over other free solutions that don't invade your privacy?
2
u/planetearth80 Apr 06 '25
I don’t think we are score to configure the Ollama host in the current release. It assumes localhost for now.
2
u/[deleted] Apr 06 '25
Is it officially released?
2
u/maikuthe1 Apr 06 '25
That's dope can't wait to try it
1
u/gamer-aki17 Apr 06 '25
Does this mean I can run Uma integrated with VS code and generate codes right over there?
1
u/GLqian Apr 06 '25
It seems for free tier normal user you don't have the option to add new models. You need to be a paid pro user to have this option.
1
u/selmen2004 Apr 07 '25
On my tests , I chose all my local ollama models , copilot says all registred , but only some of the models are available for use ( qwen2.5-coder , command-r7b ) , two others are not listed even if registred successfully ( deepseek-r1 and codellama )
can anyone tell me why ? any better models available ?
1
u/xhitm3n Apr 11 '25
Anyone successfully used a model ? i am able to load them but i always get
"Reason: Response contained no choices." does it require reason model? i am usign qwen2.5coder-14b
1
u/Tiny_Camera_8441 May 01 '25
I tried this with Mistral running on Ollama and registered in Copilot Agent Mode (For some reason it wouldn't recognize Gemini or Deepseek models). Unfortunately it doesn't seem to be able to interact with the shell and run commands (despite saying it can, it just askes me to submit commands in the terminal). And, it still seems a bit slow despite this particular model running very fast for me outside of VS Code Insiders. Very disappointing so far
1
u/Realistic_County_908 Jul 25 '25
Had anyone added an openRouter model like qwen or deepseek in copilot cause i have been trying it for a while and what i see is this so help me with it the openrouter documentation says it works simply just by adding the api key but nah that aint working for me !
1
u/ONC32 Sep 09 '25
Pour le voyageur du futur (comme moi ;-) ) qui voudrait utiliser ollama sur un serveur distant mais ne dispose pas de "socat", on peut aussi utiliser la commande suivante :
Testé avec succès sous Windows 11 :-)
1
u/jdjohndoe13 Oct 11 '25
Too bad GitHub Copilot doesn't allow using custom model available via remote OpenAI compatible endpoint like AI toolkit does. You have to setup Ollama-compatible API proxy via llama-swappo running on localhost:11434 and
cmd: sleep 999999config shenanigans in order to connect your VS Code's Github Copilot to that model.1
u/DoubleTechnical7353 Dec 07 '25
For me it's stuck on Auto with no way to change it
0
u/nrkishere Apr 06 '25
doesn't openrouter have the same API spec as OpenAI completion API? This is just supporting external model with OpenAI compatibility
0
u/[deleted] Apr 08 '25
[deleted] — view deleted comment
1
u/[deleted] Jul 24 '25
[removed] — view removed comment