LLamaSharp social preview
chat-ui3,707MIT

LLamaSharp

A C#/.NET library to run LLM (🦙LLaMA/LLaVA) on your local device efficiently.

Updated Jun 8, 2026
Platforms
Pricing
free-open-source
Status
active
License
MIT

What it does

Core capabilities at a glance

  • Chatbot
  • GPT
  • Llama
  • Llama CPP
  • Llama2
  • Llama3
  • Llamacpp
  • Llava

Deep dive

The full breakdown - performance, comparisons, and setup

LLamaSharp

LLamaSharp is a chat UI - A C#/.NET library to run LLM (🦙LLaMA/LLaVA) on your local device efficiently.

Overview

LLamaSharp is a cross-platform library to run 🦙LLaMA model (and others) on your local device. Based on llama.cpp, inference with LLamaSharp is efficient on both CPU and GPU. With the higher-level APIs and RAG support, it's convenient to deploy LLMs (Large Language Models) in your application with LLamaSharp.

Please star the repo to show your support for this project!🤗

Documentation Console Demo Integrations & Examples Get started FAQ Contributing Join the community Star history Contributor wall of fame Map of LLamaSharp and llama.cpp versions

There are integrations for the following libraries, making it easier to develop your APP. Integrations for semantic-kernel and kernel-memory are developed in the LLamaSharp repository, while others are developed in their own repositories.

  • semantic-kernel: an SDK that integrates LLMs like OpenAI, Azure OpenAI, and Hugging Face. - kernel-memory: a multi-modal AI Service specialized in the efficient indexing of datasets through custom continuous data hybrid pipelines, with support for RAG (Retrieval Augmented Generation), synthetic memory, prompt engineering, and custom semantic memory processing. - BotSharp: an open source machine learning framework for AI Bot platform builder. - Langchain: a framework for developing applications powered by language models. - MaIN.NET: simplistic approach to orchestrating agents/chats from different (llm) providers

The following examples show how to build APPs with LLamaSharp.

LLamaSharp is open-source, written primarily in C#, with 3,707 GitHub stars under the MIT license. The latest release is v0.27.0 (2026-04-26).

Key capabilities

From the project's documentation:

  • Ask AI via deep-wiki
  • BotSharp: an open source machine learning framework for AI Bot platform builder.
  • Langchain: a framework for developing applications powered by language models.
  • LLamaStack (with WPF and Web demo)
  • Blazor Demo (with Model Explorer)
  • LLamaWorker (ASP.NET Web API like OAI and Function Calling Support)

How it fits a local-AI stack

LLamaSharp runs on your own hardware, so pair it with a model and a GPU sized to your needs. Use the VRAM calculator to pick a model that fits your card, and see what you can run for hardware guidance. Related chat UIs in the directory:

Sources

Stats from GitHub, 2026-06-08.

Frequently asked

Quick answers to common questions

What is LLamaSharp?

LLamaSharp is a chat-ui tool for local AI workloads. A C#/.NET library to run LLM (🦙LLaMA/LLaVA) on your local device efficiently.

Is LLamaSharp free and open source?

Yes, LLamaSharp has 3,707 GitHub stars and is licensed under MIT. You can self-host it for free on .

What hardware do I need for LLamaSharp?

The hardware requirements depend on which models you run. Check our hardware directory for compatible GPUs and systems. LLamaSharp has 3,707 GitHub stars and an active community.

Does LLamaSharp support GPU acceleration?

LLamaSharp's GPU support depends on your specific setup. Check the documentation for details. For the best performance, pair it with an NVIDIA RTX 4090 or 5090.

What are the best alternatives to LLamaSharp?

Popular alternatives include other chat-ui tools in our directory. Browse our full collection at /tool for comparisons, community reviews, and benchmark data to find the right fit for your workflow.

How much does LLamaSharp cost?

LLamaSharp is free-open-source. It is completely free and open source to self-host.

Pairs well with

Complementary tools, models, and hardware

Comments coming soon

Configure NEXT_PUBLIC_GISCUS_REPO_ID and NEXT_PUBLIC_GISCUS_CATEGORY_ID at giscus.app to enable.