RecursiveSI/flint (40B A2.5B) · Hugging Face
Summary
Recursive released Flint, a 40B total / 2.5B active mixture-of-experts coding language model on Hugging Face, scoring 89.7% on SWE-bench Pro v2 and 74.2% on SWE-bench Verified, with SGLang serving kit and quantized variants.
View Cached Full Text
Cached at: 10/21/26, 04:26 PM
RecursiveSI/flint · Hugging Face
Source: https://huggingface.co/RecursiveSI/flint

Recursive Flint
Blog|Hugging Face|Local engine|Documentation
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.
https://huggingface.co/RecursiveSI/flint#evaluationEvaluation
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.
https://huggingface.co/RecursiveSI/flint#model-specificationsModel specifications
PropertyFlintDeveloperRecursiveArchitectureDecoder-only mixture-of-experts TransformerTotal parameters39.8BActive parameters per tokenApproximately 2.5B, including the output head¹Layers49: 2 dense layers followed by 47 MoE layersAttention35 sliding-window layers and 14 full-attention layersSliding window513 tokens: the current token and 512 preceding tokensAttention heads32 query heads and 4 key/value heads; head dimension 128Attention normalizationPer-head QK RMSNorm and learned per-head attention sinksPosition encodingRoPE on sliding-window layers; no positional encoding on full-attention layersExperts per MoE layer256 routed experts, with 6 selected per token, plus an always-active shared expertDocumented context configuration262,144 tokens, including prompt and generated outputVocabulary150,144 tokensInput / outputText / textStated 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.
https://huggingface.co/RecursiveSI/flint#getting-startedGetting started
Flint runs on one B300 or H200 GPU per replica with the SGLang kit insglang/. 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\.mdcovers requirements, serve-script options, multi-GPU deployments, and API details.
https://huggingface.co/RecursiveSI/flint#recommended-generation-settingsRecommended generation settings
SettingValueTemperature1.0Top-p / top-k0.95 / 20Output 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 returnedreasoning\_contentin conversation history. Prompt and output share the context window.
https://huggingface.co/RecursiveSI/flint#trainingTraining
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.
https://huggingface.co/RecursiveSI/flint#limitations-and-responsible-useLimitations 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.
https://huggingface.co/RecursiveSI/flint#license-and-reportingLicense and reporting
Flint is released under theApache 2.0 license. Hosted API terms and data practices are separate from the weight license.
For model and serving issues, contact[email protected]and include the checkpoint revision, runtime version, hardware, launch command, and a minimal reproduction. Report safety concerns or suspected misuse to[email protected], and security vulnerabilities to[email protected].
Similar Articles
Recursive launches Flint, a laptop coding model it says was largely built by AI
Recursive released Flint, a free 40B-parameter mixture-of-experts coding model that runs on laptops, claiming it was built largely by its automated AI research system, the Eureka Machine. Flint achieves high token throughput and strong SWE-Bench Verified results for its size, and is available under the Apache 2.0 license on Hugging Face.
Recursive releases Flint
Recursive 发布了 Flint,一款 40B 总参数、仅激活 2.5B 参数的 MoE 本地 agentic 编码模型,在 50B 以下 MoE 模型中于 SWE-Bench Pro v2、Terminal-Bench 2.1 等基准上领先,并借助自研 Eureka Machine 自动化研发系统在四个月内完成构建。
Benchmark: Recursive's Flint 40B A2.5B Q4 achieves 128 tok/s on MacBook Pro M4 Pro 48GB using Kapitsa, an open-source Apple Silicon optimized engine, Claude/Codex/Pi/OpenCode compatible.
Kapitsa, an open-source inference engine optimized for Apple Silicon, achieves 128 tok/s decode on a MacBook Pro M4 Pro 48GB running Recursive's new Flint 40B Q4 model, outperforming llama.cpp and Recursive's own engine in long-context decode and prefill benchmarks.
This Startup Is All In on Recursive Self-Improvement. Its Latest Model Is Scary Good
Startup Recursive 旗下首个开源权重编码模型 Flint 发布,其 CEO Richard Socher 称该模型几乎全部由自研的 Eureka Machine 通过递归自我改进(RSI)流程完成开发,并在同等规模编码基准上表现突出。
@cline: We’re about to see a breakout in local model capabilities. Flint scores 54.9% on Terminal-Bench 2.1 with ~2B active par…
Flint scores 54.9% on Terminal-Bench 2.1 with only ~2B active parameters, outperforming other small MoE models and some dense ~30B models while running at 125+ tok/s on a MacBook Pro with ~24GB memory.
