Run this model with HF Jobs
Run Xylolabs/flint-v1.1-MLX-4bit 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 to fine-tune https://huggingface.co/Xylolabs/flint-v1.1-MLX-4bit. 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/Xylolabs/flint-v1.1-MLX-4bit 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/Xylolabs/flint-v1.1-MLX-4bit. 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 Xylolabs/flint-v1.1-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Xylolabs/flint-v1.1-MLX-4bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("Xylolabs/flint-v1.1-MLX-4bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use Xylolabs/flint-v1.1-MLX-4bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Xylolabs/flint-v1.1-MLX-4bit"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Xylolabs/flint-v1.1-MLX-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use Xylolabs/flint-v1.1-MLX-4bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "Xylolabs/flint-v1.1-MLX-4bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "Xylolabs/flint-v1.1-MLX-4bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Xylolabs/flint-v1.1-MLX-4bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use Xylolabs/flint-v1.1-MLX-4bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Xylolabs/flint-v1.1-MLX-4bit"
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:8080/v1 hermes config set model.default Xylolabs/flint-v1.1-MLX-4bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Xylolabs/flint-v1.1-MLX-4bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Xylolabs/flint-v1.1-MLX-4bit"
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:8080/v1 \ --custom-model-id "Xylolabs/flint-v1.1-MLX-4bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
RecursiveSI/flint-v1.1 converted to MLX for mlx-lm: 4-bit weights, with 6-bit on the 167 projections most sensitive to quantization.
How to run
Flint support is on mlx-lm main after the v0.32.2 tag. The commands use commit 2d4df8d9 and MLX 0.32.5.
python3 -m pip install 'mlx==0.32.5' 'mlx-lm @ git+https://github.com/ml-explore/mlx-lm.git@2d4df8d94a80c0f9f8794e54fafee08728b04fc6'
mlx_lm.generate --model Xylolabs/flint-v1.1-MLX-4bit --prompt 'Explain how a hash table resolves collisions.'
mlx_lm.chat --model Xylolabs/flint-v1.1-MLX-4bit
Accuracy
Mean KL divergence and top-1 agreement against Flint v1.1 BF16 on MLX (mlx-lm 2d4df8d9), 512-token chunks of WikiText-2, chat and held-out text.
| Quant | Size | WikiText-2 KL | top-1 | Chat KL | top-1 | Held-out KL | top-1 |
|---|---|---|---|---|---|---|---|
| MLX 8-bit | 42.30 GB | 0.290489 | 87.07% | 0.214646 | 89.98% | 0.276756 | 87.82% |
| MLX 4-bit mix | 24.94 GB | 0.812588 | 74.33% | 0.611345 | 80.43% | 0.765404 | 75.95% |
Which file for your hardware
| Hardware | Memory | File | Context |
|---|---|---|---|
| Mac Studio M5 Max, 40-core GPU | 48 GB unified | Xylolabs/flint-v1.1-MLX-4bit (4-bit mix, 24.9 GB) |
256K |
| Mac Studio M5 Max, 40-core GPU | 64 GB unified | Xylolabs/flint-v1.1-MLX-8bit (8-bit, 42.3 GB) |
124K |
| Mac Studio M5 Ultra | 96 GB unified | Xylolabs/flint-v1.1-MLX-8bit (8-bit, 42.3 GB) |
256K |
| Mac Studio M5 Max, 40-core GPU | 128 GB unified | Xylolabs/flint-v1.1-MLX-8bit (8-bit, 42.3 GB) |
256K |
| Mac Studio M5 Ultra | 256 GB unified | Xylolabs/flint-v1.1-MLX-8bit (8-bit, 42.3 GB) |
256K |
| Mac Studio M5 Ultra, 80-core GPU | 512 GB unified | Xylolabs/flint-v1.1-MLX-8bit (8-bit, 42.3 GB) |
256K |
License and notices
Apache License 2.0, copied in LICENSE. Conversion and quantization are recorded in NOTICE.
Updates
- 2026-12-03: First release.
Upstream model card
Recursive Flint 1.1
Hugging Face | Local engine | Documentation
Flint 1.1 is an updated release of Recursive’s mixture-of-experts language model for coding agents, with 39.8 billion total parameters and approximately 2.5 billion active per token. It is designed to investigate codebases, fix bugs, implement features, and write tests.
Flint 1.1 supports text input and output, reasoning, and multi-turn tool use. Compared with Flint, it improves agentic coding, tool use, and cross-harness generalization—scoring 64.5% on Terminal-Bench 2.1, 91.5% on SWE-bench Pro v2, 76.6% on SWE-bench Verified, 66.8% on MCP-Atlas (filtered), 66.6% on WideSearch, and 96.2% on IFEval—while sharply reducing tool-call errors across coding-agent harnesses and preserving accuracy under 4-bit quantization.
This repository contains the BF16 checkpoint, model configuration, tokenizer, chat template, and an SGLang serving kit. Quantized variants are prepared separately for NVIDIA and Apple Silicon runtimes.
Evaluation
Flint 1.1 results use temperature 1.0, top-p 0.95, and top-k 20. Terminal-Bench 2.1 uses Terminus 2 (counting solutions obtained through web retrieval as unsuccessful); SWE-bench uses mini-swe-agent. Terminal-Bench 2.1, SWE-bench Pro v2, SWE-bench Verified, and IFEval report mean pass@1 over 5 attempts; MCP-Atlas reports pass@0.75 on the 407/500 filtered subset without broken tasks; WideSearch reports Item F1.
Tool-calling generalization
Across six coding-agent harnesses (200 coding tasks each, single attempt), Flint 1.1 maintains high solve rates (91.0%–93.5%) while reducing unexecutable tool-call errors to ≤0.4% across Pi, Mini-SWE-Agent (default and renamed tool arguments), Claude Code, Cline, and Codex.
Quantization robustness
Averaged across the six coding-agent harnesses (200 tasks each, single attempt), 4-bit NVFP4 quantization (simulated in BF16) reduces solve rate by 1.2 points on Flint 1.1 (92.0% → 90.8%) compared with 3.4 points on Flint (81.6% → 78.2%), with near-zero tool-call errors (0.1% BF16, 0.0% 4-bit).
Model specifications
| Property | Flint 1.1 |
|---|---|
| Developer | Recursive |
| Architecture | Decoder-only mixture-of-experts Transformer |
| Total parameters | 39.8B |
| Active parameters per token | Approximately 2.5B, including the output head¹ |
| Layers | 49: 2 dense layers followed by 47 MoE layers |
| Attention | 35 sliding-window layers and 14 full-attention layers |
| Sliding window | 513 tokens: the current token and 512 preceding tokens |
| Attention heads | 32 query heads and 4 key/value heads; head dimension 128 |
| Attention normalization | Per-head QK RMSNorm and learned per-head attention sinks |
| Position encoding | RoPE on sliding-window layers; no positional encoding on full-attention layers |
| Experts per MoE layer | 256 routed experts, with 6 selected per token, plus an always-active shared expert |
| Documented context configuration | 262,144 tokens, including prompt and generated output |
| Vocabulary | 150,144 tokens |
| Input / output | Text / text |
| Stated knowledge cutoff | June 2026 |
¹ The active-parameter convention includes the output head and excludes the full input embedding matrix. The active body alone is approximately 2.2B parameters. “40B-A2.5B” is the rounded model-size designation.
Getting started
Flint 1.1 runs on one B300 or H200 GPU per replica with the SGLang kit in sglang/. Transformers modeling code is not included yet.
pip install -U huggingface_hub openai
hf download RecursiveSI/flint-v1.1 --local-dir flint-v1.1 && cd flint-v1.1 # about 80 GB
docker build -t flint-sglang sglang
docker run -d --name flint --gpus '"device=0"' --ipc=host -p 127.0.0.1:30000:30000 \
-v "$PWD:/model" -e MODEL=/model flint-sglang bash /model/sglang/serve_b300.sh # H200: serve_h200.sh
until curl -sf localhost:30000/health_generate >/dev/null; do sleep 15; done # progress: docker logs -f flint
python3 sglang/example_client.py --base-url http://localhost:30000/v1 # reasoning and a tool call
from openai import OpenAI
client = OpenAI(base_url="http://localhost:30000/v1", api_key="unused")
response = client.chat.completions.create(
model="flint",
messages=[{"role": "user", "content": "Write a Python function that merges overlapping intervals."}],
max_tokens=32768,
)
print(response.choices[0].message.content)
sglang/README.md covers requirements, serve-script options, multi-GPU deployments, and API details.
Recommended generation settings
| Setting | Value |
|---|---|
| Temperature | 1.0 |
| Top-p / top-k | 0.95 / 20 |
| Output budget for hard problems | At least 32768 tokens, including reasoning |
The server applies these sampling settings when a request omits them. Flint 1.1 supports OpenAI-compatible tool calls. Use the checkpoint’s chat template and preserve returned reasoning_content in conversation history. Prompt and output share the context window.
Training
Flint 1.1 uses the same pretrained base model as Flint and is a newly post-trained model.
Limitations and responsible use
Flint 1.1’s supervised fine-tuning included safety-oriented examples, but the model can still produce incorrect or harmful content, faulty code, or inappropriate tool calls. Test generated code and review consequential changes before applying them. Tool-using applications should enforce their own permissions and execution boundaries; structured tool-call grammar does not prevent the model from choosing an unsafe or incorrect action.
Long reasoning can increase latency and exhaust the output budget before an answer is complete. The context configuration is a capacity limit, not a guarantee of uniform accuracy across all sequence lengths or tasks. Results can vary with checkpoint precision and inference runtime; evaluate the specific checkpoint and runtime you intend to deploy.
License and reporting
Flint 1.1 is released under the Apache 2.0 license. Hosted API terms and data practices are separate from the weight license.
For model and serving issues, contact support@recursive.com and include the checkpoint revision, runtime version, hardware, launch command, and a minimal reproduction. Report safety concerns or suspected misuse to safety@recursive.com, and security vulnerabilities to security@recursive.com.
- Downloads last month
- -
4-bit
Model tree for Xylolabs/flint-v1.1-MLX-4bit
Base model
RecursiveSI/flint-v1.1