VS Code extension for LLM-assisted code/text completion
TypeScript
1,533
209 commits
updated Oct 10, 2026
Local LLM-assisted text completion, chat with AI and agentic coding extension for VS Code
TabShift + TabCtrl/Cmd + Right ArrowCtrl + LInstall the llama-vscode extension from the VS Code extension marketplace:
Note: also available at Open VSX
llama.cpp setupPrerequisites:
Show llama-vscode menu by clicking on llama-vscode in the status bar or Ctrl+Shift+M and select "Install/Upgrade llama.cpp". This will install llama.cpp automatically for Mac and Windows. For Linux get the latest binaries and add the bin folder to the path.
Once you have llama.cpp installed, you can select env for your needs from llama-vscode menu "Select/start env..."
Below are some details how to install llama.cpp manually (if you prefer it).
brew install llama.cpp
winget install llama.cpp
Either use the latest binaries or build llama.cpp from source. For more information how to run the llama.cpp server, please refer to the Wiki.
Here are recommended settings, depending on the amount of VRAM that you have:
More than 64GB VRAM:
llama serve --fim-qwen-30b-default
More than 16GB VRAM:
llama serve --fim-qwen-7b-default
Less than 16GB VRAM:
llama serve --fim-qwen-3b-default
Less than 8GB VRAM:
llama serve --fim-qwen-1.5b-default
These are llama serve settings for CPU-only hardware. Note that the quality will be significantly lower:
llama serve \
-hf ggml-org/Qwen2.5-Coder-1.5B-Q8_0-GGUF \
--port 8012 -ub 512 -b 512 --ctx-size 0 --cache-reuse 256
llama serve \
-hf ggml-org/Qwen2.5-Coder-0.5B-Q8_0-GGUF \
--port 8012 -ub 1024 -b 1024 --ctx-size 0 --cache-reuse 256
You can use any other FIM-compatible model that your system can handle. By default, the models downloaded with the -hf flag are stored in:
~/Library/Caches/llama.cpp/~/.cache/llama.cppLOCALAPPDATAThe plugin requires FIM-compatible models: HF collection
The extension includes Llama Agent
More details(https://github.com/ggml-org/llama.vscode/wiki)
Speculative FIMs running locally on a M2 Studio:
https://github.com/user-attachments/assets/cab99b93-4712-40b4-9c8d-cf86e98d4482
The extension aims to be very simple and lightweight and at the same time to provide high-quality and performant local FIM completions, even on consumer-grade hardware.
370 followers · starred Jan 2025
122 followers · starred Jan 2025
289 followers · starred Aug 2025
VS Code extension for LLM-assisted code/text completion
TypeScript
1,533
209 commits
updated Oct 10, 2026
Local LLM-assisted text completion, chat with AI and agentic coding extension for VS Code
TabShift + TabCtrl/Cmd + Right ArrowCtrl + LInstall the llama-vscode extension from the VS Code extension marketplace:
Note: also available at Open VSX
llama.cpp setupPrerequisites:
Show llama-vscode menu by clicking on llama-vscode in the status bar or Ctrl+Shift+M and select "Install/Upgrade llama.cpp". This will install llama.cpp automatically for Mac and Windows. For Linux get the latest binaries and add the bin folder to the path.
Once you have llama.cpp installed, you can select env for your needs from llama-vscode menu "Select/start env..."
Below are some details how to install llama.cpp manually (if you prefer it).
brew install llama.cpp
winget install llama.cpp
Either use the latest binaries or build llama.cpp from source. For more information how to run the llama.cpp server, please refer to the Wiki.
Here are recommended settings, depending on the amount of VRAM that you have:
More than 64GB VRAM:
llama serve --fim-qwen-30b-default
More than 16GB VRAM:
llama serve --fim-qwen-7b-default
Less than 16GB VRAM:
llama serve --fim-qwen-3b-default
Less than 8GB VRAM:
llama serve --fim-qwen-1.5b-default
These are llama serve settings for CPU-only hardware. Note that the quality will be significantly lower:
llama serve \
-hf ggml-org/Qwen2.5-Coder-1.5B-Q8_0-GGUF \
--port 8012 -ub 512 -b 512 --ctx-size 0 --cache-reuse 256
llama serve \
-hf ggml-org/Qwen2.5-Coder-0.5B-Q8_0-GGUF \
--port 8012 -ub 1024 -b 1024 --ctx-size 0 --cache-reuse 256
You can use any other FIM-compatible model that your system can handle. By default, the models downloaded with the -hf flag are stored in:
~/Library/Caches/llama.cpp/~/.cache/llama.cppLOCALAPPDATAThe plugin requires FIM-compatible models: HF collection
The extension includes Llama Agent
More details(https://github.com/ggml-org/llama.vscode/wiki)
Speculative FIMs running locally on a M2 Studio:
https://github.com/user-attachments/assets/cab99b93-4712-40b4-9c8d-cf86e98d4482
The extension aims to be very simple and lightweight and at the same time to provide high-quality and performant local FIM completions, even on consumer-grade hardware.
370 followers · starred Jan 2025
122 followers · starred Jan 2025
289 followers · starred Aug 2025