# Deploy a llama.cpp chatbot with KleidiAI on Arm servers

## In this learning path

- [Introduction](https://learn.arm.com/learning-paths/servers-and-cloud-computing/llama-cpu/)
- [Demo](https://learn.arm.com/learning-paths/servers-and-cloud-computing/llama-cpu/_demo/)
- [Run a large language model chatbot on Arm servers](https://learn.arm.com/learning-paths/servers-and-cloud-computing/llama-cpu/llama-chatbot/)
- [Access the chatbot using the OpenAI-compatible API](https://learn.arm.com/learning-paths/servers-and-cloud-computing/llama-cpu/llama-server/)
- [Next Steps](https://learn.arm.com/learning-paths/servers-and-cloud-computing/llama-cpu/_next-steps/)

## About this Learning Path

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

### Authors:
- [Pareena Verma](https://github.com/pareenaverma), Arm  
- [Jason Andrews](https://github.com/jasonrandrews), Arm  
- Zach Lasiuk  

**Arm IP:** [Neoverse](https://support.arm.com/?tab=compute-ip&Product%20Type=Infrastructure%20Processors)

**Tags:** 
- [AI/ML](https://learn.arm.com/tag/ai-ml/)
- [AWS Graviton](https://learn.arm.com/tag/aws-graviton)
- [Linux](https://learn.arm.com/tag/linux)
- [LLM](https://learn.arm.com/tag/llm)
- [Generative AI](https://learn.arm.com/tag/generative-ai)
- [Python](https://learn.arm.com/tag/python)
- [Demo](https://learn.arm.com/learning-paths/servers-and-cloud-computing/llama-cpu/_demo)
- [Hugging Face](https://learn.arm.com/tag/hugging-face)

## Who is this for?

This is an introductory topic for developers interested in running LLMs on Arm-based servers.

## What will you learn?

After completing this Learning Path, you'll be able to perform the following tasks:

- Download and build llama.cpp on your Arm server.
- Download a pre-quantized Llama 3.1 model from Hugging Face.
- Run the pre-quantized model on your Arm CPU and measure the performance.

## Prerequisites

Before starting, you'll need the following prerequisites:

- An AWS Graviton4 r8g.16xlarge instance to test Arm performance optimizations, or any [Arm based instance](https://learn.arm.com/learning-paths/servers-and-cloud-computing/csp/) from a cloud service provider or an on-premise Arm server.

## Summary

You’ll deploy a persistent LLM chatbot on an Arm server with `llama.cpp` and a pre-quantized Llama 3.1 8B model from Hugging Face. First, you’ll build `llama.cpp`, obtain the model, launch its OpenAI-compatible server, and expose it on port `8080`. You’ll then access the chatbot using the OpenAI-compatible API.
