Step-by-step guide to self-hosting Recursive's Flint 1.1 coding model with SGLang on a single B300 or H200 GPU, with quantization notes.
What is Flint 1.1 and can you run it locally? #
Yes. Flint 1.1 is an open-weight mixture-of-experts coding model from Recursive, released under Apache 2.0, and it ships with an official SGLang serving kit built for local deployment. The model has 39.8 billion total parameters with roughly 2.5 billion active per token, and Recursive’s documentation specifies it runs on a single B300 or H200 GPU per replica. The download is about 80GB for the BF16 checkpoint, and the setup is a straightforward Docker-based flow with an OpenAI-compatible API on the other end.
TL;DR #
- Flint 1.1 is a 39.8B-parameter mixture-of-experts model with about 2.5B active parameters per token, purpose-built for agentic coding tasks like bug fixing, feature implementation, and test writing.
- The official deployment path uses SGLang inside Docker, with separate serve scripts for B300 and H200 GPUs, and a single GPU is enough to run one replica.
- Expect to download roughly 80GB of weights for the BF16 checkpoint before building the container, so plan disk space and bandwidth accordingly.
- Benchmark numbers from Recursive show strong agentic performance: 91.5% on SWE-bench Pro v2, 76.6% on SWE-bench Verified, and 64.5% on Terminal-Bench 2.1.
- 4-bit NVFP4 quantization holds up well on Flint 1.1, dropping solve rate by only 1.2 points versus 3.4 points on the original Flint, which matters for anyone trying to run this on less VRAM.
- Tool-call reliability is a standout feature: across six different coding-agent harnesses, unexecutable tool-call errors stay at or below 0.4%, which is unusually low for an open model.
- The model exposes an OpenAI-compatible API once served, so existing tooling built around the OpenAI client library works with minimal changes.
Everyone else built a construction worker.
We built the contractor.
One file at a time.
UI, API, database, deploy.
What hardware do you need to run Flint 1.1? #
Recursive’s own documentation is specific here: one B300 or H200 GPU per replica. Both are high-memory data center cards, not consumer GPUs, and that’s a direct consequence of the model’s size. Even though only about 2.5B parameters activate per token thanks to the mixture-of-experts architecture, the full 39.8B parameter set still needs to live somewhere accessible for routing, which means you need enough VRAM to hold the entire BF16 checkpoint plus room for KV cache and activations during inference.
The repository notes that Transformers modeling code isn’t included yet, so SGLang is currently the supported path for self-hosting. If you’re used to running smaller open models through generic Transformers pipelines, that’s a meaningful difference: Flint 1.1’s local deployment story is narrower but more opinionated, with a serving kit tuned specifically for this architecture’s sliding-window and full-attention layer mix.
How do you actually set up Flint 1.1 with SGLang? #
The process has four real steps: download, build, run, and verify.
First, install the Hugging Face CLI and the OpenAI Python client, then pull the weights:
pip install -U huggingface_hub openai
hf download RecursiveSI/flint-v1.1 --local-dir flint-v1.1 && cd flint-v1.1 # about 80 GB
Second, build the Docker image from the included SGLang kit:
docker build -t flint-sglang sglang
Third, run the container, pointing it at your GPU and the model directory. The serve script differs depending on hardware. use serve_b300.sh for a B300 GPU or serve_h200.sh for an H200:
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
Fourth, wait for the health check to pass before sending requests:
until curl -sf localhost:30000/health_generate >/dev/null; do sleep 15; done
You can watch progress with docker logs -f flint while that loop runs. Once the health check succeeds, the included example client script will send a reasoning prompt and a tool call to confirm everything works end to end.
How do you send requests once the server is running? #
Flint 1.1 exposes an OpenAI-compatible endpoint, so the standard OpenAI Python client works without modification beyond pointing it at your local server:
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)
The API key field is unused for local hosting since there’s no authentication layer by default. Recursive recommends temperature 1.0, top-p 0.95, and top-k 20 for generation, and the server applies these automatically if a request doesn’t specify them. For hard problems, the documentation suggests budgeting at least 32,768 output tokens, since that budget has to cover both the model’s internal reasoning and the final answer. It’s also worth preserving the reasoning_content field returned by the API in your conversation history if you’re building multi-turn agents, since the chat template is designed around that pattern.
How does quantization affect Flint 1.1’s accuracy? #
Build a claims
triage app for
4,000 insurance
adjusters
One prompt. Role-based access, audit trail and SSO come built in.
This is one of the more practical details for anyone trying to run the model on tighter hardware budgets. Recursive tested 4-bit NVFP4 quantization (simulated in BF16) across six coding-agent harnesses and found the solve rate dropped from 92.0% to 90.8%, a loss of only 1.2 percentage points. By comparison, the original Flint model lost 3.4 points under the same quantization (81.6% down to 78.2%). Tool-call error rates stayed near zero in both precision levels (0.1% at BF16, 0.0% at 4-bit).
That gap matters because it suggests Flint 1.1’s post-training specifically targeted reliability under compression, not just raw benchmark scores. For anyone trying to shrink VRAM requirements by quantizing down from BF16, this is a meaningfully safer bet than running the previous Flint release at the same precision. Quantized variants for NVIDIA and Apple Silicon runtimes are prepared separately from the main BF16 repository, so check the model’s Hugging Face page for those if you’re not running the full-precision checkpoint.
Is Flint 1.1 worth self-hosting versus using a hosted API? #
The honest answer depends on what you’re optimizing for. If you need a single GPU that you already own or rent, and your workloads involve heavy agentic coding (bug fixing, test generation, multi-step tool use), Flint 1.1’s numbers are competitive: 91.5% on SWE-bench Pro v2 and 76.6% on SWE-bench Verified are strong results for an open-weight model, and the tool-call error rate staying under 0.4% across six different harnesses (Pi, Mini-SWE-Agent in two configurations, Claude Code, Cline, and Codex) is a real differentiator. A lot of open coding models produce malformed or unexecutable tool calls often enough to break agent loops; Flint 1.1’s architecture and post-training seem specifically aimed at closing that gap.
The tradeoff is hardware cost. B300 and H200 GPUs aren’t cheap or widely available, and the 80GB download plus the operational overhead of running Docker containers and health checks is more setup than calling a hosted endpoint. If you’re doing occasional coding tasks, a hosted API is simpler. If you’re running high-volume agentic workflows where tool-call reliability and context window size (262,144 tokens, documented as the full capacity for prompt plus output) matter, owning the deployment gives you more control over cost at scale and data residency.
Frequently Asked Questions #
What GPU do I need to run Flint 1.1 locally?
Recursive’s documentation specifies a single B300 or H200 GPU per replica for the BF16 checkpoint. Quantized variants exist for other NVIDIA hardware and Apple Silicon, though those are distributed separately from the main repository.
How much disk space does Flint 1.1 require?
The BF16 checkpoint download is approximately 80GB. Budget additional space for the Docker image build and any cached activations or logs generated during serving.
Does Flint 1.1 support tool calling?
Yes. It supports OpenAI-compatible tool calls and was specifically tuned to reduce unexecutable tool-call errors, which stayed at or below 0.4% across six different coding-agent harnesses in Recursive’s testing.
Can I run Flint 1.1 at lower precision to save VRAM?
Yes, 4-bit NVFP4 quantization is supported and tested. It reduces solve rate by only about 1.2 percentage points compared to full BF16 precision, a smaller drop than the previous Flint model experienced under the same quantization.
What is Flint 1.1’s context window?
The documented context configuration is 262,144 tokens, which covers both the input prompt and the generated output combined, including any reasoning tokens produced during generation.