Skip to content

RecursiveSI

flint

A 40B model by RecursiveSI that uses tools such as web search and can think before answering.

Tools Thinking
Downloads
119,121 downloads last month
Likes
369 likes
Uploaded
Uploaded 20 Oct 2026

Get it in Zero1LLM

Then open Explore in the app and search for:

Parameters
39,785,287,456 (39.8B)
Context length
262,144 tokens
Architecture
flint
Task
text-generation
Licence
apache-2.0
Released
21 Oct 2026
Last updated
21 Oct 2026

This is unsloth's upload of RecursiveSI/flint.

Tools

Uses tools, so web search and the browser work best with it.

Thinking

Can think step by step before it answers.

Each version is the same model stored at a different precision: smaller files use less memory and lose a little quality.

VersionFile sizeFileSHA-256
UD-IQ1_M11.35 GBflint-UD-IQ1_M.gguf
UD-IQ2_XXS11.86 GBflint-UD-IQ2_XXS.gguf
UD-Q2_K_XL13.56 GBflint-UD-Q2_K_XL.gguf
UD-IQ3_XXS14.54 GBflint-UD-IQ3_XXS.gguf
UD-Q3_K_XL18.49 GBflint-UD-Q3_K_XL.gguf
UD-Q4_K_XL25.05 GBflint-UD-Q4_K_XL.gguf
UD-Q5_K_XL29.92 GBflint-UD-Q5_K_XL.gguf
UD-Q6_K_XL36.32 GBflint-UD-Q6_K_XL.gguf
Show all 10 versions
VersionFile sizeFileSHA-256
Q8_042.30 GBflint-Q8_0.gguf
BF1679.58 GBflint-BF16-00001-of-00003.gguf+2 partsPer part
Model class
FlintForCausalLM
Model type
flint
Layers
49
Hidden size
2048
Attention heads
32
Key/value heads
4
Experts
256 (6 used per token)
Vocabulary
150,144
Context length
262,144 tokens
Sliding window
513 tokens
Weights
bfloat16

The sampling settings the model's makers ship as its defaults.

Temperature
1
Top P
0.95
Top K
20

Flint is 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 supports text input and output, reasoning, and multi-turn tool use. In our release evaluations, it scores 54.9% on Terminal-Bench 2.1, 89.7% on SWE-bench Pro v2, and 74.2% on SWE-bench Verified.

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 benchmark performance: BF16 and NVFP4 checkpoints compared with local models that run on similar hardware

Flint results use temperature 1.0, top-p 0.95, and top-k 20. Terminal-Bench uses Terminus 2; SWE-bench uses mini-swe-agent. Agentic scores report average pass@1 over at least five attempts. † marks scores measured by Recursive; other comparison scores are developer-reported.

Evaluation setups vary across sources. Flint’s Terminal-Bench score counts solutions obtained through web retrieval as unsuccessful; developer-reported scores may not apply the same adjustment.

Model specifications

PropertyFlint
DeveloperRecursive
ArchitectureDecoder-only mixture-of-experts Transformer
Total parameters39.8B
Active parameters per tokenApproximately 2.5B, including the output head¹
Layers49: 2 dense layers followed by 47 MoE layers
Attention35 sliding-window layers and 14 full-attention layers
Sliding window513 tokens: the current token and 512 preceding tokens
Attention heads32 query heads and 4 key/value heads; head dimension 128
Attention normalizationPer-head QK RMSNorm and learned per-head attention sinks
Position encodingRoPE on sliding-window layers; no positional encoding on full-attention layers
Experts per MoE layer256 routed experts, with 6 selected per token, plus an always-active shared expert
Documented context configuration262,144 tokens, including prompt and generated output
Vocabulary150,144 tokens
Input / outputText / text
Stated knowledge cutoffJune 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 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 --local-dir flint && cd flint   # 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

SettingValue
Temperature1.0
Top-p / top-k0.95 / 20
Output budget for hard problemsAt least 32768 tokens, including reasoning

The server applies these sampling settings when a request omits them. Flint 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 was trained from scratch through pretraining, mid-training, supervised fine-tuning, and reinforcement learning. Training includes text and code, instruction following, and agentic tasks.

Limitations and responsible use

Flint’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 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.

More from RecursiveSI

On Hugging Face

Everything on this page comes from these pages and is refreshed every few hours; Hugging Face always has the latest.