Code Generation
~9 min readUpdated: December 2026

Recursive Flint 1.1 40B-A2.5B MoE: Coding Agent Benchmarks & SGLang Setup

Recursive Flint 1.1 40B-A2.5B MoE Coding Agent Architecture and SGLang Serving

Recursive Flint 1.1 (RecursiveSI/flint-v1.1, Apache-2.0) is a 39.8B-parameter decoder-only MoE coding-agent model activating ~2.5B parameters per token (2.2B active body) across 49 layers and a 262,144-token context window. Achieving 91.5% on SWE-bench Pro v2 and 64.5% on Terminal-Bench 2.1, it ships with an SGLang serving kit for H200 and B300 GPUs.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

Recursive Flint 1.1 40B-A2.5B MoE: Coding Agent Benchmarks & SGLang Setup: Recursive Flint 1.1 (RecursiveSI/flint-v1.1, Apache-2.0) is a 39.8B-parameter decoder-only MoE coding-agent model activating ~2.5B parameters per token (2.2B active body) across 49 layers and a 262,144-token context window. Achieving 91.5% on SWE-bench Pro v2 and 64.5% on Terminal-Bench 2.1, it ships with an SGLang serving kit for H200 and B300 GPUs. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.

Key Architectural Takeaways
Quick Implementation Exampleflint-v1-1-sglang-agent.ts
flint-v1-1-sglang-agent.tstypescript
import { createAgent } from '@smoke-monkey/harness';
// Connect Smoke Monkey Harness to local SGLang replica serving RecursiveSI/flint-v1.1
const agent = createAgent({
agentId: 'flint-1-1-autonomous-coder',
provider: 'openai-compatible',
baseUrl: 'http://127.0.0.1:30000/v1',
model: 'flint',
workspacePath: process.cwd(),
permissions: {
read_file: 'allow',
write_file: 'allow',
run_command: 'ask',
},
});
async function main() {
// Preserve reasoning_content across turns and budget >= 32,768 output tokens for hard bugs
const result = await agent.run(
'Investigate failing integration tests in tests/billing/, patch the race condition, and verify with npm test.'
);
console.log('Flint 1.1 Agent Summary:', result.summary);
}
main().catch(console.error);
Video Guides

Watch: Related Video Guides

Flint 1.1 Is CRAZY Fast... Until I Set a Trap (40B Local Coding Agent Tested)

Flint 1.1 Fixes Flint 40B's Biggest Flaw (But 3 Problems Remain)

What Is Recursive Flint 1.1 and Why Does It Excel Across Agent Harnesses?

Recursive Flint 1.1 (RecursiveSI/flint-v1.1, Apache-2.0) is a 39.8B-parameter (39,785,287,456 BF16 weights) decoder-only mixture-of-experts model engineered specifically for autonomous codebase exploration, bug fixing, and multi-turn tool calling. While total weight capacity sits at ~40B, each token activates only ~2.5B parameters including the output head (~2.2B active body).

Unlike models overfit to a single agent scaffold, Flint 1.1 generalizes across six distinct harnesses (Pi, Mini-SWE-Agent default and renamed schemas, Claude Code, Cline, and Codex), scoring 91.0%–93.5% solve rate with <=0.4% unexecutable tool errors:

Benchmark / MetricProtocol / HarnessFlint 1.1 ScoreNotes
SWE-bench Pro v2mini-swe-agent (mean pass@1, 5 runs)91.5%Temp 1.0, top_p 0.95, top_k 20
SWE-bench Verifiedmini-swe-agent (mean pass@1, 5 runs)76.6%Full 262,144-token context
Terminal-Bench 2.1Terminus 2 (web retrieval = fail)64.5%Pure sandbox terminal execution
MCP-Atlas (Filtered)407/500 tasks (pass@0.75)66.8%Multi-server MCP tool invocation
WideSearchItem F166.6%Deep multi-hop retrieval
IFEvalMean pass@1 (5 runs)96.2%Strict instruction & format adherence
6-Harness Avg (NVFP4)Simulated 4-bit NVFP4 vs BF1690.8% (vs 92.0% BF16)0.0% 4-bit tool-call errors

Deploying Recursive Flint 1.1 Locally with the SGLang Serving Kit

Because Transformers modeling code is not yet bundled in the upstream checkpoint, Recursive ships an SGLang Docker kit inside the sglang/ folder of the repository (~80 GB BF16 download) tuned for single-GPU H200 (141 GB) or B300 replicas. Always preserve the returned reasoning_content field in multi-turn message histories and allocate at least 32,768 max_tokens for difficult repository refactors:

bash
# 1. Download RecursiveSI/flint-v1.1 checkpoint (~80 GB BF16)
pip install -U huggingface_hub openai
hf download RecursiveSI/flint-v1.1 --local-dir flint-v1.1 && cd flint-v1.1

# 2. Build and launch the SGLang container on H200 (or serve_b300.sh on B300)
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_h200.sh

# 3. Wait for readiness and verify reasoning + tool calling
until curl -sf localhost:30000/health_generate >/dev/null; do sleep 15; done
python3 sglang/example_client.py --base-url http://localhost:30000/v1

Preserve reasoning_content & 32K Output Budget

Flint 1.1 shares its 262,144-token window between prompt and output. Truncating max_tokens below 32,768 or stripping reasoning_content between tool turns degrades multi-step patch quality.

Why 35 Sliding-Window + 14 NoPE Full Layers Keep 262K Context Lean

Flint 1.1 splits its 49 layers into 35 sliding-window attention layers (513-token window: current token + 512 prior tokens with RoPE) and 14 full-attention layers without positional encoding (NoPE), using 32 query heads, 4 key/value heads (GQA, head_dim 128), per-head QK RMSNorm, and learned attention sinks. This 5:2 sliding-to-full ratio sharply cuts KV-cache RAM growth at 200K+ tokens while preventing attention-sink saturation during long Smoke Monkey Harness debugging trajectories.

Google Search Questions & Answers

Frequently Asked Questions

Q:How much VRAM does Recursive Flint 1.1 require in BF16?

The full BF16 checkpoint weighs ~80 GB (39.8B parameters), running on a single NVIDIA H200 (141 GB) or B300 GPU with the included sglang/serve_h200.sh or serve_b300.sh scripts.

Q:How does Flint 1.1 behave under 4-bit NVFP4 quantization?

Across six coding-agent harnesses, simulated 4-bit NVFP4 reduces Flint 1.1 solve rate by only 1.2 points (92.0% to 90.8%) with 0.0% unexecutable tool-call errors.

Q:Can I use Flint 1.1 with Hugging Face Transformers directly?

Not yet—the initial release relies on the bundled SGLang serving kit in sglang/ and exposes an OpenAI-compatible /v1 API on port 30000.

Q:What sampling settings does Recursive recommend for Flint 1.1?

Use temperature=1.0, top_p=0.95, top_k=20, and a minimum max_tokens budget of 32,768 tokens for hard coding problems.

Related Alternatives & Comparisons

Related Architecture Guides

View all guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness