█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

llama.cpp

कम मेमोरी के साथ CPU, Apple Silicon और GPU पर C/C++ में LLM चलाएँ

Local Runtimesओपन सोर्स
ताज़ा
v1.0.0
अपडेट किया गया
13 नव॰ 2026
भाषा
C/C++
लाइसेंस
MIT
कवरेज
8 stories
$brew install llama.cpp

नया क्या है

v1.0.013 नव॰ 2026

The first stable release of llama.cpp and ggml, which now follow semantic versioning: a major bump means a breaking change to the public C API. The deprecated public API (llama_set_warmup and 35 other functions) is removed, and the release adds an FP8 (E4M3) KV cache, Kimi-K3.1 support and an OpenAI-compatible /v1/audio/speech server endpoint.

ताज़ा खबरें

सभी 8 ↓
संक्षेप में

llama.cpp क्या है?

llama.cpp कम मेमोरी के साथ CPU, Apple Silicon और GPU पर C/C++ में LLM चलाएँ. यह Models & Inference टूल्स की Local Runtimes श्रेणी में आता है; ओपन सोर्स है, C/C++ में लिखा गया है और MIT लाइसेंस के तहत है। शुरू करने के लिए: llama.cpp इंस्टॉल करें.

अपडेट किया गया Markdown वर्शन ↗
Terminal screenshot of a vision-language model chat session running in the llama.cpp command-line tool
A VLM session in the llama.cpp CLIllama.cpp README ↗

सारांश

llama.cpp एक सादा C/C++ inference engine है, जिससे बड़े भाषा मॉडल (LLM) लोकल मशीन और क्लाउड, दोनों पर चलाए जा सकते हैं। यह GGUF फ़ॉर्मेट में मॉडल लोड करता है और लैपटॉप के CPU से लेकर NVIDIA, AMD और Apple GPU तक, कई तरह के हार्डवेयर पर न्यूनतम सेटअप के साथ चलता है।

यह उन डेवलपर्स के लिए बनाया गया है जो भारी Python stack या बाहरी dependencies के बिना अपनी मशीन पर open models चलाना चाहते हैं। Integer quantization (1.5-bit से 8-bit तक) मेमोरी उपयोग घटाता है, और CPU+GPU hybrid inference की मदद से आप उन मॉडलों को आंशिक रूप से तेज़ कर सकते हैं जो आपके कुल VRAM से बड़े हैं।

inference और serving क्षेत्र में लोकल runtime के रूप में, llama.cpp आपको दो चीज़ें देता है: एक command-line tool (llama-cli) एक-बार के prompts के लिए, और एक OpenAI-compatible server (llama-server) जिससे आप मौजूदा client code को जोड़ सकते हैं। यह underlying ggml library का मुख्य playground भी है।

यह क्या करता है

  • कोई बाहरी dependency नहीं, सादा C/C++ implementation
  • Metal/NEON/Accelerate के ज़रिए CPU और Apple Silicon पर, तथा CUDA, HIP, MUSA, Vulkan और SYCL के ज़रिए GPU पर GGUF मॉडल चलाता है
  • तेज़ inference और कम मेमोरी उपयोग के लिए 1.5-bit से 8-bit तक integer quantization
  • कुल VRAM से बड़े मॉडलों को आंशिक रूप से तेज़ करने के लिए CPU+GPU hybrid inference
  • Multimodal support के साथ बिल्ट-इन OpenAI-compatible REST API server (llama-server)
  • -hf flag के साथ सीधे Hugging Face से मॉडल डाउनलोड करें और चलाएँ

शुरू करें

कोई pre-built binary इंस्टॉल करें या source से build करें, फिर llama.cpp को GGUF मॉडल फ़ाइल या Hugging Face repo की ओर इंगित करें।

llama.cpp इंस्टॉल करें

किसी package manager (brew, nix या winget) से इंस्टॉल करें, Docker से चलाएँ, releases पेज से pre-built binary डाउनलोड करें, या source से build करें। विवरण के लिए प्रोजेक्ट की install और build guides देखें।

bashbash
brew install llama.cpp

कमांड लाइन से मॉडल चलाएँ

लोकल GGUF फ़ाइल के साथ llama-cli इस्तेमाल करें, या सीधे Hugging Face से मॉडल डाउनलोड करके चलाने के लिए -hf पास करें।

bashbash
# Use a local model file
llama-cli -m my_model.gguf

# Or download and run a model directly from Hugging Face
llama-cli -hf ggml-org/gemma-3-1b-it-GGUF

OpenAI-compatible server शुरू करें

llama-server शुरू करें, जो एक REST API उपलब्ध कराता है जिसे OpenAI-compatible clients कॉल कर सकते हैं।

bashbash
llama-server -hf ggml-org/gemma-3-1b-it-GGUF
llama.cpp's built-in web UI chatting with a Qwen 3.6 model served locally
The built-in web UI talking to the local llama.cpp serverllama.cpp README ↗

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • Python stack के बिना लैपटॉप या workstation पर ऑफ़लाइन open models चलाएँ
  • डेवलपमेंट के दौरान apps और agents के लिए लोकल OpenAI-compatible API सर्व करें
  • Quantization और CPU+GPU hybrid inference की मदद से सीमित हार्डवेयर पर बड़े मॉडल फिट करें
  • Metal, Vulkan, HIP या SYCL के ज़रिए Apple Silicon या non-NVIDIA GPU पर inference चलाएँ

वर्शन इतिहास

Every verified update to llama.cpp that AI/TLDR tracked, newest first — each links to our coverage and the official changeset.

  1. 13 नव॰ 2026v1.0.0

    The first stable release of llama.cpp and ggml, which now follow semantic versioning: a major bump means a breaking change to the public C API. The deprecated public API (llama_set_warmup and 35 other functions) is removed, and the release adds an FP8 (E4M3) KV cache, Kimi-K3.1 support and an OpenAI-compatible /v1/audio/speech server endpoint.

  2. 14 सित॰ 2026v0.4.1

    Adds architecture support for Maple 20B-A1B (a ternary mixture of experts, on CPU), Tencent Hy 4 as a preview architecture, and Spark2.5. ggml moves to v0.24.0, JSON schema handling is rebuilt around a common_schema representation, and the deprecated --mmap, --mlock, and --direct-io flags are removed in favour of --load-mode.

  3. 4 सित॰ 2026v0.4.0

    Adds initial support for the Qwen3.8-Flash-Next (qwen4exp), NVIDIA Nemotron-3-Puzzle-75B-A9B, Nemotron 3.5 DSpark, and nanbeige4.2-3B architectures. A new --lazy-mode flag reads tensors from disk on demand, the server gains per-slot context limits, and ggml moves to 0.23.0 with sparse flash attention and Apple RDMA as an RPC transport.

llama.cpp in the news

  1. 26 नव॰ 2026उल्लेखनीयllama-cpp-rdna-boosts — patches that speed up llama.cpp on AMD GPUs
  2. 13 नव॰ 2026प्रमुखllama.cpp v1.0.0 — first stable release, with semantic versioning
  3. 16 अक्टू॰ 2026उल्लेखनीयPS5LM v0.9.0 — llama.cpp runs on a jailbroken PS5's GPU
  4. 30 सित॰ 2026प्रमुखMagnitude — a local inference engine for agents, up to 2x faster than llama.cpp
  5. 14 सित॰ 2026प्रमुखOllama 0.34.1 — MLX safetensors leave experimental, GGUF needs llama.cpp
  6. 14 सित॰ 2026प्रमुखllama.cpp v0.4.1 — Maple 20B-A1B and Tencent Hy 4 now run locally
  7. 4 सित॰ 2026प्रमुखllama.cpp v0.4.0 — Qwen3.8-Flash-Next support and lazy tensor loading
  8. 11 अग॰ 2026प्रमुखMetal Capability Shim — llama.cpp runs up to 16x faster inside macOS VMs

से AI/TLDR रिलीज़ फ़ीड — हर आइटम प्रकाशित होने पर स्रोत से सत्यापित होता है।

How llama.cpp compares

llama.cpp alongside other open-source local runtimes tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
Ollama★ 189kटर्मिनल से ही open LLMs को अपनी मशीन पर डाउनलोड करें और चलाएं
llama.cpp★ 137kकम मेमोरी के साथ CPU, Apple Silicon और GPU पर C/C++ में LLM चलाएँ
GPT4All★ 77.3kबड़े भाषा मॉडल (LLM) को रोज़मर्रा के लैपटॉप और डेस्कटॉप पर निजी तौर पर चलाएं
Colibrì★ 54.3kएक pure-C inference इंजन, जो Mixture-of-Experts वज़न को डिस्क से स्ट्रीम करता है, ताकि फ़्रंटियर-साइज़ मॉडल आम हार्डवेयर पर चल सकें
LocalAI★ 50.7kसेल्फ़-होस्टेड, OpenAI-compatible API, जो LLM, विज़न, वॉइस और इमेज मॉडल को लोकल रूप से चलाने देता है
Strata★ 50kएक क्लिक वाला लोकल inference engine, जो 12 GB ग्राफ़िक्स कार्ड वाले गेमिंग PC पर 125B Qwen3.8-Flash-Next चलाता है
Jan★ 46.3kअपने कंप्यूटर पर ओपन सोर्स LLM को ऑफ़लाइन चलाएँ, निजी ChatGPT की तरह
AirLLM★ 43.8kएक समय में एक लेयर स्ट्रीम करके एक छोटे GPU पर 70B और उससे बड़े मॉडल चलाएं