Run this model with HF Jobs
Run moonbox-dev/flint-MLX 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/moonbox-dev/flint-MLX. 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/moonbox-dev/flint-MLX 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/moonbox-dev/flint-MLX. 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 moonbox-dev/flint-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use moonbox-dev/flint-MLX with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("moonbox-dev/flint-MLX") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use moonbox-dev/flint-MLX with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "moonbox-dev/flint-MLX" --prompt "Once upon a time"
- Atomic Chat
Model card and the original license
Browse filesFiles changed (5)
- .gitattributes+2
- LICENSEAdded+201
- README.mdAdded+244
- assets/flint-logo.pngAdded
- assets/flint_benchmarks_nvfp4.pngAdded
36 unmodified lines373839404136 unmodified lines6bit/tokenizer.json filter=lfs diff=lfs merge=lfs -text4bit/tokenizer.json filter=lfs diff=lfs merge=lfs -text3bit/tokenizer.json filter=lfs diff=lfs merge=lfs -textassets/flint-logo.png filter=lfs diff=lfs merge=lfs -textassets/flint_benchmarks_nvfp4.png filter=lfs diff=lfs merge=lfs -text123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244---base_model: RecursiveSI/flintbase_model_relation: quantizedlicense: apache-2.0pipeline_tag: text-generationlibrary_name: mlxtags:- mlx- moonbox- flint- recursive- mixture-of-experts- mlx-vlm- apple-silicon---
# flint MLX
MLX builds of [Flint](https://huggingface.co/RecursiveSI/flint) (Recursive's 40B-A2.5B mixture-of-experts model for coding agents, with reasoning andtool calls), made by Moonbox for Apple Silicon Macs. Each build is a folder and a complete[mlx-vlm](https://github.com/Blaizzy/mlx-vlm) model: weights, `config.json`, Recursive's tokenizer, chat template andgeneration settings. These files are not an official Recursive release.
## Files
The last column is how far each build is from the original bf16 model (see "Quality" below for what was measured).
| Precision | File | Size | sha256 | Against the original ||---|---|---|---|---|| 8bit | [`8bit/chat_template.jinja`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/chat_template.jinja) | 2.3 kB | `7940f4ffa327` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 || 8bit | [`8bit/config.json`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/config.json) | 0.2 MB | `38ffc25fa9ce` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 || 8bit | [`8bit/generation_config.json`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/generation_config.json) | 0.2 kB | `a499c71895e0` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 || 8bit | [`8bit/model-00001.safetensors`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/model-00001.safetensors) | 4.60 GB | `742ce7b92076` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 || 8bit | [`8bit/model-00002.safetensors`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/model-00002.safetensors) | 5.30 GB | `d33c27632e92` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 || 8bit | [`8bit/model-00003.safetensors`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/model-00003.safetensors) | 5.30 GB | `043e4f21a7dd` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 || 8bit | [`8bit/model-00004.safetensors`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/model-00004.safetensors) | 5.30 GB | `129c734424ec` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 || 8bit | [`8bit/model-00005.safetensors`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/model-00005.safetensors) | 5.30 GB | `13f708c202cb` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 || 8bit | [`8bit/model-00006.safetensors`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/model-00006.safetensors) | 5.30 GB | `137d2e7def5a` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 || 8bit | [`8bit/model-00007.safetensors`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/model-00007.safetensors) | 5.30 GB | `f511ebbe3e8e` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 || 8bit | [`8bit/model-00008.safetensors`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/model-00008.safetensors) | 5.30 GB | `05d61f558198` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 || 8bit | [`8bit/model-00009.safetensors`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/model-00009.safetensors) | 883.4 MB | `fc5e6d13fef2` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 || 8bit | [`8bit/model.safetensors.index.json`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/model.safetensors.index.json) | 0.2 MB | `f6976804fc8c` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 || 8bit | [`8bit/tokenizer.json`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/tokenizer.json) | 10.9 MB | `752cbc36d07b` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 || 8bit | [`8bit/tokenizer_config.json`](https://huggingface.co/moonbox-dev/flint-MLX/blob/main/8bit/tokenizer_config.json) | 3.8 kB | `67a517504c07` | KL 0.050 nats (p95 0.074), top-1 agreement 93.51 %, perplexity 22.57 vs 22.55 |
Flint (Recursive's 40B-A2.5B mixture of experts for coding agents: 256 routed experts and a shared one, 6 at work foreach token; sliding-window and full attention with learned sinks) converted to MLX for Apple Silicon, in four builds.Each folder is a complete mlx-vlm model: weights, `config.json`, Recursive's tokenizer, chat template and generationsettings. Text only.
These files were converted by Moonbox from [RecursiveSI/flint](https://huggingface.co/RecursiveSI/flint) (revision`2a247be0`). They are not an official Recursive release; Recursive publishes its own Apple Silicon build,[RecursiveSI/flint-int4](https://huggingface.co/RecursiveSI/flint-int4) (measured below).
## How to run
With [mlx-vlm](https://github.com/Blaizzy/mlx-vlm) 0.8.0 or later:
```pythonfrom huggingface_hub import snapshot_downloadfrom mlx_vlm import load, generate
folder = snapshot_download("moonbox-dev/flint-MLX", allow_patterns="3bit/*") + "/3bit"model, processor = load(folder)msgs = [{"role": "user", "content": "Write a Python function that merges overlapping intervals."}]prompt = processor.tokenizer.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True)print(generate(model, processor, prompt, max_tokens=4096, temperature=1.0, top_p=0.95, top_k=20).text)```
- **Chat template.** No BOS; `<|system|>`, `<|developer|>`, `<|user|>`, `<|assistant|>` turns with no newlines; tools in a `<|system|>` turn of their own after the leading system message. Message content must be a string (the template renders a list of parts as its Python repr): join parts into text first. There is no thinking switch: the model opens `<think>` itself when it wants to reason, and `enable_thinking` changes nothing. Tool calls are `<tool_call>name<arg_key>key</arg_key><arg_value>value</arg_value>...</tool_call>` (strings as they are, other values as JSON); a tool's result goes back as `<|observation|><tool_response>...</tool_response>`. Generation stops at `<|end_of_text|>`, `<|user|>`, `<|observation|>` or `<|developer|>` (all in `generation_config.json`). Keep each turn's reasoning (`reasoning_content`) when sending a conversation back: the template renders it. Recursive's sampling: temperature 1.0, top_p 0.95, top_k 20.- **The router and the output head stay bfloat16** in the 8, 6 and 4-bit builds; the 3-bit's head is 8-bit (it measured the same as bfloat16 there, for 0.3 GB less).
| Build | Size | Runs on | Layout ||---|---|---|---|| `8bit` | 42.6 GB | 96 GB Macs and up (64 GB: slow) | 8 bits, group 64; router and head bfloat16 || `6bit` | 32.7 GB | 64 GB Macs and up (48 GB: slow) | 6 bits, group 64; router and head bfloat16 || `4bit` | 23.6 GB | 48 GB Macs and up (32 GB: slow) | dynamic, experimental: attention, the shared expert and layers 0-1's dense MLP 8 bits, the embedding 6, the routed experts 4; router and head bfloat16 || `3bit` | 17.4 GB | 32 GB Macs and up (24 GB: slow, other apps squeezed) | dynamic, experimental: attention, shared expert, dense MLP and head 8 bits, the embedding 6, the routed experts 3 in groups of 128 with MSE-fitted ranges; router bfloat16 |
- **Memory and speed** on a 24 GB MacBook Air (M5), through Moonbox's server (greedy; a short answer, 512- and 4K-token prompts; flint thinks before most answers, which counts as decoding). Only the `3bit` runs on this Mac; the others' numbers are estimates (memory: the weights plus what the 3-bit holds besides them; decode: scaled by the bytes a token reads).
| Build | Peak | Decode (short / after 4K) | Prefill 4K ||---|---|---|---|| `8bit` | 43.3 GB (estimated) | ~35 tok/s (estimated, this Mac's bandwidth) | || `6bit` | 33.4 GB (estimated) | ~43 tok/s (estimated) | || `4bit` | 24.3 GB (estimated) | ~41 tok/s (estimated) | || `3bit` | 18.1 GB | 49.3 / 45.9 tok/s | 905 tok/s |
## Quality
MLX affine quantization; against the bf16 original (perplexity 22.55), teacher-forced through mlx-vlm's own layersone layer at a time, on 16,368 positions of English prose, Python and chat transcripts in the model's own template.The mark this lab uses is top-1 90 % (KL 0.01 ideal). Flint moves further from the original than the dense modelsand GLM-4.7-Flash at every width: 256 sigmoid-routed experts with 6 chosen per token make many near-tied choices,which small changes flip. The 8 and 6-bit clear the top-1 mark; no 4 or 3-bit layout measured does, so those two areexperimental.
| Build | Mean KL (nats) | KL p95 | Top-1 agreement | Perplexity ||---|---|---|---|---|| `8bit` | 0.050 | 0.074 | 93.51 % | 22.57 || `6bit` | 0.077 | 0.136 | 90.82 % | 22.66 || `4bit` (experimental) | 0.120 | 0.294 | 87.34 % | 22.88 || `3bit` (experimental) | 0.272 | 0.783 | 80.25 % | 22.50 || [RecursiveSI/flint-int4](https://huggingface.co/RecursiveSI/flint-int4) (22.6 GB, read from its files) | 0.221 | 0.590 | 82.33 % | 22.61 |
Measured the same way: a plain 4-bit (every layer 4 bits, router included, 22.4 GB) at KL 0.97 and top-1 59.6 %, andplain 3-bit at 33.6 %; Recursive's int4 layout (everything 4 bits, the embedding 8, router bfloat16) quantized hereby rounding to nearest at 60.1 %, with MSE-fitted ranges at 63.7 % (Recursive's own scale fitting does far better,82.3 %); a 4-bit with the experts' down projections at 5 bits (25.2 GB) 88.7 %, with the experts in groups of 32(26.0 GB) 88.1 %; 3-bit layouts of 16.9-18.1 GB at 77.7-80.3 %. The 8-bit with the head and router at 8 bits too:92.69 %. MSE-fitted ranges gave the 3-bit 1.3 points and the 4 and 6-bit nothing.
## How these were made
From [Flint](https://huggingface.co/RecursiveSI/flint) at revision `2a247be0c0`, read from the Hub tensor by tensor, by Moonbox's converter(`lab/zoo/flint/convert.py` in Moonbox's repository): mlx-vlm's own sanitize and layout (each layer's 256 expertsstacked, the learned attention sinks kept bfloat16), MLX affine quantization. The router and the output head staybfloat16 in every build. Each build was checked against the original before upload (teacher-forced, layer by layerthrough mlx-vlm's own layers); the `sha256` column above is what the files must hash to.
## License
Apache-2.0, as Recursive's LICENSE file (copied here) and model card declare. These files are a derivative of theoriginal model: its weights were converted and quantized as described above. The original model card followsunchanged.
---
# Original model card
<p align="center"> <img src="assets/flint-logo.png" width="160" alt="Flint logo"></p>
<h1 align="center">Recursive Flint</h1>
<p align="center"> <a href="https://www.recursive.com/updates/introducing-recursive-flint">Blog</a> | <a href="https://huggingface.co/RecursiveSI">Hugging Face</a> | <a href="https://github.com/recursive-oss/rec">Local engine</a> | <a href="https://docs.recursive.com/getting-started">Documentation</a></p>
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 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
| Property | Flint || :---- | :---- || 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 runs on one B300 or H200 GPU per replica with the SGLang kit in `sglang/`. Transformers modeling code is not included yet.
```bashpip install -U huggingface_hub openaihf download RecursiveSI/flint --local-dir flint && cd flint # about 80 GBdocker build -t flint-sglang sglangdocker 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.shuntil curl -sf localhost:30000/health_generate >/dev/null; do sleep 15; done # progress: docker logs -f flintpython3 sglang/example_client.py --base-url http://localhost:30000/v1 # reasoning and a tool call```
```pythonfrom 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`](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 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](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..gitattributes+2
LICENSEAdded+201
README.mdAdded+244
assets/flint-logo.pngAdded

Large File Pointer Details
- SHA256: b95290bec100def989fd410999f8129d43068900705a0609a78cdbafa930ad61
- Pointer size: 131 Bytes
- Size of remote file: 410 kB
assets/flint_benchmarks_nvfp4.pngAdded

Large File Pointer Details
- SHA256: 329b7954c7bd5c9181ab94ab840d0b7df270780e694f65179d32742a242020c4
- Pointer size: 131 Bytes
- Size of remote file: 690 kB