Akal-1B is an ultra-compact, high-speed open-weights Language Model engineered specifically for low-resource edge devices and CPU-only inference (e.g., standard business laptops, industrial mini-PCs, retail POS machines, and IoT gateways without dedicated GPUs).
Derived from Google DeepMind's Gemma-3-1B-IT (google/gemma-3-1b-it), Akal-1B is quantized using a custom Indonesian Language Importance Matrix (imatrix) into an optimized GGUF Q4_K_M block structure. It achieves up to 300% faster throughput and 70% lower RAM footprint compared to unvectorized community runtimes while preserving high conversational and reasoning fidelity.
akal-lm/Akal-Embed-GGUFakal-lm/Akal-Rerank-GGUFakal-lm/Akal-Nano-270M-GGUF[!TIP] 📄 Academic Research Preprint Available (Vol. 1):
Read the complete 8-page scientific paper detailing edge CPU Pareto efficiency, Indonesian morphological vocabulary fertility, and empirical benchmarking against national models (Sahabat-AI 8B/9B, SEA-LION v3 8B, Merak-7B) and global industrial baselines (Meta Llama-3.2-1B, Alibaba Qwen2.5-1.5B):
👉 Download Akal_Edge_LLM_Research_Paper.pdf | View in Files Tab
As a 1-Billion Parameter Edge LLM (762 MB), Akal-1B is purposefully engineered for extreme efficiency on CPU hardware with minimal memory footprints (< 950 MB). To ensure realistic expectations and optimal deployment architectures, please review the recommended sweet spots and non-goals below:
Akal-Embed (akal-embed-indo-q4_k_m.gguf, 119 MB) to answer targeted questions based on uploaded SOPs, internal manuals, product catalogs, and local documentation.Akal-Embed) or search tool to avoid hallucinations.Tested on a standard edge CPU node (Intel Core i5-8250U, 4 cores / 8 threads, 7.5 GB RAM, Ubuntu Linux x86_64, 4 threads):
| Model Candidate | Format / Runtime | Model Size | Prefill (pp512) | Decode (tg128) | TTFT (ms) | Peak RAM (RSS) | PPL Indonesian (↓) |
|---|---|---|---|---|---|---|---|
| Akal-1B (Ours) | GGUF Q4_K_M (imatrix) | 762 MB | 62–100 tok/s | 21.0–28.4 tok/s | ~294–448 ms | < 938 MB (0 Swap) | 11.20 |
| Gemma-3-1B-IT (Official Base) | GGUF Q4_K_M (llama.cpp) | 768 MB | 84–100 tok/s | 21.7–28.1 tok/s | ~386–450 ms | < 940 MB | 11.66 |
| WiTi4Bit (Pokdartik) | Q4M (PyTorch CPU int4mm) | 595 MB | 18–25 tok/s | 6.9–9.2 tok/s | ~1,250–1,820 ms | 3,192 MB (>3.1 GB) | 24.57–28.93 |
| Meta Llama-3.2-1B-Instruct | GGUF Q4_K_M (llama.cpp) | 771 MB | 115–118 tok/s | 27.4 tok/s | ~480 ms | < 920 MB | 9.26 |
| Alibaba Qwen2.5-1.5B-Instruct | GGUF Q4_K_M (llama.cpp) | 1,120 MB | 68–78 tok/s | 20.0 tok/s | ~690 ms | 1,120 MB | 7.43 |
Evaluation on standard edge office workstations (RAM 4–8 GB, residual free memory ≤ 1.5 GB, Intel Core i5 CPU, Zero GPU):
| Model Candidate & Origin | Base Architecture | Quantized Footprint | Peak RAM (RSS) | Operability on 4–8 GB RAM PC | CPU Throughput | TTFT (Interactive Latency) | Indonesian Vocab Size |
|---|---|---|---|---|---|---|---|
| Akal-1B (Ours) | Gemma-3 (1.00B) | 762 MB | < 938 MB | ✅ 100% Operational (0 Swap) | 21.0–28.4 tok/s | ~294 ms (Instant) | 256,000 (Dense) |
| Meta Llama-3.2-1B | Llama-3.2 (1.24B) | 771 MB | < 920 MB | ✅ 100% Operational | 27.4 tok/s | ~480 ms | 128,000 (English bias) |
| Alibaba Qwen2.5-1.5B | Qwen-2.5 (1.54B) | 1,120 MB | 1,120 MB | ⚠️ Tight on 1.5 GB free RAM | 20.0 tok/s | ~690 ms | 152,000 (Byte-BPE) |
| Sahabat-AI 8B (GoTo / Indosat) | Llama-3.1 CPT (8.03B) | ~4,920 MB (Q4) | > 5,500 MB | ❌ FAILED (Out-of-Memory / Lockup) | 1.8–3.2 tok/s | > 2,800 ms | Heavy GPU Dependent |
| SEA-LION v3 8B (AI Singapore) | Llama-3 / Gemma (8.0B) | ~4,850 MB (Q4) | > 5,200 MB | ❌ FAILED (Swap Trashing) | 2.0–3.5 tok/s | > 2,500 ms | Heavy GPU Dependent |
| Merak-7B v4 (AI Nusantara) | Mistral / Llama-2 (7.2B) | ~4,450 MB (Q4) | > 5,100 MB | ❌ FAILED (OOM Crash) | 2.1–3.4 tok/s | > 2,600 ms | Dedicated GPU Required |
Key Systems Insight: While 7B–8B national models and large foundation models excel on GPU cloud clusters, they require substantial memory footprints that exceed consumer hardware with residual free memory ≤ 1.5 GB. Akal-1B offers an accessible, lightweight alternative designed specifically to operate comfortably within sub-1GB RAM envelopes with responsive conversational velocity on commodity CPUs.
Raw tokens/s is deceptive when tokenizers have high fertility rates on Indonesian. Comparing lexical word delivery rates:
| Model Candidate | Vocabulary Size | Indonesian Fertility Ratio (↓) | Raw Throughput | Real Indonesian Velocity (Words/sec) | Morphological Efficiency |
|---|---|---|---|---|---|
| Akal-1B (Ours) | 256,000 (Gemma-3) | 1.15 tokens/word | 21.0–28.4 tok/s | 18.2–24.7 words/s (Fastest) | Native Affixes Intact |
| Meta Llama-3.2-1B | 128,000 (tiktoken) | 2.10 tokens/word | 27.4 tok/s | 13.0 words/s | Fractures words into 2–3 tokens |
| Alibaba Qwen2.5-1.5B | 152,000 (Byte-BPE) | 1.42 tokens/word | 20.0 tok/s | 14.1 words/s | Moderate |
Takeaway: Because Akal-1B leverages Gemma-3's massive 256K vocabulary, it preserves full Indonesian morphology. In actual human communication speed, Akal-1B delivers substantive Indonesian sentences nearly 2× faster than Llama-3.2!
🌸 Panduan Praktis Install Model Akal (Tanpa Koding / 1-Klik GUI untuk Pemula):
Bagi pengguna non-tech yang ingin langsung mengobrol offline via aplikasi visual (LM Studio / AnythingLLM di Windows, Mac, atau Linux):
👉 Baca Panduan Praktis Install Model Akal (PANDUAN_PRAKTIS_INSTALL_MODEL_AKAL.md)📖 Panduan Teknis Lengkap Bahasa Indonesia (CLI / Ollama / Python): Lihat juga berkas
PANDUAN_PENGGUNAAN_LINUX_MAC_WINDOWS.mddi repositori ini.
First, download our latest recommended model akal-1b-v2-q4_k_m.gguf (768 MB, Multi-Turn Indonesian SFT + LoRA Merge + imatrix_steered_v2_id.dat, < 1 GB RAM):
curl -L -O https://huggingface.co/akal-lm/Akal-1B-GGUF/resolve/main/akal-1b-v2-q4_k_m.gguf
curl -fsSL https://ollama.com/install.sh | shbrew install ollama (or download from ollama.com/download/mac)winget install Ollama.Ollama (or download OllamaSetup.exe from ollama.com/download/windows)ModelfileIn the same folder as akal-1b-v2-q4_k_m.gguf, create a file named Modelfile:
FROM ./akal-1b-v2-q4_k_m.gguf
TEMPLATE """{{- range $i, $_ := .Messages }}
{{- if eq .Role "user" }}<start_of_turn>user
{{ .Content }}<end_of_turn>
{{ else if eq .Role "assistant" }}<start_of_turn>model
{{ .Content }}<end_of_turn>
{{ end }}
{{- end }}<start_of_turn>model
"""
SYSTEM """Anda adalah Akal-1B, asisten AI berbahasa Indonesia yang efisien, objektif, dan solutif yang dikembangkan oleh Muhammad Luqni Baehaqi (inisiatif riset Akal LM / akal-lm)."""
PARAMETER stop "<end_of_turn>"
PARAMETER temperature 0.2
PARAMETER num_ctx 4096
ollama create akal-1b -f Modelfile
ollama run akal-1b
akal-lm/Akal-1B-GGUF, and download akal-1b-v2-q4_k_m.gguf (or import the .gguf file you downloaded).akal-1b-v2-q4_k_m, and start chatting 100% offline!llama.cpp (llama-cli & llama-server OpenAI API)llama.cppbrew install llama.cpp
winget install ggml.llamacpp
sudo apt update && sudo apt install -y build-essential cmake git
git clone --depth 1 https://github.com/ggml-org/llama.cpp.git && cd llama.cpp
cmake -B build -DGGML_NATIVE=ON && cmake --build build --config Release -j $(nproc)
llama-cli)llama-cli -m akal-1b-v2-q4_k_m.gguf -t 4 -c 4096 --temp 0.2 -cnv
llama-cli.exe -m akal-1b-v2-q4_k_m.gguf -t 4 -c 4096 --temp 0.2 -cnv
llama-server for Hermes Agent / Apps)llama-server -m akal-1b-v2-q4_k_m.gguf -t 4 -c 4096 --host 127.0.0.1 --port 8088 --alias akal-1b
llama-cpp-python)from llama_cpp import Llama
llm = Llama(
model_path="akal-1b-v2-q4_k_m.gguf",
n_ctx=4096,
n_threads=4,
verbose=False
)
output = llm.create_chat_completion(
messages=[
{"role": "user", "content": "Bagaimana cara kerja predictive maintenance pada mesin pabrik?"}
],
temperature=0.2
)
print(output["choices"][0]["message"]["content"])
🎮 Try It Out & Share Your Experience:
We encourage anyone curious about edge AI to downloadakal-1b-v2-q4_k_m.gguf(768 MB) orakal-1b-steered-q4_k_m.gguf(762 MB) and run it on your own CPU! Test it on your daily notes, local customer FAQs, or classification tasks, and share your benchmarks or feedback in the Discussions tab.
Akal-1B-Steered (Pre-Quantization Weight-Space Surgery & Epistemic Grounding)Small 1B models often suffer from ungrounded confabulation when asked false-premise ("trap") questions against a RAG document. In Volume 3 of our research, we introduce Tikhonov Post-Norm Pre-Conditioned Weight-Space Steering (PN-WSS) combined with Orthogonal Loop Subspace Ablation across the semantic convergence window (Layers 13..22) prior to Q4_K_M quantization—requiring zero GPU fine-tuning and zero runtime overhead:
post_ffw_norm scaling ($\gamma_i \in [-0.53, +40.75]$) restores directional cosine fidelity from $0.20$ to $0.9628$.Q4_K_M quantization 99.67% intact ($-54.82%$ loop energy reduction).Variant (Layers 13..22) |
Runtime Overhead | Grounded Abstention (Trap Queries ↑) | Hallucination Rate (↓) | Answerable RAG Accuracy (↑) | Grounded Harmonic F1 (↑) | Decode Speed (tg128) |
|---|---|---|---|---|---|---|
Akal-1B Q4_K_M (Baseline) |
0% | 37.5% (3/8) | 62.5% | 100.0% (6/6) | 54.55% | 22.57 tok/s |
Akal-1B-Steered Q4_K_M (Static Surgery) |
0% | 50.0%–62.5% | 37.5%–50.0% | 100.0% (6/6) | 66.67%–76.92% | 23.08 tok/s |
Akal-1B-Steered + Akal-CVec-ID (Balanced, scale=0.65) |
< 1% | 75.0% (6/8) | 25.0% | 100.0% (6/6) | 85.71% (+31.2 pts) | 22.40 tok/s |
Akal-1B-Steered + Akal-CVec-ID (Strict, scale=1.05) |
< 1% | 87.5% (7/8) | 12.5% (-80% rel.) | 83.3%–100.0% | 85.71% | 22.35 tok/s |
Akal-CVec-ID)./llama-cli -m akal-1b-steered-q4_k_m.gguf \
--control-vector-scaled akal-cvec-grounded-id.gguf 0.65 \
--control-vector-layer-range 13 22 \
-p "<start_of_turn>user\nJawab HANYA berdasarkan konteks berikut. Jika tidak disebutkan, nyatakan tidak tersedia di dokumen.\nKonteks: Protokol sterilisasi ruang operasi mewajibkan penyalaan lampu UV-C selama 45 menit setelah tindakan selesai.\nPertanyaan: Berapa nanometer panjang gelombang lampu UV-C yang ditetapkan dalam protokol tersebut?<end_of_turn>\n<start_of_turn>model\n" \
-t 4 -c 2048 --temp 0.0
Akal-Nano-270M Speculative Decoding Duet (+38.9% RAG Speedup)Pair akal-1b-steered-q4_k_m.gguf with akal-nano-270m-q4_0.gguf to boost RAG decoding speed from 22.08 tok/s to 30.67 tok/s (+38.9%) and JSON extraction to 32.06 tok/s (94.59% acceptance rate):
./llama-speculative \
-m akal-1b-steered-q4_k_m.gguf \
-md akal-nano-270m-q4_0.gguf \
--spec-type draft-simple --spec-draft-n-max 3 --spec-draft-n-min 1 --spec-draft-p-min 0.75 \
-t 4 -c 2048 --temp 0.0 -p "..."
Following the architectural breakthroughs of global System-1 decision engines like Jev and Laya, the Akal LM Initiative is preparing the Akal Decision Model specifically tailored for everyday consumer CPUs without GPUs (Intel Core i3/i5, Celeron, < 1.5 GB RAM):
Choice (agent routing & tool selection), Score (calibrated continuous confidence 0.0–1.0), and Boolean / Abstain Gate.Follow our organization at huggingface.co/akal-lm for early access updates!
akal-1b-v2-q4_k_m.gguf (768 MB — Recommended Latest Release): Multi-Turn Indonesian Supervised Fine-Tuned (SFT) + LoRA Merged edge LLM quantized to 4-bit Q4_K_M with imatrix_steered_v2_id.dat (< 1 GB RAM, natural Indonesian prosody, grounded RAG abstention, and JSON tool-calling).akal-1b-q4_k_m.gguf (768 MB): Primary general-purpose Indonesian edge LLM quantized with imatrix.akal-1b-steered-q4_k_m.gguf (762 MB): Epistemically steered & loop-ablated edition (Layers 13..22 Tikhonov PN-WSS + imatrix_steered_v2_id.dat, zero runtime overhead).akal-cvec-grounded-id.gguf (114 KB): Bell-windowed contrastive activation steering vector (Layers 13..22) for strict RAG abstention (--control-vector-scaled akal-cvec-grounded-id.gguf 0.65 --control-vector-layer-range 13 22).akal-cvec-unit-id.gguf (114 KB): Unit-normalized contrastive steering vector for custom layer scaling experiments.imatrix_steered_v2_id.dat / imatrix_id.dat (1.4 MB): Indonesian domain importance matrix calibration artifacts for full reproducibility.PANDUAN_PENGGUNAAN_LINUX_MAC_WINDOWS.md: Comprehensive step-by-step usage guide in Bahasa Indonesia for Linux, MacBook (macOS Apple Silicon & Intel), and Windows (Ollama, LM Studio, llama.cpp, and Python).Akal_Edge_LLM_Research_Paper.pdf (1.3 MB): Bilingual research preprint Vol. 1 (Edge CPU LLM Pareto & Morphological Fertility).Akal_Vol3_Architecture_Research_Paper.pdf: Bilingual research preprint Vol. 3 (Weight-Space Surgery, Speculative Decoding Duet & Cross-Encoder Reranking).This model is distributed under the terms of the Google Gemma License. When citing this research, please use:
@article{baehaqi2026akal1b,
title={A Comparative Study of Edge CPU LLM Inference Efficiency: Empirical Evaluation of Akal-1B, WiTi4Bit, and Industrial Baselines},
author={Baehaqi, Muhammad Luqni},
journal={Akal LM Research Initiative},
year={2026},
url={https://huggingface.co/akal-lm/Akal-1B-GGUF}
}
google/gemma-3-1b-it