The GitHub Copilot app can now download and run two AI models on your own Windows PC, MAI Code 1.1 Flash and Flint NVFP4, instead of sending every request to GitHub's cloud. It's a preview feature with steep hardware requirements: an NVIDIA graphics card and, for MAI Code 1.1 Flash, at least 96GB of available memory. This guide explains what you need, how to set it up and how to let Copilot Fusion decide when to use the local model.
The steps and requirements below come from GitHub's documentation and changelog, read on 27 November 2026. GitHub describes the feature as a public preview that's subject to change, so menus may move.
What you need
GitHub lists these prerequisites for installing a local model from inside the Copilot app:
Requirement | MAI Code 1.1 Flash | Flint NVFP4 |
|---|
Operating system | Windows | Windows |
Graphics | NVIDIA GPU (AMD isn't supported) | NVIDIA GPU (AMD isn't supported) |
Minimum available combined RAM | 96GB | 48GB |
Minimum available storage | 60GB | 23GB |
llama.cpp build | b11669 or later | b11803 or later |
You'll also need a GitHub account to sign in to the app. GitHub says you don't need a Copilot plan if you only use your own model provider, and GitHub says Copilot Fusion is available with all Copilot plans.
A few points on the hardware:
Memory is the hurdle. GitHub's documentation calls it "available combined RAM" and doesn't define exactly how system memory and graphics memory are counted, so we can't tell you which exact configurations qualify. What's clear is that 96GB is far beyond a typical gaming PC. Machines with large pools of memory shared between CPU and GPU, such as NVIDIA's RTX Spark systems with up to 128GB of unified memory, are the obvious fit; our unified memory vs VRAM explainer covers the difference.
The install example is for Arm-based Windows. GitHub's llama.cpp instructions use the Windows Arm64 CUDA 13 build, which is for Arm-based Windows PCs with NVIDIA graphics. NVIDIA's RTX Spark laptops and desktops are in that category: NVIDIA's announcement of the desktops highlights native Windows on Arm apps for them. GitHub's page doesn't give separate instructions for conventional x64 PCs.
Only NVIDIA graphics are listed. GitHub requires an NVIDIA GPU and states that AMD isn't supported.
If you're not sure what your PC has, our guides on checking VRAM usage on Windows and how much RAM you need for local AI will help.
Step 1: Install llama.cpp
GitHub requires a recent llama.cpp build, and the Copilot app needs to know where its llama-server program is, so install llama.cpp first. GitHub's instructions are:
Go to the llama.cpp releases page on GitHub and choose a release at or above the build number in the table, for example b11803.
Download both files for the Windows CUDA 13.4 Arm64 build: the "Windows arm64 (CUDA 13)" package and the "CUDA 13.4 DLLs" package.
Open Command Prompt and create an installation folder, replacing BUILD with the build number:
mkdir "%LOCALAPPDATA%\Programs\llama.cpp\BUILD-cuda-13.4-arm64"
Extract all files from both ZIP files directly into that folder. GitHub warns that File Explorer's Extract All creates a separate subfolder for each ZIP by default, so change the destination. The folder should end up containing files including llama-server.exe, cudart64_13.dll, cublas64_13.dll and cublasLt64_13.dll, with no subfolders.
For more background on running llama.cpp on Windows, see our llama.cpp on Windows guide.
Step 2: Point Copilot at llama-server
Set the LLAMACPP_SERVER_PATH environment variable so the Copilot app can find llama-server, again replacing BUILD:
setx LLAMACPP_SERVER_PATH "%LOCALAPPDATA%\Programs\llama.cpp\BUILD-cuda-13.4-arm64\llama-server.exe"
Close Command Prompt and open a new window. Restart the Copilot app or VS Code if either is open, and restart Copilot CLI from a new terminal if it's running. To check the installation, GitHub suggests running:
"%LLAMACPP_SERVER_PATH%" --list-devices
Step 3: Download the model in the Copilot app
Open the Copilot app's Settings.
In the sidebar, click Model providers, then Add provider.
Select Windows ML. If your PC meets the prerequisites, the supported models appear under "Available models".
Click Download next to the model you want.
Use the Maximum % system memory to use slider to cap how much system memory Windows ML models can use.
Turn on Restart models on app restart if you want downloaded models to start again automatically when you reopen the app.
GitHub's documentation also notes that the Windows ML local models option sits in the app's Experimental settings, under Agents, if you want to turn the feature off.
Step 4: Use the local model
Once the download finishes, you can:
Pick it directly from the model picker, like any other model.
Let Copilot Fusion choose (MAI Code 1.1 Flash only). Turn on Local model auto routing in the Experimental section of the app's settings, choose Copilot Fusion in the model picker and select the Fusion Standard effort level. GitHub says Fusion will then use MAI Code 1.1 Flash for appropriate tasks and leave cloud models for tasks that need more resources or performance.
Assign it to a custom agent for focused tasks, while your main session uses a cloud model.
GitHub says using a local model lets you use Copilot offline and avoid consuming GitHub AI Credits. Note one caveat from GitHub's changelog: when Copilot Fusion is routing between local and cloud models, the routing decisions are still made in the cloud, so a Fusion session isn't offline. GitHub also says local models may have different safety protections from its cloud models.
Don't run it in two places at once
GitHub gives one important warning: don't use a downloaded local model at the same time in different Copilot surfaces, such as Copilot CLI, the Copilot app and VS Code. Each loads its own copy of the model into memory, which GitHub says is likely to make your PC run out of RAM. With a model that needs 96GB, that's easy to do.
Other ways to use a local model with Copilot
If your PC doesn't meet these requirements, the Copilot app also supports bring-your-own-key providers, including Ollama, LM Studio and Foundry Local, so you can connect a model you run yourself and select it directly. GitHub's changelog says the app's automatic routing currently works only with the managed Windows ML models, though, so those models won't be chosen by Copilot Fusion in the app. We covered one such set-up in our story on Foundry Local and GitHub Copilot.
Our verdict
To run GitHub Copilot with a local model on Windows, install a recent llama.cpp CUDA build, set LLAMACPP_SERVER_PATH to its llama-server.exe, then add the Windows ML provider in the Copilot app and download MAI Code 1.1 Flash or Flint NVFP4. Turn on Local model auto routing and choose Fusion Standard if you want Copilot to use MAI Code 1.1 Flash automatically. The catch is hardware: GitHub requires an NVIDIA GPU, at least 96GB of available combined RAM and 60GB of storage for MAI Code 1.1 Flash (48GB and 23GB for Flint NVFP4), and its install example is for Arm-based Windows PCs such as RTX Spark systems. It's a preview, and we haven't tested it.