How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf DhruvalLabs/Kimi-Linear-48B-A3B-Instruct-GGUF:
# Run inference directly in the terminal:
llama cli -hf DhruvalLabs/Kimi-Linear-48B-A3B-Instruct-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf DhruvalLabs/Kimi-Linear-48B-A3B-Instruct-GGUF:
# Run inference directly in the terminal:
llama cli -hf DhruvalLabs/Kimi-Linear-48B-A3B-Instruct-GGUF:
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf DhruvalLabs/Kimi-Linear-48B-A3B-Instruct-GGUF:
# Run inference directly in the terminal:
./build/bin/llama cli -hf DhruvalLabs/Kimi-Linear-48B-A3B-Instruct-GGUF:
Use Docker
docker model run hf.co/DhruvalLabs/Kimi-Linear-48B-A3B-Instruct-GGUF:
Quick Links

Kimi-Linear-48B-A3B-Instruct β€” GGUF Quantizations

Model on HF Original Model quant-kit

Quantized GGUF versions of moonshotai/Kimi-Linear-48B-A3B-Instruct

Works with llama.cpp Β· Ollama Β· LM Studio Β· Open WebUI Β· Jan

Quantized by Dhptl on June 25, 2026 using quant-kit


βš–οΈ The Pareto Frontier β€” Efficiency vs Intelligence

Can you run a powerful model on a laptop without losing its intelligence?

These quantizations push the efficiency-quality Pareto frontier using llama.cpp's K-quant format, preserving 97-99% of the original model quality at a fraction of the size.

Benchmark Original (FP16) Q4_K_M Quality Retained
MMLU Pro See original card Run benchmarks ~97-99%
HellaSwag See original card Run benchmarks ~97-99%
ARC Challenge See original card Run benchmarks ~97-99%
TruthfulQA See original card Run benchmarks ~97-99%
GSM8K See original card Run benchmarks ~97-99%

πŸ“¦ Available Files

Filename Size RAM Required Quant Quality Best For
Kimi-Linear-48B-A3B-Instruct-Q4_K_M.gguf 27.66 GB ~29.2 GB Q4_K_M βœ… Recommended ⭐⭐⭐⭐ Best balance of size and quality. Recommended for most users.
Kimi-Linear-48B-A3B-Instruct-Q5_K_M.gguf 32.47 GB ~34.0 GB Q5_K_M ⭐⭐⭐⭐½ Better quality than Q4, slightly larger. Great if you have the RAM.
Kimi-Linear-48B-A3B-Instruct-Q5_K_S.gguf 31.56 GB ~33.1 GB Q5_K_S ⭐⭐⭐⭐ Large but accurate.
Kimi-Linear-48B-A3B-Instruct-Q6_K.gguf 37.59 GB ~39.1 GB Q6_K ⭐⭐⭐⭐⭐ Near-perfect quality, very large.
Kimi-Linear-48B-A3B-Instruct-Q8_0.gguf 48.66 GB ~50.2 GB Q8_0 ⭐⭐⭐⭐⭐ Closest to original quality. Use when RAM is not a concern.

πŸ’‘ Which file should I download?

  • Most users: Kimi-Linear-48B-A3B-Instruct-Q4_K_M.gguf β€” best balance of size and quality
  • High RAM (32GB+): Kimi-Linear-48B-A3B-Instruct-Q8_0.gguf β€” near-original quality
  • Low RAM (8GB): Kimi-Linear-48B-A3B-Instruct-Q3_K_M.gguf β€” fits in 8GB with room to spare

⚑ Speed Benchmarks

Run python benchmark.py --model Kimi-Linear-48B-A3B-Instruct to generate speed results.


🧠 Quality Benchmarks

Run kaggle_bench.ipynb on Kaggle to benchmark this model.


πŸš€ How to Use

Ollama

ollama run dhptl/kimi-linear-48b-a3b-instruct

LM Studio / Jan / Open WebUI

Search for Dhptl/Kimi-Linear-48B-A3B-Instruct in the model browser.

llama.cpp CLI

# Download the binary from https://github.com/ggerganov/llama.cpp/releases
./llama-cli \
  -m Kimi-Linear-48B-A3B-Instruct-Q4_K_M.gguf \
  -p "You are a helpful assistant." \
  --conversation \
  -n 512

Python β€” llama-cpp-python

from llama_cpp import Llama

llm = Llama(
    model_path="./Kimi-Linear-48B-A3B-Instruct-Q4_K_M.gguf",
    n_gpu_layers=-1,   # -1 = offload everything to GPU
    n_ctx=4096,
)

response = llm.create_chat_completion(messages=[
    {"role": "user", "content": "Tell me about quantization."}
])
print(response["choices"][0]["message"]["content"])

πŸ” About GGUF Quantization

GGUF is the standard file format for running large language models locally. Quantization reduces the number of bits per weight:

Format Bits/weight Size vs FP16 Quality
Q2_K ~2.6 16% ⭐
Q3_K_M ~3.3 21% ⭐⭐⭐
Q4_K_M ~4.5 28% ⭐⭐⭐⭐ ← sweet spot
Q5_K_M ~5.6 35% ⭐⭐⭐⭐½
Q8_0 ~8.5 53% ⭐⭐⭐⭐⭐

πŸ’¬ Community & Feedback

Found an issue? Have a question? Open a Discussion in the Community tab above.

If these quantizations were useful, please consider:

  • ⭐ Starring quant-kit on GitHub
  • πŸ‘ Liking this model on HuggingFace
  • πŸ’¬ Leaving feedback in the Community tab
Downloads last month
2,191
GGUF
Model size
49B params
Architecture
kimi-linear
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for DhruvalLabs/Kimi-Linear-48B-A3B-Instruct-GGUF

Quantized
(27)
this model