Copilot CLI Runs Locally on Raspberry Pi 5

GitHub's command-line Copilot was set up on a Raspberry Pi 5 with an AI HAT+ 2, running an open model entirely on the device.

Updated on Nov. 29, 2026 in Artificial Intelligence

Copilot CLI Runs Locally on Raspberry Pi 5

A setup pairing GitHub's official Copilot command-line tool with a Raspberry Pi 5 and an AI HAT+ 2 runs the open qwen2.5-coder:1.5b model locally, sending no data off the device. The configuration relies on GitHub's bring-your-own-model support.

Why it matters

Running a coding assistant fully on a small, low-power board shows that AI developer tools can operate without a cloud connection. It points to privacy-preserving options for developers who do not want code sent to external servers.

The Raspberry Pi 5 power supply is rated at 27W and outputs a maximum of 25.5W for the whole setup, while Apple lists the Mac mini M4 at up to 65W. The source does not report how well the 1.5-billion-parameter model performs on this hardware.

The players

GitHub

GitHub is a software development platform owned by Microsoft that hosts code repositories and develops the Copilot AI coding assistant.

Raspberry Pi

Raspberry Pi is a British maker of low-cost single-board computers widely used for education, prototyping, and embedded projects.

The details

The GitHub Copilot CLI was installed on a Raspberry Pi 5 with an AI HAT+ 2 attached. The setup uses GitHub's bring-your-own-model support to run the open qwen2.5-coder:1.5b model, processing all data on the device.

The Tech Race

GitHub's bring-your-own-model support lets Copilot CLI use open models instead of only its hosted ones, a feature that competes with local-first AI tooling from other developers. Running the setup on a Raspberry Pi 5 extends that flexibility to hardware far smaller than a typical developer workstation.

Developers who want to keep code off external servers now have a documented route to run a coding assistant on a single small device. The setup also shows that a modest power budget of about 25W can drive the full workflow.

The takeaway

Local AI tools are becoming practical on inexpensive hardware, giving developers a way to keep their code on their own device. Anyone considering this approach should weigh the tradeoff between privacy and the performance limits of smaller models.

Further reading

Explore more on Artificial Intelligence developments shaping how developers run coding tools.

Source note: This article includes information reported by XDA-Developers.