{"slug": "copilot-runs-on-raspberry-pi-and-this-time-its-local", "title": "Copilot Runs on Raspberry Pi, And This Time It’s Local", "summary": "Martin Woodward published a step-by-step tutorial for running GitHub Copilot's command-line interface fully offline on a Raspberry Pi 5 with the AI HAT+ 2 neural network accelerator, serving the qwen2.5-coder:1.5b model locally through LiteLLM's OpenAI-compatible API with no remote API calls. The setup boots headless, and users SSH into the Pi and run `copilot` to start a coding task; Woodward claims the 1.5B model is \"quite capable for its small size\" despite being far smaller than hosted alternatives. The tutorial matters because it gives developers a private, fully local path to an AI coding assistant on low-cost hardware.", "body_md": "[Martin Woodward] provides a step-by-step tutorial on getting [a functional coding AI model running on a Raspberry Pi 5](https://www.woodwardweb.com/post/2026/10/raspberry-pi-ai-hat-local-models-for-copilot/) equipped with an official AI accelerator add-on. This setup involves no remote API calls; everything runs locally and completely offline. If you’ve seen the Raspberry Pi AI HAT+ 2 board but had difficulty grasping how to use it, this project is the missing link.\n\nUnder the hood is the [GitHub Copilot command-line interface](https://github.com/github/copilot-cli), running natively on the Raspberry Pi. Copilot supports local AI models instead of using paid APIs. By attaching the AI HAT+ 2 — a neural network accelerator — running the `qwen2.5-coder:1.5b` model at a reasonable pace becomes feasible.\n\nThe runtime for the accelerator board serves the model, [LiteLLM](https://github.com/BerriAI/litellm) provides a standard OpenAI-compatible API interface, and Copilot talks to that.\n\n[Martin] provides the exact steps and configuration required to make the Pi boot headless and have everything up and running shortly after power-up. After that, all one needs to do is SSH into the Pi and run `copilot` in order to get the model started on a coding task.\n\nSure, `qwen2.5-coder:1.5b` is a very small model compared to the big offerings, but it’s entirely private and [Martin] claims it’s quite capable for its small size.\n\nAs of earlier this year, [Microsoft *technically* advises using Copilot only for entertainment purposes](https://hackaday.com/2026/04/01/ask-hackaday-using-copilot-are-you-entertained/), and while they probably did not have something like this in mind, it does seem to fit the bill.", "url": "https://wpnews.pro/news/copilot-runs-on-raspberry-pi-and-this-time-its-local", "canonical_source": "https://hackaday.com/2026/11/28/copilot-runs-on-raspberry-pi-and-this-time-its-local/", "published_at": "2026-11-29 03:00:34+00:00", "updated_at": "2026-11-29 03:12:35.915217+00:00", "lang": "en", "topics": ["ai-tools", "large-language-models", "ai-infrastructure", "developer-tools"], "entities": ["Martin Woodward", "GitHub Copilot", "Raspberry Pi 5", "AI HAT+ 2", "qwen2.5-coder:1.5b", "LiteLLM", "Microsoft"], "also_reported_by": [], "takeaway": "Running qwen2.5-coder:1.5b on a Raspberry Pi 5 with the AI HAT+ 2 accelerator, served via LiteLLM's OpenAI-compatible API, lets GitHub Copilot CLI work fully offline with no remote API calls.", "recommendation": {"advice": "To run a coding assistant fully offline, pair a Raspberry Pi 5 with the AI HAT+ 2 accelerator, serve qwen2.5-coder:1.5b through LiteLLM's OpenAI-compatible endpoint, and point Copilot CLI at it.", "playbook": "inference-serving", "playbook_url": "https://wpnews.pro/playbooks/inference-serving"}, "alternates": {"html": "https://wpnews.pro/news/copilot-runs-on-raspberry-pi-and-this-time-its-local", "markdown": "https://wpnews.pro/news/copilot-runs-on-raspberry-pi-and-this-time-its-local.md", "text": "https://wpnews.pro/news/copilot-runs-on-raspberry-pi-and-this-time-its-local.txt", "jsonld": "https://wpnews.pro/news/copilot-runs-on-raspberry-pi-and-this-time-its-local.jsonld"}}