Factory
The steps before a first run on Prime Intellect's Model Factory, and where Techtree helps.
On this page
Own your agent intelligence instead of renting slow, expensive frontier reasoning calls on the workflows your business repeats every day.
Prime Intellect's Model Factory gives companies the GPU infrastructure and control plane frontier labs run: train a custom open-weight model on your tasks, deploy it, and use production failures to train the next version. Techtree is the applied uplift and verification team built natively on Prime Intellect's open stack (Verifiers, Harbor, and prime-rl) — so you get non-leaky evals, hack-free Docker environments, model-tuned Skills, and proven 3B–14B open-weight specialists fast, with 100% artifact ownership and zero vendor lock-in. Techtree is independent of Prime Intellect.
1. Qualify first (Gate 0)
Owning a model pays when one workflow repeats at volume, has clear pass/fail criteria, and hurts today in API cost, latency, or control. Before any training, we lock a blind held-out test and check whether a cheaper existing model, Thinking toggle, or model-tuned Skill already hits your bar. If that gets you there, we say so and stop. Techtree: Skills and the Gate 0 qualification step of Models.
2. Build a test you can trust
Single-pass evals ship noise (we measured 14.1 percentage-point swings on the exact same prompt and 34.2-point 14B model ranking reversals across tasks). Write and review the test before changing anything: set aside held-out cases the optimization never sees, validate that the scorer passes known-good work and rejects plausible mistakes, and score across multiple repeats. That Verifiers suite becomes your permanent release gate. Techtree: Evals.
3. Verify sealed tasks
Agentic evaluation and RL need resettable environments with honest rewards. Static task checks alone missed 42 of 43 broken tasks in our stress test — including nop = 1.0 reward hacks. We package tasks as Verifiers or Harbor environments and verify every single task inside sealed offline Docker (network_mode=none) so oracle passes (1.0), empty or wrong attempts fail (0.0), and zero reward hacks slip through. Techtree: Environments.
4. Baseline
Measure your current production setup and the candidate open model on the exact same held-out test across multiple repeats. The gap between them — in accuracy, latency, and cost per accepted outcome — sets the target before any GPU spend starts.
5. Train with prime-rl
Start with LoRA supervised fine-tuning on accepted examples (or zero-leakage frontier synthetic distillation when examples are sparse), then add verifiable-reward single-turn or multi-turn RL once scoring is verified. Agree a hard compute cap upfront.
In our 16,126-trial four-lane proof (9 live prime-rl v0.11.0 runs), frontier-distilled 4B specialists beat 8× larger Qwen3-32B-AWQ (Thinking) on two benchmarks (98.4% vs 97.4% and 82.5% vs 78.1%) with zero Skill prompt, 12× fewer tokens, and 23× lower latency, while pure single-turn GRPO RL with zero gold labels lifted held-out accuracy +21.9 pp (p = 1.22e-4).
In our follow-up Campaign 4 GPU proofs on single GPUs:
- 14B scale-up on one 22.5 GiB L4 (
Qwen/Qwen3-14B,no_skill): hit91.23%(104/114,p = 9.04e-27vs Base+Skill,+13.1 ppaboveQwen3-32B-AWQ Thinking,11.1×faster,28.7×fewer prompt tokens;94.74%greedy) ondependabot, and76.58%(85/111,+18.92 ppvs Baseno_skill,p = 3.04e-05,+10.8 ppover 4B SFT;81.08%greedy matching Base+Skillat10.8×fewer prompt tokens) onreact-best-practices. - Multi-turn tool-using coding/ops RL (
Qwen/Qwen3-4B,multi-turn-ops-v1, verifiednop = 0/72,gold = 72/72): nativeprime-rl v0.11.0IPO + Dr. GRPO +max_staleness = 1lifted 72 unseen 10-turn episodes7.5×from2.78%→20.83%(+18.05 pp, paired CMHp = 2.97e-04,-18.3%completion tokens;rate_limiter0/12 → 12/12 = 100%) in 7.5 minutes on a single G4 GPU.
Techtree: Models.
6. Deploy anywhere (zero lock-in)
You keep the PEFT LoRA weights (uplift-package/2 with SHA-256 verification and explicit inference_prompt_mode so your serving prompt always matches training), the bundled serve/ deploy pack (vllm.sh, merge_lora.py, prime_deploy.toml, and check_prompt_mode.py), the prime-rl.toml recipe, and the 1-command rerun test. Serve Monday morning on your own vLLM / Modal / Ollama stack, or deploy directly onto Prime Intellect's Inference / Model Factory endpoints. We report two numbers separately: Training (small model before vs. after) and Replacement (full running cost per accepted outcome vs. what you run today).
7. Compound in production
Once in service, log real failures and edge cases. Turn reviewed failures into new Verifiers or Harbor tasks, rerun the exact same release gate, and ship the next Skill or adapter version — compounding your domain edge every cycle.
8. Scale to dedicated clusters
When training becomes routine or you scale past single-GPU 3B–14B specialists to 32B+ or multi-GPU RL clusters, Prime Intellect's hosted training and dedicated Model Factory deployments run the exact same Verifiers environments and prime-rl recipes we hand over — zero rewrite required.
Start
Bring one repeated workflow and 20–100 sanitized examples of good and bad work. Book a call or contact us · Read the 16,126-trial proof · Model Factory · Hosted training