Instructions to use litillabs/LiTiL-One-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use litillabs/LiTiL-One-GGUF with 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 litillabs/LiTiL-One-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf litillabs/LiTiL-One-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf litillabs/LiTiL-One-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf litillabs/LiTiL-One-GGUF:Q4_K_M
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 litillabs/LiTiL-One-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf litillabs/LiTiL-One-GGUF:Q4_K_M
Use Docker
docker model run hf.co/litillabs/LiTiL-One-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use litillabs/LiTiL-One-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "litillabs/LiTiL-One-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "litillabs/LiTiL-One-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/litillabs/LiTiL-One-GGUF:Q4_K_M
- Ollama
How to use litillabs/LiTiL-One-GGUF with Ollama:
ollama run hf.co/litillabs/LiTiL-One-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use litillabs/LiTiL-One-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf litillabs/LiTiL-One-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "litillabs/LiTiL-One-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use litillabs/LiTiL-One-GGUF with Docker Model Runner:
docker model run hf.co/litillabs/LiTiL-One-GGUF:Q4_K_M
- Lemonade
How to use litillabs/LiTiL-One-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull litillabs/LiTiL-One-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.LiTiL-One-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use litillabs/LiTiL-One-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf litillabs/LiTiL-One-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default litillabs/LiTiL-One-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use litillabs/LiTiL-One-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf litillabs/LiTiL-One-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "litillabs/LiTiL-One-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Release Paper | BF16 | FP8 | GGUF | Collection | Work With LiTiL Labs
LiTiL One (27B) โ GGUF
Local workstation and single-GPU GGUF weights for LiTiL One: a Pareto frontier contracts model that you can run at home in a data center.
16.5 GB Q4_K_M ยท 53.8 GB BF16 GGUF ยท 0.93 GB F16 Vision mmproj ยท 256K Native Context ยท llama.cpp / Ollama / LM Studio
We built LiTiL One on a simple bet. A 27-billion-parameter model trained properly for contract work can go head to head with frontier models ten to a hundred times its size, and still fit on a machine you control. At 16.5 GB, LiTiL One sets the Pareto frontier for contract work: no plotted open-weight model under 300B parameters beats it on full-task completion, and you donโt need a cluster of B300s to run it.
These GGUF packages are derived directly from the reference BF16 export (never re-quantized from FP8). All 64 trained layers, tokenizer, and the Qwen chat template are embedded, alongside a matching F16 vision projector (mmproj) for scanned agreements and PDFs.
Files & Presets
| File | Format | Size | Recommended Hardware & Use Case |
|---|---|---|---|
LiTiL-One-27B-Q4_K_M.gguf |
Q4_K_M | 16.55 GB | Everyday local use on 32 GB+ MacBook / Mac Studio or single 24โ32 GB GPU |
LiTiL-One-27B-BF16.gguf |
BF16 GGUF | 53.81 GB | Full-precision GGUF on 96โ128 GB unified memory / 80 GB GPU, or source for custom quantizations |
LiTiL-One-27B-mmproj-F16.gguf |
F16 Vision | 0.93 GB | Optional multimodal projector for scanned documents (pair with either text GGUF) |
presets/llama.cpp/litil-one.ini |
llama-server INI |
โ | Native --models-preset profiles (litil-one-q4, litil-one-q4-longctx, litil-one-q4-vision, litil-one-bf16) |
presets/llama.cpp/*.json |
Backend JSON | โ | Verified hardware profiles for Metal, CUDA, and CPU |
Modelfile / Modelfile.vision |
Ollama | โ | Portable local Ollama import definitions (text-only and multimodal) |
Model Family
| Repository | Package | Size | Target Hardware & Runtime |
|---|---|---|---|
litillabs/LiTiL-One |
BF16 Safetensors (+ vision) | 55.6 GB | Reference precision, benchmark audits, custom firm RL / fine-tuning |
litillabs/LiTiL-One-FP8 |
FP8 Safetensors (+ vision) | 30.9 GB | Single H100 / H200 / B300 enterprise serving via SGLang or vLLM |
litillabs/LiTiL-One-GGUF |
Q4_K_M ยท BF16 GGUF ยท F16 Vision mmproj |
16.5โ54.7 GB | MacBook / Mac Studio (32 GB+) or single 24โ32 GB GPU via llama.cpp, Ollama, or LM Studio |
Quickstart
llama.cpp (Direct or Preset)
Requires a current llama.cpp build with Qwen3.5 / Qwen3.8 architecture support.
Run directly from Hugging Face:
llama-server -hf litillabs/LiTiL-One-GGUF:Q4_K_M \
--alias litil-one \
-ngl 99 -fa on -c 32768 -np 1 \
--temp 1.0 --top-p 0.95 --top-k 20 \
--jinja --host 127.0.0.1 --port 8080
Or launch with the included llama-server preset:
hf download litillabs/LiTiL-One-GGUF presets/llama.cpp/litil-one.ini --local-dir .
llama-server --models-preset presets/llama.cpp/litil-one.ini --host 127.0.0.1 --port 8080
With scanned-document vision (--mmproj):
llama-server \
-m LiTiL-One-27B-Q4_K_M.gguf \
--mmproj LiTiL-One-27B-mmproj-F16.gguf \
--alias litil-one \
-ngl 99 -fa on -c 32768 -np 1 \
--temp 1.0 --top-p 0.95 --top-k 20 \
--jinja --host 127.0.0.1 --port 8080
Hardware preset profiles live under presets/llama.cpp/: Apple Silicon Metal, NVIDIA CUDA, and CPU. Pass --reasoning off for fast clause extraction; reasoning stays on by default.
Ollama
Run directly from Hugging Face:
OLLAMA_CONTEXT_LENGTH=32768 ollama run hf.co/litillabs/LiTiL-One-GGUF:Q4_K_M
Or import locally using the bundled Modelfile (text or vision):
hf download litillabs/LiTiL-One-GGUF \
LiTiL-One-27B-Q4_K_M.gguf LiTiL-One-27B-mmproj-F16.gguf Modelfile Modelfile.vision \
--local-dir ./litil-one-gguf
cd litil-one-gguf
ollama create litil-one -f Modelfile
# Or with vision:
# ollama create litil-one-vision -f Modelfile.vision
ollama run litil-one
OpenAI-Compatible Python Client
You can dial reasoning effort to match the task. Keep xhigh enabled for multi-document redlines and schedule reconciliation, step down to medium or low for quick single-agreement triage, or switch thinking off for fast clause extraction:
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ.get("LITIL_ONE_BASE_URL", "http://127.0.0.1:8080/v1"), # or :11434/v1 for Ollama
api_key=os.environ.get("LITIL_ONE_API_KEY", "not-needed"),
timeout=1200,
)
stream = client.chat.completions.create(
model=os.getenv("LITIL_ONE_MODEL", "litil-one"),
messages=[{
"role": "user",
"content": "Review this agreement against our playbook...",
}],
temperature=1.0,
top_p=0.95,
max_tokens=32768,
stream=True,
extra_body={
"top_k": 20,
"chat_template_kwargs": {
"enable_thinking": True,
"reasoning_effort": "xhigh",
"preserve_thinking": True,
},
},
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
Evaluation and Real Deal Proof
Itโs easy to make a model look good if youโre just testing it on single-paragraph clauses like a quiz. Real transactional work is much less forgiving. Even if it catches 9 out of 10 issues, the missed issues can make or break a deal.
| Benchmark & Metric | Scope | LiTiL One (27B) | Frontier & Specialized Reference Scores |
|---|---|---|---|
| Harvey โ Task All-Pass | 498 contract tasks (100% criteria met) | 13.3% | Kimi K3 12.9% ยท Opus 5.5 9.2% ยท GPT-6 Astra 7.1% ยท Fable 5.1 6.7% ยท GPT-6 Luna 4.2% |
| Harvey โ Criterion Pass | 498 contract tasks (two-judge mean) | 91.2% | Kimi K3 93.5% ยท GPT-6 Astra 91.7% ยท Opus 5.5 89.8% ยท GPT-6 Luna 88.3% |
| ContractBench | Commercial redlining & escalation | 54.29% | Opus 5.5 57.98% ยท Kimi K3 57.37% ยท Gemini 3.8 Flash 54.81% ยท GLM-5.3 54.76% ยท DeepSeek V4 Pro 47.87% ยท GPT-6 Astra 45.85% |
| LegalBench โ Contracts | 87 contract categories | 87.9% | Contract-specific slice inside the 161-category LegalBench suite |
| LegalBench โ Overall | All 161 legal categories | 85.6% | Fable 5.1 88.5% ยท GPT-6 Astra 87.1% ยท Opus 5.5 87.0% ยท Kimi K3 86.2% ยท GPT-5.6 Luna 84.0% |
| LegalReasonBench | Continuing-matter legal reasoning | 34.58% | Fable 5.1 50.60% ยท Opus 5.5 46.50% ยท Gemini 3.8 Flash 39.60% ยท GPT-6 Astra 39.50% ยท GPT-6 Sol 31.90% |
You can see what that looks like in practice below, comparing LiTiL One (27B) against GLM-5.3 FlashX Legal (320B MoE) on the same lab lease counterproposal from ContractBench. On paper, year-one rent stayed at $32.50/RSF, but the tenant added a 120-day Rent Commencement deferral in ยง2(b). GLM missed the deferral, left the ยง3(f) operating-expense gross-up change untouched, and didnโt flag the ยง9(b) sublease recapture issue for Asset Management (63.8%). LiTiL One struck the deferral in tracked changes, tightened ยง2(c) back to the 10-business-day exercise window, restored the 95% gross-up in ยง3(f), escalated ยง9(b), and left four settled terms alone (74.5%). On the Crescent / Northstar studio lease, which came back with 244 counterparty tracked changes, LiTiL One hit 100.0% (17/17 criteria, all four settled terms intact) against 25.6% for GLM.
Runtime Verification
LiTiL-One-27B-Q4_K_M.gguf paired with LiTiL-One-27B-mmproj-F16.gguf passed JSON extraction, structured tool-call (lookup_clause), and multimodal vision smoke checks on Apple Silicon (M4 Max) in both llama.cpp (0.6.0-dev) and Ollama (0.40.4).
Own Your Intelligence
Every serious law firm, investment fund, and corporate legal team already owns something no general-purpose API provider can replicate: decades of hard-won deal judgment. Which risks your partners accept, where your fallback lines stop, how a specific counterparty pushes back, and how thousands of past deals actually closed. That institutional memory is what clients pay for.
Renting closed APIs puts firms in a bad trade. You send privileged client work outside your network into a generic model that treats every firmโs risk appetite identically, collects a permanent per-token toll, and leaves your practice with zero compounding asset of its own. Our entire mission is focused on one bet: that the future is organizations training, owning, and running specialized models right where their work sits. We believe the future is LiTiL.
LiTiL One is the open-weights proof of what our post-training pipeline produces. We partner directly with law firms, enterprise legal departments, and financial institutions to turn their precedent banks, negotiation playbooks, and partner judgment into private evaluation suites, bespoke post-trained models, and sovereign contract agents deployed inside their own infrastructure.
- Release paper: litil.ai/litil-one
- Work with LiTiL Labs: litil.ai/contact
Citation
@misc{litillabs2026litilone,
title = {Introducing LiTiL One},
author = {LiTiL Labs},
year = {2026},
url = {https://litil.ai/litil-one}
}
License
Released under the Apache License 2.0 (see NOTICE). Post-trained from Qwen/Qwen3.8-27B.
- Downloads last month
- 6
4-bit
16-bit