GitHub Copilot CLI runs locally on a Raspberry Pi 5 with AI HAT+ 2
GitHub has successfully run the official Copilot CLI locally on a Raspberry Pi 5 and AI HAT+ 2 using the qwen2.5-coder:1.5b model.

Local artificial intelligence continues to make impressive strides, offering hardware enthusiasts private and self-contained computing setups. Recently, developers have managed to run the official GitHub Copilot CLI directly on a Raspberry Pi 5 single-board computer.
- The official GitHub Copilot CLI runs completely offline on a Raspberry Pi 5.
- It leverages the open qwen2.5-coder:1.5b model using custom model support.
- The entire setup draws roughly 25.5W of power from the official power supply.
A private Copilot running without cloud servers
As spotted by Hackaday and shared by GitHub's VP of Developer Relations, Martin Woodward, engineers successfully fitted the Copilot CLI onto a Raspberry Pi 5 equipped with an AI HAT+ 2 board. Because everything operates locally, the system does not need to transmit any private data or code off the physical device to complete tasks.
It is important to note that this is not the standard web browser version of Copilot. Instead, it is GitHub's official command-line interface utilizing bring-your-own-model support to run the open-weight qwen2.5-coder:1.5b model under the hood, enabling offline functionality right inside the terminal.
Read alsoInkling 2 Mini release date, specs, and why it outperforms Qwen 27BPerformance capabilities and power efficiency
Naturally, a compact single-board computer cannot compete with massive cloud data centers running flagship AI models. A Raspberry Pi 5 cannot match heavy-duty enterprise workloads, even with the AI HAT+ 2 accelerator installed.
However, for lightweight tasks, Woodward notes that it works wonderfully for generating quick summaries and first-pass text drafts before switching over to powerful cloud models for deeper reasoning. Furthermore, the power figures are exceptionally friendly, drawing a maximum of 25.5W from the official power supply, making it an efficient device you can leave running quietly on a shelf.
What this means for developers and local AI
This setup presents an appealing alternative for developers who want the convenience of AI assistance without monthly subscription fees or sending sensitive documents to external data centers. Running an efficient offline LLM proves that practical, privacy-focused developer tools are becoming increasingly accessible on everyday consumer hardware.
Source: XDA



