Run this model with HF Jobs
Run litillabs/LiTiL-One-FP8 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/litillabs/LiTiL-One-FP8. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/litillabs/LiTiL-One-FP8 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/litillabs/LiTiL-One-FP8. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use litillabs/LiTiL-One-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use litillabs/LiTiL-One-FP8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="litillabs/LiTiL-One-FP8") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("litillabs/LiTiL-One-FP8") model = AutoModelForMultimodalLM.from_pretrained("litillabs/LiTiL-One-FP8", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use litillabs/LiTiL-One-FP8 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "litillabs/LiTiL-One-FP8" # 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-FP8", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/litillabs/LiTiL-One-FP8
- SGLang
How to use litillabs/LiTiL-One-FP8 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "litillabs/LiTiL-One-FP8" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "litillabs/LiTiL-One-FP8", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "litillabs/LiTiL-One-FP8" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "litillabs/LiTiL-One-FP8", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use litillabs/LiTiL-One-FP8 with Docker Model Runner:
docker model run hf.co/litillabs/LiTiL-One-FP8
Release Paper | BF16 | FP8 | GGUF | Collection | Work With LiTiL Labs
LiTiL One (27B — FP8)
Fine-grained FP8 production weights for LiTiL One: a Pareto frontier contracts model that you can run at home in a data center.
30.9 GB FP8 · 256K Context · 149–167 tok/s × 6 ~256K Streams on 1× B300 · 291 tok/s Single Stream · Apache 2.0
Running a 27B dense model changes the math on security and cost immediately. Put the weights inside your VPC or on an office GPU and per-token API charges drop to zero, with zero client files leaving your network. For high-concurrency firm-wide serving on one NVIDIA B300, this FP8 checkpoint running on SGLang with Multi-Token Prediction (MTP) sustains 149–167 tokens per second per request across six simultaneous warmed near-256K-context streams (2.3–3.1s time to first token), and hits 291 tokens per second on a single stream after prefill.
This repository packages LiTiL One in fine-grained E4M3FN FP8 (128×128 weight blocks, FP32 weight_scale_inv, dynamic activation scaling, and the official Qwen3.8-27B-FP8 layer exclusions) while keeping the tokenizer, chat template, and vision components intact. FP8 quantization is read automatically from config.json—do not re-quantize at startup.
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 |
Evaluation Summary
On Harvey’s Legal Agent Benchmark across 498 contract tasks, LiTiL One scores 13.3% on full-task completion (task all-pass), beating Kimi K3 (12.9%) and Claude Opus 5.5 (9.2%), and nearly doubling GPT-6 Astra (7.1%) and Fable 5.1 (6.7%). On ContractBench, it scores 54.29% (+8.44 points over GPT-6 Astra and +6.42 points over DeepSeek V4 Pro), earning 87.21% of the positive rubric weight on preserving agreed terms. Plotted against open-weight models using Vals reference scores, LiTiL One anchors the size-performance Pareto frontier at 27B parameters—no plotted open-weight model under 300B beats it on task all-pass, and you don’t need a cluster of B300s to run it.
| 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% |
Serving Quickstart
Requires SGLang (v0.5.19+) or vLLM with Qwen3_5ForConditionalGeneration / Transformers >=5.8.0 support and FP8-capable NVIDIA GPUs (Ada, Hopper, or Blackwell). --dtype bfloat16 applies only to the retained high-precision components, not FP8 weights.
SGLang (Recommended)
bash scripts/serve_sglang.sh litillabs/LiTiL-One-FP8
python -m sglang.launch_server \
--model-path litillabs/LiTiL-One-FP8 \
--served-model-name litil-one \
--host 127.0.0.1 --port 8000 \
--context-length 262144 \
--dtype bfloat16 \
--reasoning-parser qwen3 \
--tool-call-parser qwen3_coder
vLLM
bash scripts/serve_vllm.sh litillabs/LiTiL-One-FP8
vllm serve litillabs/LiTiL-One-FP8 \
--served-model-name litil-one \
--host 127.0.0.1 --port 8000 \
--max-model-len 262144 \
--dtype bfloat16 \
--reasoning-parser qwen3 \
--enable-auto-tool-choice \
--tool-call-parser qwen3_coder
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:8000/v1"),
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)
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
- 3
docker model run hf.co/litillabs/LiTiL-One-FP8