# Run a local LLM chatbot on a Raspberry Pi 5

## In this learning path

- [Introduction](https://learn.arm.com/learning-paths/embedded-and-microcontrollers/llama-python-cpu/)
- [Run a Large Language Model (LLM) chatbot on a Raspberry Pi 5](https://learn.arm.com/learning-paths/embedded-and-microcontrollers/llama-python-cpu/llama-python-chatbot/)
- [Next Steps](https://learn.arm.com/learning-paths/embedded-and-microcontrollers/llama-python-cpu/_next-steps/)

## About this Learning Path

|  |  |
| --- | --- |
| Skill level: | Introductory |
| Reading time: | 30 min |
| Last updated: | 12 Nov 2026 |

|  |  |
| --- | --- |
| Author: | Jason Andrews , Arm<br>[GitHub](https://github.com/jasonrandrews)<br>[LinkedIn](https://linkedin.com/in/jason-andrews-7b05a8) |
| Arm IP: | [Cortex-A](https://support.arm.com/?tab=compute-ip&Product%20Type=Application%20Processors) |
| Tags: | [AI/ML](https://learn.arm.com/tag/ai-ml/) [Linux](https://learn.arm.com/tag/linux) [LLM](https://learn.arm.com/tag/llm) [Generative AI](https://learn.arm.com/tag/generative-ai) [Raspberry Pi](https://learn.arm.com/tag/raspberry-pi) [Python](https://learn.arm.com/tag/python) [Hugging Face](https://learn.arm.com/tag/hugging-face) |

## Who is this for?
This is an introductory topic for anyone interested in running a local Large Language Model on a Raspberry Pi 5.

## What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Install the Python version of llama.cpp on your Raspberry Pi 5.
- Download an LLM from Hugging Face.
- Assess LLM memory size and performance.
- Run the LLM on your Raspberry Pi 5 using Python bindings for llama.cpp.

## Prerequisites
Before starting, you'll need the following prerequisites:
- A Raspberry Pi 5 running Raspberry Pi OS.

## Summary
You’ll run a local chatbot on a Raspberry Pi 5 with 64-bit Raspberry Pi OS. First, you’ll install the Python bindings for `llama.cpp`, choose a model that fits available memory, and download it from Hugging Face. Then, you’ll load the model, generate responses, and verify interactive inference directly on the Arm Linux device.
