<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/running-llms-on-raspberry-pi-and-edge-devices-vywckugzb" -->

---
title: Running LLMs on Raspberry Pi and Edge Devices | daily.dev
description: A practical, step-by-step guide to deploying quantized LLMs on a Raspberry Pi 5 using Llama.cpp and GGUF-format models. Covers OS setup (Raspberry Pi OS Lite...
canonical: https://daily.dev/posts/running-llms-on-raspberry-pi-and-edge-devices-vywckugzb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Running LLMs on Raspberry Pi and Edge Devices | daily.dev
og:description: A practical, step-by-step guide to deploying quantized LLMs on a Raspberry Pi 5 using Llama.cpp and GGUF-format models. Covers OS setup (Raspberry Pi OS Lite...
og:url: https://daily.dev/posts/running-llms-on-raspberry-pi-and-edge-devices-vywckugzb
og:image: https://api.daily.dev/og/posts/VywcKUGZB.png
og:image:alt: Running LLMs on Raspberry Pi and Edge Devices
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Running LLMs on Raspberry Pi and Edge Devices

**[SitePoint](https://daily.dev/sources/sitepoint)** · 18 min read · 1 upvotes · 0 comments

## Summary

A practical, step-by-step guide to deploying quantized LLMs on a Raspberry Pi 5 using Llama.cpp and GGUF-format models. Covers OS setup (Raspberry Pi OS Lite 64-bit, swap configuration), building Llama.cpp from source with ARM NEON/dotprod optimizations, selecting appropriate Q4_K_M quantized models (TinyLlama 1.1B through Phi-3 Mini 3.8B), running interactive inference, and exposing an OpenAI-compatible HTTP API for IoT and Home Assistant integration. Includes concrete performance benchmarks (12–18 tok/s for 1.1B, 4–7 tok/s for 3.8B), security guidance for API key management, thermal throttling monitoring, memory management tips, and a frank discussion of the quality ceiling of sub-4B models versus cloud LLMs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.sitepoint.com/llms-raspberry-pi-edge/>

## Similar posts on daily.dev

- [I built a local LLM server I can access from anywhere, and it uses a Raspberry Pi](https://daily.dev/posts/i-built-a-local-llm-server-i-can-access-from-anywhere-and-it-uses-a-raspberry-pi-3larnkgf3) · XDA Developers · 0 upvotes · 0 comments
- [How to Run LLMs Locally: A Practical Guide for Developers](https://daily.dev/posts/how-to-run-llms-locally-a-practical-guide-for-developers-tijurupob) · BigData Boutique blog · 2 upvotes · 0 comments
- [Qwen3.5 - How to Run Locally Guide](https://daily.dev/posts/qwen3-5---how-to-run-locally-guide-t89pkcicv) · Hacker News · 2 upvotes · 0 comments
- [Guide to Local LLMs in 2026: Privacy, Tools & Hardware](https://daily.dev/posts/guide-to-local-llms-in-2026-privacy-tools-hardware-yigh17bqi) · SitePoint · 1 upvotes · 0 comments

---

Tags: [#iot](https://daily.dev/tags/iot), [#llama-cpp](https://daily.dev/tags/llama-cpp), [#llm](https://daily.dev/tags/llm), [#local-ai](https://daily.dev/tags/local-ai), [#raspberry-pi](https://daily.dev/tags/raspberry-pi)

[View this post on daily.dev](https://daily.dev/posts/running-llms-on-raspberry-pi-and-edge-devices-vywckugzb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Running LLMs on Raspberry Pi and Edge Devices","url":"https://daily.dev/posts/running-llms-on-raspberry-pi-and-edge-devices-vywckugzb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/running-llms-on-raspberry-pi-and-edge-devices-vywckugzb"},"datePublished":"2026-02-25T18:10:05.218Z","dateModified":"2026-10-14T02:24:52.819Z","description":"A practical, step-by-step guide to deploying quantized LLMs on a Raspberry Pi 5 using Llama.cpp and GGUF-format models. Covers OS setup (Raspberry Pi OS Lite...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/10833e3d3ce7c8de53832a5e88e569d0?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/10833e3d3ce7c8de53832a5e88e569d0?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"SitePoint","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"SitePoint","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/sitepoint","url":"https://daily.dev/sources/sitepoint"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/running-llms-on-raspberry-pi-and-edge-devices-vywckugzb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"iot,llama-cpp,llm,local-ai,raspberry-pi","timeRequired":"PT18M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"SitePoint","item":"https://daily.dev/sources/sitepoint"},{"@type":"ListItem","position":3,"name":"Running LLMs on Raspberry Pi and Edge Devices"}]}
```

