42%
of 24 real tasks with Qwen3.6 on a rented RTX 4090, against 92% on Copilot Pro+ Auto
GGUF, October 2026
When is local Copilot worth it?
The same Copilot CLI agent on the same real coding tasks: downloadable models on a rented RTX 4090 reached over the network and on a MacBook Air M5, against hosted Copilot.
Written by
What we compared
- Copilot CLI
- GitHub's coding agent for the terminal. It works by calling tools: reading files, running commands, editing code and checking on helper agents it starts.
- Hosted Copilot
- Copilot on GitHub's own models, in four setups: the Free (education), Pro and Pro+ plans ($0, $10 and $39 a month) on Auto, where GitHub picks the model, and Pro+ pinned to its top model, gpt-6-astra. Hosted runs spend credits.
- Served locally
- Three downloadable models, Qwen3.6, Gemma 4 and gpt-oss-20b, stored as GGUF files (llama.cpp's compressed format) and served by llama.cpp. One machine was an RTX 4090 rented in the cloud and reached over the network; the other, a 24 GB MacBook Air M5, ran agent and model together.
- Finished
- A task counts as finished when its own test, the repository's existing tests and a tamper check pass on what the agent left. Each run is stopped at 600 s, a 10-minute waiting budget, and time spent on the network counts against that.
- Registered or exploratory
- The ten setups, the tasks, the time limit and the main comparison were committed before scoring. Setups and tests added afterwards are exploratory: shown, but outside every comparison the study tests.
- Main comparison
- Qwen3.6 on the 4090 against Copilot Pro+ on Auto. Gaps are in percentage points of the 24 tasks, with a 95% interval: the range the gap could plausibly take on other tasks like these.
- Declared
- A gap is declared when two things hold: its whole 95% interval lies more than 10 points from zero, the study's margin, and its p, the chance of a gap at least this large if the two setups were equal, is under 0.05. With nine more comparisons, some gaps would look real by chance, so their p values are corrected first (the Holm correction).
What we found
On these 24 tasks, hosted Copilot finished more
In the main comparison, Qwen3.6 on the rented 4090 finished 10 of 24 tasks and Copilot Pro+ on Auto 22: 50 percentage points fewer, with a 95% interval of 29 to 71 points (p = 0.0005).
Qwen3.6 lost mostly to a loop, not to the network
13 of its 24 runs kept calling one tool over and over, 10 of them asking after missing helper agents. 12 of the 13 runs stopped at the 600 s limit were loops.
Gemma 4 on the 4090 came closest of the registered local setups
It finished 14 of 24 against Pro+ on Auto's 22. That 33-point gap is too uncertain to declare once the study corrects for making nine comparisons (corrected p = 0.108). The other registered local setups finished 7 to 10.
Fast is not the same as finished
gpt-oss-20b on the 4090 had the shortest median run of all ten setups, 31.7 s against 57.9 s for Pro+ on Auto, yet finished only 10 of 24 tasks.
Another agent finished 6 more tasks with Qwen3.6
In an exploratory test with agent and model on one 4090, Qwen3.6 finished 12 of 24 with Copilot CLI and 18 with pi, another coding agent; Qwen3.8-27B, a model added later, 17 and 22. A second Copilot CLI run moved Qwen3.6 by 3.
Local was not always cheaper per finished task
Counting rented GPU time and hosted credits, but no idle time or monthly fees: Qwen3.6 on the 4090 cost $0.218 per finished task, Pro+ on Auto $0.169, gpt-oss-20b $0.022, and the free education plan, which finished all 24, $0.011.
The results
Tasks finished, run time and cost for each registered setup
The ten registered setups, on the 24 tasks every setup ran.
Hosted CopilotServed locally
Copilot Free (education), Auto
Finished24 of 24Median run55 sPer task$0.011Copilot Pro+, top model pinned
Finished24 of 24Median run63 sPer task$0.582Copilot Pro, Auto
Finished23 of 24Median run63 sPer task$0.148Copilot Pro+, Auto
Finished22 of 24Median run58 sPer task$0.169Gemma 4 on the RTX 4090
Finished14 of 24Median run50 sPer task$0.098Qwen3.6 on the RTX 4090
Finished10 of 24Median run600 sPer task$0.218gpt-oss-20b on the RTX 4090
Finished10 of 24Median run32 sPer task$0.022Gemma 4 on the MacBook Air
Finished10 of 24Median run481 sPer tasknot pricedgpt-oss-20b on the MacBook Air
Finished7 of 24Median run227 sPer tasknot pricedQwen3.6 on the MacBook Air
Finished7 of 24Median run600 sPer tasknot priced
A median of 600 s means at least half the runs hit the limit. Cost: agent time at $0.89 an hour on the rented 4090, idle and loading excluded; hosted credits at $0.01. Owning a 4090 (its purchase and power) and electricity on the MacBook Air are not priced.
Every registered local setup finished fewer tasks than Copilot Pro+ on Auto
Gap in tasks finished against Pro+ on Auto, in percentage points, with its 95% interval; left of zero finished less. The shaded band is the study's 10-point margin. Equivalence inside it is not tested.
Hosted CopilotServed locally
Qwen3.6 on the RTX 4090
−50 declared, main comparison
gpt-oss-20b on the RTX 4090
−50 declared
Gemma 4 on the RTX 4090
−33 not declared after Holm
gpt-oss-20b on the MacBook Air
−62 declared
Qwen3.6 on the MacBook Air
−62 declared
Gemma 4 on the MacBook Air
−50 declared
Copilot Pro, Auto
+4 no difference declared
Copilot Free (education), Auto
+8 no difference declared
Copilot Pro+, top model pinned
+8 no difference declared
The drawn intervals are not corrected; the p values are. That is why Gemma 4 on the RTX 4090 lies past the margin yet is not declared. Not drawn, because it is not against Pro+ on Auto: the ninth comparison, the same gpt-oss-20b file on the 4090 against the MacBook Air, +12 points (−4 to +29), no difference declared.
The rented 4090 spent a third or more of its time on the network
Share of each setup's summed agent time. Prefill is the model reading the prompt, decode is it writing the reply, and the proxy passes requests between the agent and the 4090's model server. On the Air nearly all the time went to prefill and decode.
PrefillDecodeNetwork and proxyTools and CLIModel, hosted and not split
Qwen3.6 on the RTX 4090
Prefill 8%Decode 32%Network and proxy 57%Tools and CLI 3%prefill 8%, decode 32%, network and proxy 57%, tools and CLI 3%
gpt-oss-20b on the RTX 4090
Prefill 7%Decode 38%Network and proxy 37%Tools and CLI 19%prefill 7%, decode 38%, network and proxy 37%, tools and CLI 19%
Gemma 4 on the RTX 4090
Prefill 5%Decode 51%Network and proxy 34%Tools and CLI 10%prefill 5%, decode 51%, network and proxy 34%, tools and CLI 10%
Qwen3.6 on the MacBook Air
Prefill 23%Decode 71%Network and proxy 1%Tools and CLI 5%prefill 23%, decode 71%, network and proxy 1%, tools and CLI 5%
gpt-oss-20b on the MacBook Air
Prefill 27%Decode 71%Network and proxy 1%Tools and CLI 2%prefill 27%, decode 71%, network and proxy 1%, tools and CLI 2%
Gemma 4 on the MacBook Air
Prefill 32%Decode 64%Network and proxy 1%Tools and CLI 2%prefill 32%, decode 64%, network and proxy 1%, tools and CLI 2%
Copilot Pro+, Auto
Model, hosted and not split 72%Tools and CLI 28%model, hosted and not split 72%, tools and CLI 28%
Copilot Pro, Auto
Model, hosted and not split 72%Tools and CLI 28%model, hosted and not split 72%, tools and CLI 28%
Copilot Free (education), Auto
Model, hosted and not split 71%Tools and CLI 29%model, hosted and not split 71%, tools and CLI 29%
Copilot Pro+, top model pinned
Model, hosted and not split 74%Tools and CLI 26%model, hosted and not split 74%, tools and CLI 26%
The same local models under Copilot CLI and under pi
Checked after the study: the same model files, server, tasks and checks, run once with Copilot CLI and once with pi. pi has its own instructions and four tools, none for helper agents, so several things change at once and this test cannot say which one mattered. Here agent and model shared one 4090 with no network between them, in new runs. Tasks finished of 24, with the median run.
Copilot CLIpi
gpt-oss-20b
Copilot CLI 7 of 24, 30 spi 10 of 24, 14 sQwen3.6-35B-A3B
Copilot CLI 12 of 24, 340 spi 18 of 24, 44 sGemma 4 26B-A4B
Copilot CLI 13 of 24, 37 spi 13 of 24, 31 sQwen3.8-27B
Copilot CLI 17 of 24, 80 spi 22 of 24, 72 sMellum 2.1 12B, thinking
Copilot CLI 11 of 24, 114 spi 8 of 24, 39 s
Mellum 2.1 was added after the study and ran with reasoning on. In the names, 35B-A3B means 35 billion numbers, about 3 billion used for each word. These Copilot CLI counts are not the scorecard's: gpt-oss-20b 7 here against 10 there, Qwen3.6 12 against 10, Gemma 4 13 against 14. A second Copilot CLI run of Qwen3.6 finished 9 instead of 12, so a change of 3 is within one rerun.
Every numberThe ten setups and the two-agent check as tablesShowHide
| Configuration | Tasks of 24 | Median run, s | Cost per task |
|---|---|---|---|
| Copilot Free (education), Auto | 24 | 54.7 | $0.011 |
| Copilot Pro+, top model pinned | 24 | 62.7 | $0.582 |
| Copilot Pro, Auto | 23 | 63.2 | $0.148 |
| Copilot Pro+, Auto | 22 | 57.9 | $0.169 |
| Gemma 4 on the RTX 4090 | 14 | 50.2 | $0.098 |
| Qwen3.6 on the RTX 4090 | 10 | 600.0 | $0.218 |
| gpt-oss-20b on the RTX 4090 | 10 | 31.7 | $0.022 |
| Gemma 4 on the MacBook Air | 10 | 480.6 | Not priced |
| gpt-oss-20b on the MacBook Air | 7 | 227.3 | Not priced |
| Qwen3.6 on the MacBook Air | 7 | 600.1 | Not priced |
| Model | Copilot CLI | pi |
|---|---|---|
| gpt-oss-20b | 7 of 24, 29.7 s | 10 of 24, 14.2 s |
| Qwen3.6-35B-A3B | 12 of 24, 339.9 s | 18 of 24, 43.5 s |
| Gemma 4 26B-A4B | 13 of 24, 37.4 s | 13 of 24, 31.0 s |
| Qwen3.8-27B | 17 of 24, 79.6 s | 22 of 24, 72.0 s |
| Mellum 2.1 12B, thinking | 11 of 24, 113.9 s | 8 of 24, 38.7 s |
How we ran it
- Tasks
- 24 real pending maintenance tasks on three public repositories, each frozen at a commit, with an acceptance check anyone can run. The study planned 36, 12 per repository, with a floor of 24.
- Agent
- Copilot CLI, the same binary and flags on every setup. Every run starts from a fresh clone.
- Scoring
- The checks run outside the agent's copy.
- Hosted
- Paid plans had a credit limit per run.
- Local
- llama-server from llama.cpp at commit c1d0e7a. The RTX 4090 was reached through a proxy.
- Models
- Qwen3.6-35B-A3B and Gemma 4 26B-A4B with reasoning off, gpt-oss-20b at low reasoning effort. GGUF files on the 4090: Qwen3.6 UD-IQ4_XS, Gemma 4 UD-Q4_K_XL. On the Air, smaller ones: UD-Q3_K_XL and UD-IQ4_XS. gpt-oss-20b is the same file on both, F16 with MXFP4 experts.
- Runs
- 754 scored runs: 240 in the ten registered configurations and 514 in exploratory ones. Changes after registration are logged in the protocol and marked where they came after related results, such as limiting the analysis to the 24 tasks every setup ran.
- Statistics
- For the main comparison, a task-paired bootstrap interval and a permutation test; for the nine others, the Holm correction.
Limits
- No buying rule
- 24 tasks from three repositories chosen by the author support no claim of equivalence, plan ranking or general buying rule.
- Whole configurations
- Model file and quantization (how many bits store each of the model's numbers), runtime, memory pressure, client OS, tools, credit budget and Auto routing all differ. The results compare configurations and do not attribute a gap to hardware alone.
- One run each
- The registered analysis is one run per task and configuration, at temperature 0 with no fixed seed, so its interval is across tasks and does not establish repeatability.
- A rented 4090
- For Qwen3.6, the network and proxy took a median of 284.6 s a run. The study estimates a desk 4090 at 176.4 s a run, assuming the agent acts the same. The one capped run that was not a loop would have had time left, which is not evidence it would have finished.
- Reasoning off
- With reasoning off, the model does not write out its thinking before it answers, while the hosted models ran as GitHub serves them. Which way that cuts is not settled: with agent and model on one 4090, Mellum passed 4 of 24 with reasoning off and 11 with it on, but Qwen3.6 12 and 3.
- The MacBook Air
- It paged memory to disk in most of its runs, with 1.6 to 10.1 GB of swap in use, and 13 of the 24 Qwen3.6 runs and 23 of the 24 Gemma 4 runs ran on battery. What that changed is not measured.
- One agent
- Copilot CLI is the only agent in the registered design, so results are model-plus-agent outcomes. One model request at a time; several agents at once are not measured.
- Isolation
- The sandbox lowers, and does not rule out, the chance that an agent reached outside its copy of the task, for example to the web. Hosted runs kept web and GitHub tools, though no fetching command was detected in their traces. Hosted Auto routing cannot be reproduced; the model each run used is in its trace.
The results document opens with the full list of caveats. Read it before quoting these numbers.
Sources
The measurement behind GitHub Universe 2026 session BLD1241D, “When is local Copilot worth it? Three open-weight coders vs. Copilot out of the box”. Every run's trace, patch, check result and timing row is committed.