{"title":"Raspberry Pi AI HAT+ 2","handle":"raspberry-pi-ai-hat-plus-2","url":"/products/raspberry-pi-ai-hat-plus-2","description":"AI HAT+ 2 is Raspberry Pi's accelerator for running generative AI on Raspberry Pi 5 without a network connection. It pairs a Hailo-10H accelerator, rated at 40 TOPS (INT4), with 8GB of its own memory, so small language models (LLMs) and vision-language models (VLMs) run on the HAT and leave the Pi's RAM for your program.\n\nIt is a vision accelerator first: Raspberry Pi rates its computer vision performance as comparable to the 26 TOPS AI HAT+, and it works with the camera software in the same way. What it adds is language-model support, for jobs such as short answers to questions, describing what a camera sees, speech-to-text and translation, all kept on the device.\n\nWhy choose it\n\n  Language models, offline. It runs LLMs and VLMs of up to about 6 billion parameters from its own 8GB of memory, through a local REST server (hailo-ollama) that your code or a chat front end can talk to.\n  Vision as well. Detection, segmentation and pose models run through rpicam-apps and Picamera2, with performance comparable to the 26 TOPS AI HAT+.\n  Make it yours. Hailo supplies sample models; you can train your own vision models or fine-tune generative models with Low-Rank Adaptation (LoRA).\n  Data stays on site. With no cloud service in the loop there are no per-request API costs and nothing leaves the device.\n  In production until at least January 2036, the longest commitment of any Raspberry Pi AI accelerator.\n\n\nWhich Raspberry Pi AI accelerator?\n\n  \n    AI HAT+ 2AI HAT+ 26 TOPSAI HAT+ 13 TOPS\n  \n  \n    AcceleratorHailo-10HHailo-8Hailo-8L\n    Performance40 TOPS (INT4)26 TOPS (INT8)13 TOPS (INT8)\n    Memory for models8GB on the boardUses the Pi's RAMUses the Pi's RAM\n    Language and vision-language modelsUp to about 6 billion parametersNoNo\n    Software packagehailo-h10-allhailo-allhailo-all\n    ProductionUntil at least January 2036Until at least January 2030Until at least January 2030\n  \n\nFor vision work alone, the AI HAT+ is the simpler choice. Choose AI HAT+ 2 when you also want a language model on the device.\n\nSpecifications\n\n  \n    AcceleratorHailo-10H, 40 TOPS (INT4)\n    On-board memory8GB dedicated RAM\n    Model sizeLLMs and VLMs up to about 6 billion parameters\n    HostRaspberry Pi 5 only\n    ConnectionRaspberry Pi 5 PCIe connector (ribbon cable) and GPIO header, PCIe Gen 3 set automatically\n    StandardConforms to the Raspberry Pi HAT+ specification\n    Software64-bit Raspberry Pi OS (Trixie), hailo-h10-all package, Hailo's Gen-AI Model Zoo and hailo-ollama\n    Board sizeSame as AI HAT+, about 65 × 56.5mm\n    Operating temperature0°C to 50°C (ambient)\n    Production lifetimeUntil at least January 2036\n  \n\n\nIn the box\n\n  Raspberry Pi AI HAT+ 2\n  Heatsink for the HAT (optional, with push pins and thermal pads)\n  PCIe ribbon cable\n  16mm GPIO stacking header\n  Four threaded spacers, four long screws and four short screws\n\n\nGood to know\n\n  It works only with Raspberry Pi 5. The model runs in the HAT's own memory; we suggest an 8GB Pi so the model server and your program have room.\n  Fit the supplied heatsink if you will run benchmarks or long, heavy workloads, to stop the accelerator slowing itself down when hot. Fit it before mounting the HAT, and don't remove it afterwards: the push pins and thermal pads won't survive it.\n  The HAT is made to fit over a Raspberry Pi Active Cooler, which Raspberry Pi recommends. With the heatsink fitted, Raspberry Pi gives the height as about 14mm, so check the clearance in a case.\n  Raspberry Pi 5 has one PCIe port and AI HAT+ 2 uses it, so you can't fit an M.2 HAT+ or NVMe SSD as well. The system and the models live on the microSD card.\n  Setup is sudo apt install dkms then sudo apt install hailo-h10-all, then Hailo's Gen-AI Model Zoo for hailo-ollama. Raspberry Pi's guide uses qwen2:1.5b as its example model. hailo-h10-all can't be installed alongside the AI HAT+'s hailo-all.\n  40 TOPS is Hailo's peak INT4 rating, not a measured result. Language models are limited to about 6 billion parameters by the 8GB on the board, so treat it as a vision accelerator that can also run a small language model, not a replacement for a large cloud chatbot.\n","vendor":"Raspberry Pi","in_stock":false,"options":[{"name":"Title","values":["Default Title"]}],"variants":[{"id":1147,"title":"Default Title","sku":"RP-SC2166","mpn":"SC2166","price":322.0,"compare_at_price":0.0,"on_sale":false,"in_stock":false,"available_quantity":0,"option1":"Default Title"}],"documents":[{"title":"Raspberry Pi AI HAT+ 2 Product Brief","type":"product_brief","type_label":"Product Brief","url":"https://piaustralia.com.au/rails/active_storage/blobs/redirect/BAh7BkkiC19yYWlscwY6BkVUewdJIglkYXRhBjsAVGkC6hRJIghwdXIGOwBUSSIMYmxvYl9pZAY7AEY=--2579220f8747d1b0032a6dab62eecedae8642b07/RP-009655-MM-6-raspberry-pi-ai-hat-plus-2-product-brief.pdf","link":false,"file_extension":"PDF","file_size":4336862,"description":"Product overview and specifications for the Raspberry Pi AI HAT+ 2."}]}