Flint 40B (MoE)
Flint 40B (MoE) needs roughly 27.4 GB VRAM at Q4_K_M quantization (89.5 GB at FP16). 70 GPUs we track can run it fully in VRAM at 8k context.
70 GPUs run this natively · 33 with CPU offload
- Q4_K_M total
- 27.4 GB
- at 8k context
- Smallest GPU
- 32 GB
- NVIDIA RTX 5090, at Q4_K_M
- KV cache, full context
- 7.6 GB
- 14 of 49 layers grow with context, 35 capped at 513 tokens
- Inputs
- Text
- Apache 2.0, released October 2026
- Active experts
- 6 of 256 + 1 shared
- ~2.5B active per token
- Attention pattern
- 35 sliding : 14 full
- 513-token window
Flint 40B (MoE) is a Mixture of Experts (MoE) model with 39.8B total parameters but only 2.5B active per token developed by Recursive. Released on 21 October 2026 by Recursive under the Apache 2.0 license, a mixture-of-experts model trained from scratch (the card names no base model) for coding agents. It has 39.8B parameters in total and about 2.5B active per token: 49 layers, the first two dense and the other 47 each routing every token to 6 of 256 experts plus an always-on shared expert. Its attention stack is the unusual part: 14 layers look at the whole context and the other 35 use a 513-token sliding window, so most of the KV cache is capped. Context is 262,144 tokens, shared between prompt and output, and the launch post recommends staying within 256k. It is text only, reasons before answering, and supports multi-turn tool calls.
To run Flint 40B (MoE) locally: The weights are the cost, not the context. Q4_K_M comes to 24.2 GB by this site's estimate, in line with the published files (24.2 GB from lmstudio-community, 25.4 GB from bartowski), and Recursive's own NVFP4 GGUF is 22.9 GB. The full 262,144-token window adds only 7.6 GB of KV cache, against 26.3 GB if all 49 layers cached the whole context. A 24 GB card such as the RTX 3090 or RTX 4090 cannot hold Q4_K_M with any working context and drops to a 3-bit build (19.1 GB of weights), which fits at a short context but spills to system RAM at the full window (29.9 GB in total). A 32 GB RTX 5090 holds Q4_K_M at a short context and a 3-bit build at the full window, and a 64 GB Mac holds even Q8_0 at the full window. Recursive reports more than 125 tokens per second on an M4 Pro MacBook Pro and more than 150 on a 64GB NVIDIA RTX Spark at short contexts, its own figures for its own engine. The card's serving kit targets a single B300 or H200, so the NVFP4 and int4 GGUFs are the local routes. As a MoE model, inference speed depends on active parameters (2.5B) rather than total size.
Recursive's card reports Terminal-Bench 2.1 at 54.9 and SWE-bench Verified at 74.2, each an average pass@1 over at least five attempts (Terminus 2 and mini-swe-agent harnesses respectively), and counts Terminal-Bench solutions found through web retrieval as failures. It also lists 89.7 on SWE-bench Pro v2, a different suite from the Scale AI SWE-bench Pro leaderboard this site tracks, so that figure is quoted here but not entered in the benchmark table. The launch post claims Flint leads MoE models under 50B total parameters on agentic coding and rivals dense models of 25 to 40B at more than five times the speed, but it names no comparison models and gives no scores in text. These are Recursive's own runs, and no independent write-up had appeared when this page was written. The post also warns that Flint may need more guidance than the larger closed coding models, so split complex tasks into subtasks.
What a full 262,144-token context actually costs
Long context is where a local coding agent usually runs out of memory: every token an agent reads adds to the KV cache. Flint keeps that bill small by letting 35 of its 49 attention layers look back only 513 tokens, however long the session gets. Only the other 14 layers keep a cache that grows with context.
KV cache only, at FP16. Weights and activation overhead sit on top of these figures.
Filling the whole 262,144-token window costs 7.6 GB of KV cache instead of 26.3 GB. Add 24.2 GB of Q4_K_M weights and this site's full-window total is 35.6 GB; the same model with every layer caching the whole context would need 56.6 GB. The weights, not the context, set the hardware bill.
VRAM at each quantization
Calculated at 8k context. Because only part of this model's stack keeps a growing KV cache, longer sessions cost far less extra VRAM than a full-attention model of the same size.
| Quant | Weights | KV cache | Total |
|---|---|---|---|
| FP32 | 159.2 GB | 0.27 GB | 178.6 GB |
| BF16 | 79.6 GB | 0.27 GB | 89.5 GB |
| FP16 | 79.6 GB | 0.27 GB | 89.5 GB |
| Q8_0 | 42.3 GB | 0.27 GB | 47.7 GB |
| Q6_K | 32.7 GB | 0.27 GB | 36.9 GB |
| Q5_K_M | 28.3 GB | 0.27 GB | 32.0 GB |
| Q4_K_Mrec | 24.2 GB | 0.27 GB | 27.4 GB |
| Q3_K_M | 19.1 GB | 0.27 GB | 21.8 GB |
| Q2_K | 15.2 GB | 0.27 GB | 17.3 GB |
| NVFP4cuda | 22.9 GB | 0.27 GB | 25.9 GB |
KV cache is calculated at 8k context (FP16). Note that NVFP4 only runs on CUDA GPUs. Turn on TurboQuant in the calculator above for lower KV cache estimates.
Quantization × context: where it fits
The table above holds context fixed at 8k. Add context as a second axis and the picture changes little for this model, because most layers stop growing after 513 tokens. Pick the row you can download, then the column you actually need.
| Quant | 8k ctx | 32k ctx | 128k ctx | 256k ctx |
|---|---|---|---|---|
| Q8_0 | 47.7 GB48 GB card | 48.5 GB80 GB card | 51.6 GB80 GB card | 55.8 GB80 GB card |
| Q6_K | 36.9 GB48 GB card | 37.7 GB48 GB card | 40.9 GB48 GB card | 45.1 GB48 GB card |
| Q5_K_M | 32.0 GB48 GB card | 32.8 GB48 GB card | 36.0 GB48 GB card | 40.2 GB48 GB card |
| Q4_K_Mrec | 27.4 GB32 GB card | 28.2 GB32 GB card | 31.4 GB32 GB card | 35.6 GB48 GB card |
| Q3_K_M | 21.8 GB24 GB card | 22.5 GB24 GB card | 25.7 GB32 GB card | 29.9 GB32 GB card |
Benchmarks
GPUs that run Flint 40B (MoE) natively (70)
- NVIDIA RTX 5090NVFP4 · 196 t/s
- NVIDIA RTX 4090Q3_K_M · 176.1 t/s
- NVIDIA RTX 3090Q3_K_M · 172.2 t/s
- NVIDIA RTX 3090 TiQ3_K_M · 176.1 t/s
- NVIDIA B300 288GBBF16 · 147.2 t/s
Show 65 more
- NVIDIA B200 180GBBF16 · 147.2 t/s
- NVIDIA H200 141GBBF16 · 137.1 t/s
- NVIDIA H100 80GBQ8_0 · 162.9 t/s
- NVIDIA A100 80GBQ8_0 · 147.6 t/s
- NVIDIA A100 40GBQ6_K · 151.3 t/s
- NVIDIA L40SQ6_K · 125.5 t/s
- NVIDIA RTX A6000Q6_K · 134.1 t/s
- NVIDIA RTX 4000 AdaQ2_K · 119.5 t/s
- NVIDIA RTX 4500 AdaQ3_K_M · 126.7 t/s
- NVIDIA RTX 5000 AdaQ4_K_M · 132.3 t/s
- NVIDIA RTX 6000 AdaQ6_K · 147.7 t/s
- NVIDIA RTX Pro 6000BF16 · 135.9 t/s
- NVIDIA DGX Spark (128GB)BF16 · 38.5 t/s
- AMD Radeon RX 7900 XTXQ3_K_M · 94.7 t/s
- AMD Radeon RX 7900 XTQ2_K · 94.7 t/s
- AMD Radeon PRO W7800Q4_K_M · 80.9 t/s
- AMD Radeon PRO W7900Q6_K · 84.2 t/s
- AMD Instinct MI300XBF16 · 83.5 t/s
- AMD Radeon AI PRO R9700 32GBQ4_K_M · 83.3 t/s
- AMD Strix Halo (128GB)BF16 · 31 t/s
- AMD Strix Halo (96GB)Q8_0 · 45.8 t/s
- AMD Strix Halo (64GB)Q8_0 · 45.8 t/s
- AMD Strix Halo (32GB)Q3_K_M · 65.1 t/s
- Apple M5 Ultra (512GB)BF16 · 61.5 t/s
- Apple M5 Ultra (256GB)BF16 · 61.5 t/s
- Apple M5 Ultra (96GB)Q8_0 · 72.3 t/s
- Apple M5 Max (128GB)BF16 · 46.5 t/s
- Apple M5 Max (64GB)Q8_0 · 59.7 t/s
- Apple M5 Max (48GB)Q6_K · 64.5 t/s
- Apple M5 Max (36GB)Q4_K_M · 63.9 t/s
- Apple M5 Pro (64GB)Q8_0 · 44 t/s
- Apple M5 Pro (48GB)Q6_K · 49.4 t/s
- Apple M5 (32GB)Q3_K_M · 43.8 t/s
- Apple M6 (32GB)Q3_K_M · 46.3 t/s
- Apple M4 Max (128GB)BF16 · 43.8 t/s
- Apple M4 Max (64GB)Q8_0 · 57.2 t/s
- Apple M4 Max (48GB)Q6_K · 62.1 t/s
- Apple M4 Max (36GB)Q4_K_M · 61.5 t/s
- Apple M4 Pro (48GB)Q6_K · 46.7 t/s
- Apple M4 (32GB)Q3_K_M · 38.3 t/s
- Apple M3 Ultra (512GB)BF16 · 53.1 t/s
- Apple M3 Ultra (256GB)BF16 · 53.1 t/s
- Apple M3 Ultra (96GB)Q8_0 · 65.6 t/s
- Apple M3 Max (128GB)BF16 · 36.7 t/s
- Apple M3 Max (96GB)Q8_0 · 43.5 t/s
- Apple M3 Max (64GB)Q8_0 · 50.2 t/s
- Apple M3 Max (48GB)Q6_K · 55.4 t/s
- Apple M3 Max (36GB)Q4_K_M · 54.8 t/s
- Apple M3 Pro (36GB)Q4_K_M · 38.9 t/s
- Apple M2 Ultra (192GB)BF16 · 52.6 t/s
- Apple M2 Ultra (64GB)Q8_0 · 65.1 t/s
- Apple M2 Max (96GB)Q8_0 · 50.2 t/s
- Apple M2 Max (64GB)Q8_0 · 50.2 t/s
- Apple M2 Max (32GB)Q3_K_M · 65 t/s
- Apple M2 Pro (32GB)Q3_K_M · 50 t/s
- Apple M1 Ultra (128GB)BF16 · 52.6 t/s
- Apple M1 Ultra (64GB)Q8_0 · 65.1 t/s
- Apple M1 Max (64GB)Q8_0 · 50.2 t/s
- Apple M1 Max (32GB)Q3_K_M · 65 t/s
- Apple M1 Pro (32GB)Q3_K_M · 50 t/s
- Intel Arc Pro B70 32GBQ4_K_M · 82.1 t/s
- Intel Arc Pro B60 24GBQ3_K_M · 75.6 t/s
- Intel Data Center GPU Max 1550BF16 · 78.9 t/s
- Intel Data Center GPU Max 1100Q6_K · 84.3 t/s
- Intel Arc 140V (32GB)Q3_K_M · 47.5 t/s
Plus 33 GPUs that run it with CPU offload (slower)
- NVIDIA RTX 5080NVFP4 · 83.7 t/s
- NVIDIA RTX 5070 TiNVFP4 · 82.8 t/s
- NVIDIA RTX 5070NVFP4 · 67.6 t/s
- NVIDIA RTX 5060 Ti 16GBNVFP4 · 71.2 t/s
- NVIDIA RTX 5060 Ti 8GBNVFP4 · 55.3 t/s
- NVIDIA RTX 5060NVFP4 · 55.3 t/s
- NVIDIA RTX 5050NVFP4 · 51.2 t/s
- NVIDIA RTX 4080Q6_K · 51.3 t/s
- NVIDIA RTX 4070 Ti SUPERQ6_K · 50.8 t/s
- NVIDIA RTX 4070 TiQ6_K · 43.7 t/s
- NVIDIA RTX 4070 SUPERQ6_K · 43.7 t/s
- NVIDIA RTX 4070Q6_K · 43.7 t/s
- NVIDIA RTX 4060 Ti 16GBQ6_K · 41.2 t/s
- NVIDIA RTX 4060Q5_K_M · 40.1 t/s
- NVIDIA RTX 3080 10GBQ5_K_M · 51.7 t/s
- NVIDIA RTX 3060 12GBQ6_K · 40.6 t/s
- AMD Radeon RX 9070 XTQ6_K · 40.5 t/s
- AMD Radeon RX 7900 GREQ6_K · 39.9 t/s
- AMD Radeon RX 7800 XTQ6_K · 40.4 t/s
- AMD Radeon RX 6800 XTQ6_K · 39.1 t/s
- Intel Arc B580 12GBQ6_K · 35.5 t/s
- Intel Arc B570 10GBQ5_K_M · 37.4 t/s
- Intel Arc Pro B50 16GBQ6_K · 31.9 t/s
- Intel Arc A770 16GBQ6_K · 39.7 t/s
- Intel Arc A770 8GBQ5_K_M · 37.8 t/s
- Intel Arc A750 8GBQ5_K_M · 37.8 t/s
- Intel Arc A580 8GBQ5_K_M · 37.8 t/s
- Intel Arc A380 6GBQ4_K_M · 33.1 t/s
- Intel Arc A310 4GBQ4_K_M · 28.1 t/s
- Intel Arc Pro A60 12GBQ6_K · 34.4 t/s
- Intel Arc Pro A50 6GBQ4_K_M · 33.4 t/s
- Intel Arc Pro A40 6GBQ4_K_M · 33.4 t/s
- CPU only (system RAM)Q4_K_M · 22.3 t/s
No GPU? Rent an RTX A6000 from $0.33/hr ↗
Prices as of Oct 17, 2026. Rates change; check RunPod for current pricing. Affiliate link: CanItRun may earn a commission. Doesn't affect the fit calculation above.
Notes
Released 21 October 2026 by Recursive, trained from scratch (the card names no base model) for coding agents: 39.8B parameters with about 2.5B active per token across 256 routed experts, 6 chosen per token plus a shared expert. Only 14 of its 49 attention layers look at the whole context; the other 35 use a 513-token sliding window, so the KV cache stays small as context grows. Recursive's card reports Terminal-Bench 2.1 54.9 and SWE-bench Verified 74.2 (average pass@1 over at least five attempts), plus 89.7 on SWE-bench Pro v2, a different suite from the Scale AI leaderboard this site tracks, so it is not entered in the SWE-bench Pro field. The launch post claims it leads MoE models under 50B total parameters on agentic coding and reports more than 125 tokens per second on an M4 Pro MacBook Pro and more than 150 on a 64GB NVIDIA RTX Spark at short contexts; these are Recursive's own measurements, and the post names no comparison models or scores. The post also says Flint may need more guidance than the larger closed coding models, so break complex tasks into subtasks. The BF16 checkpoint is 79.6GB; Recursive also publishes NVFP4 (22.9GB) and int4 (26.0GB Q4_1) GGUFs, and the Ollama tag flint:40b is 23GB. Apache 2.0, text only.
Compare Flint 40B (MoE) with other models
How to run Flint 40B (MoE) locally
Q4_K_M needs 27.4 GB: needs a workstation or datacenter GPU (48–80 GB).
llama.cpp (a recent build with Flint support), or Ollama, LM Studio, vLLM and SGLang
./llama-server \
-hf lmstudio-community/flint-GGUF:Q4_K_M \
-c 32768 -ngl 99 -fa on --jinja \
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0Ollama
ollama run flint:40bllama.cpp
# Recursive's own NVIDIA build (Blackwell): 22.9 GB NVFP4 file at the full 262,144-token window
hf download RecursiveSI/flint-nvfp4-gguf flint-nvfp4.gguf --local-dir flint-nvfp4-gguf
llama-server -m flint-nvfp4-gguf/flint-nvfp4.gguf \
--alias flint -ngl all -c 262144 -np 1 \
-fa on -ctk f16 -ctv f16 --jinja \
--temp 1 --top-p 0.95 --top-k 20 --min-p 0
# Leave --swa-full unset so the 35 sliding-window layers keep their compact cacheLM Studio: Search for 'flint' and take the Q4_K_M build from lmstudio-community (24.2 GB), or Q6_K and Q8_0 if you have the memory. The model reasons before it answers, so expect a think block, and keep the reasoning in the conversation history between turns (the chat template replays it). Temperature 1.0, top-p 0.95 and top-k 20 are Recursive's settings. Because only 14 of 49 layers grow their cache, raising the context slider costs far less memory than on a conventional model; the weights are the budget.
Why this quantization? Q4_K_M puts the weights at 24.2 GB by this site's estimate, close to the published files (24.2 GB from lmstudio-community, 25.4 GB from bartowski). Context is the cheap part: the full 262,144-token window adds only 7.6 GB of KV cache, because 35 of the 49 layers cap their cache at a 513-token window. That makes the memory plan simple: a 32 GB card holds Q4_K_M at a short context, a 64 GB Mac holds it at the full window, and a 24 GB card has to step down to a 3-bit build (19.1 GB of weights). On Blackwell GPUs, Recursive's own 22.9 GB NVFP4 GGUF is the build the company tuned for, and Recursive says its NVFP4 checkpoint scores within 0.7 points of the 16-bit model across its benchmarks.
Who is Flint 40B (MoE) for?
Developers who want a local coding agent that decodes fast on a single 32 GB card or a 48 to 64 GB Apple Silicon machine. Only about 2.5B parameters are active per token, so decode speed is closer to a 3B model's than a 40B model's, while all 39.8B parameters still have to be stored. Recursive pitches it for investigating codebases, fixing bugs, implementing features and writing tests through an OpenAI-compatible tool-calling server.
Best for
- Local coding agents (pi, OpenCode and similar) on a 32 GB GPU or a 48 to 64 GB Mac, where the KV cache stays small even at long context
- Repository-scale tasks that need a long window without a large memory bill, since only 14 of 49 layers grow their cache
- Terminal and tool-use work through llama-server's OpenAI-compatible API with --jinja enabled
Not ideal for
- 16 GB GPUs, where even the 2-bit build (about 17 GB in total) spills to system RAM
- Anyone who needs vision or audio input, it is text only
- Anyone who needs the benchmark claims independently verified before adopting a model, it was released the day before this page was written and every score is Recursive's own
- Open-ended tasks with no scaffolding, Recursive's own post says it may need more guidance than the larger closed coding models
Which card do you need?
Choose by the weights, not the context. Q4_K_M is 24.2 GB of weights and the full 262,144-token window adds 7.6 GB, for 35.6 GB in total. A 32 GB RTX 5090 runs Q4_K_M at a short context but spills to system RAM at the full window, where a 3-bit build (19.1 GB of weights, 29.9 GB in total) still fits. A 24 GB card such as the RTX 3090 or RTX 4090 is a 3-bit card even at a short context, and spills at the full window. A 64 GB Mac holds Q4_K_M at the full window, and even Q8_0. On Blackwell cards, Recursive's own 22.9 GB NVFP4 file is the build the company tuned for. A 16 GB card spills at every quantization. Every benchmark on this page is Recursive's own and the model was a day old when this page was written, so test it on your own repository before relying on it.
Frequently asked questions
- What are the VRAM requirements for Flint 40B (MoE)?
- Flint 40B (MoE) requires approximately 27.4 GB of VRAM at Q4_K_M quantization, 47.7 GB at Q8, and 89.5 GB at FP16. These numbers assume 8k context window; its hybrid attention stack caches far fewer than all layers, so VRAM grows much slower than linearly with context.
- How many parameters does Flint 40B (MoE) have?
- Flint 40B (MoE) has 39.8 billion total parameters, but only 2.5 billion are active per token thanks to its Mixture of Experts (MoE) architecture. This makes inference significantly faster than the total parameter count suggests.
- Can Flint 40B (MoE) run on a 16 GB GPU?
- No. At Q4_K_M, Flint 40B (MoE) needs 27.4 GB of VRAM, more than 16 GB. You will need a 32 GB GPU like the RTX 5090.
- Can Flint 40B (MoE) run on a 24 GB GPU?
- No. Even at Q4_K_M, Flint 40B (MoE) needs 27.4 GB. Consider a 32 GB card like the RTX 5090.
- What is the smallest quantization for Flint 40B (MoE) that fits in 24 GB of VRAM?
- At Q3_K_M, Flint 40B (MoE) needs 21.8 GB, the highest-quality quantization that fits in 24 GB of VRAM.
- What GPU do I need to run Flint 40B (MoE) locally?
- A 32 GB GPU is the minimum. At Q4_K_M, Flint 40B (MoE) needs 27.4 GB VRAM. Good option: RTX 5090 (32 GB).
- Can I run Flint 40B (MoE) in the cloud?
- Yes. The cheapest RunPod setup we found that holds Flint 40B (MoE) entirely in GPU memory at 8k context is 1× RTX A6000 at Q6_K, at roughly 134.1 tokens per second and from $0.33 per hour for the whole pod. Prices as of Oct 17, 2026; RunPod rates change, so check their pricing page for the current figure.
- How much VRAM does Flint need?
- The Q4_K_M weights are 24.2 GB by this site's estimate, in line with the published files (24.2 GB from lmstudio-community, 25.4 GB from bartowski), and Recursive's own NVFP4 GGUF is 22.9 GB. The full 262,144-token window adds 7.6 GB of KV cache, for 35.6 GB in total at Q4_K_M. A 24 GB card runs a 3-bit build (19.1 GB of weights) at a short context but not the full window, which comes to 29.9 GB in total; a 32 GB card holds Q4_K_M at a short context and the 3-bit build at the full window.
- Why does Flint's long context cost so little memory?
- Because 35 of its 49 attention layers use a 513-token sliding window, their cache stops growing after 513 tokens. Only the other 14 layers cache the whole context, which holds the full 262,144-token window to 7.6 GB of KV cache; if all 49 layers cached everything it would be 26.3 GB. Recursive's own llama.cpp instructions say to leave --swa-full unset so the compact sliding-window cache stays on.
- Can Flint run on a 16 GB GPU?
- Not entirely in VRAM. Even the 2-bit build is larger than a 16 GB card can use once a working context is added, so part of the model runs from system RAM. Only about 2.5B of its 39.8B parameters are active per token, which softens the penalty compared with a dense model of the same size, but expect it to run slower than on a card that holds the whole model.
- Are Flint's benchmark scores independent?
- No. Recursive's card reports Terminal-Bench 2.1 at 54.9 and SWE-bench Verified at 74.2, averaged over at least five attempts, and its launch post makes comparative claims without naming the other models or giving scores in text. The card's 89.7 on SWE-bench Pro v2 is a different suite from the Scale AI SWE-bench Pro leaderboard this site tracks, so it is not entered in the benchmark table. The model was a day old when this page was written and no independent write-up had appeared.