Can a 53 MB LoRA adapter match high-reasoning coding accuracy inside OpenCode with reasoning off? Inkling-2-Mini harness adaptation

Yes. Using online multi-turn Async GRPO inside live OpenCode 2.2.7 containers across 1,050 tasks on 8x NVIDIA H200, we trained a 53.5 MB attention-only LoRA adapter (spheron/Inkling-2-Mini-opencode-adapted) on thinkingmachines/Inkling-2-Mini. With reasoning set to none, it matches Base (effort=high) on the full 89-task Terminal-Bench 2.1 suite (43.8% vs 42.7%), cuts median tokens 4.4x, and stays drop-in compatible with Intuit’s DSpark speculative drafter for 2.12x single-user decode speed on 1x H200.

Findings: Inkling-2-Mini OpenCode adapter

  • Matches Base (effort=high) on full 89-task Terminal-Bench 2.1 with reasoning off. Inside OpenCode 2.2.7, Base (effort=none) solved 34/89 (38.2%), Base (effort=high) solved 38/89 (42.7%), and Adapter step 70 (effort=none) solved 39/89 (43.8%): +5.6 pts vs Base none (+11/-6, paired 95% CI +/-9.0 pts, McNemar p=0.332) and +1.1 pts vs Base high (+8/-7, p=1.000). On the 49 held-out tasks (indices 40 to 88) never used for checkpoint selection, pass rate climbed from 19/49 (38.8%) to 21/49 (42.9%).
  • 4.4x fewer median tokens overall, and 5.7x fewer reasoning tokens on shared solves. Across all 89 tasks vs Base (effort=high), median total tokens dropped from 23,483 to 5,294, median reasoning tokens dropped 6.6x (17,582 to 2,656), and median wall time fell 537 s to 363 s (-32.4%). Strictly on the 31 tasks solved by both arms, mean tokens dropped -47.5%, mean tool calls dropped -31.3%, and mean wall time dropped -32.5%.
  • Timeouts fell -38.1% at effort=none, and both RL training and held-out Gate B peaked at step 70. Full-89 timeouts dropped from 21 to 13. Online rollout correctness rose from 53.0% (steps 1 to 10) to 66.0% (steps 61 to 70, 311 groups / 1,902 rollouts) before dipping to 48.0% in steps 71 to 76. Gate B (paired 40-task TB 2.1 sweep) confirmed step 70 at 18/40 (45.0%, 4 timeouts) vs 15/40 (37.5%) for Base, step 60 and step 76.
  • Statistical tie on out-of-distribution SWE-rebench-V2.1 with 21.2% fewer median tokens on shared solves. Across 45 valid container environments out of 50 held-out SWE-rebench tasks, Base solved 35/45 (77.8%) vs 33/45 (73.3%) for Adapter (-4.4 pts, +2/-4, McNemar p=0.688). On the 31 shared solves, median generated tokens fell from 5,371 to 4,234 (-21.2%).
  • Drop-in DSpark speculative decoding reaches 214 tok/s solo (2.12x) and 1,499 tok/s at 16 users on 1x H200. With zero drafter retraining, intuit/Inkling-2-Mini-dspark (k=7) retains 93.7% to 96.5% of its base acceptance length (2.36 to 2.45 vs 2.48 to 2.54).
  • Single-seed honesty. At N=89 tasks on a single seed, both accuracy contrasts (+5.6 pts vs Base none, p=0.332; -4.4 pts on SWE-rebench, p=0.688) cross zero at 95% confidence. The efficiency gains over Base high and the timeout reduction at effort=none are the largest, cleanest signal in this study.

Full 89-task Terminal-Bench 2.1

All three arms ran inside identical OpenCode 2.2.7 containers on the complete 89-task Terminal-Bench 2.1 suite (131,072 context window, 8,192 MB container RAM, 1,800 s per-task wall cap). Training the 53.5 MB attention-only LoRA adapter lifts effort=none from 38.2% to 43.8%, edging past Base (effort=high) at 42.7% while keeping median token spend down at 5,294 instead of 23,483.

Full 89-task Terminal-Bench 2.1 three-arm comparison: Adapter step 70 (effort=none) reaches 43.8% accuracy vs 38.2% Base none and 42.7% Base high while cutting median generated tokens 4.4x from 23.5k to 5.3k.
Terminal-Bench 2.1 (89 tasks, OpenCode 2.2.7): Adapter step 70 matches Base (effort=high) accuracy at effort=none with 4.4x fewer median generated tokens. Download the chart as PNG or SVG.
Full 89-task Terminal-Bench 2.1 three-arm results
ArmEffort / TPass rateTimeoutsMean / med toolsMean / med total tokMean / med rsn tokMean / med wall
Base (effort=none)none / 0.834/89 (38.2%)2117.5 / 1019,611 / 4,48615,586 / 2,079773.1 s / 572.9 s
Base (effort=high)high / 1.038/89 (42.7%)729.1 / 2031,738 / 23,48325,224 / 17,582654.3 s / 536.9 s
Adapter step 70 (effort=none)none / 0.839/89 (43.8%)1319.2 / 1219,913 / 5,29415,422 / 2,656666.8 s / 362.9 s
Paired task-level comparisons across splits
ComparisonNBaselineCandidateDelta (95% CI)+/-McNemar pShared solves
tb21_89_adapter_vs_base_none8934 (38.2%)39 (43.8%)+5.6 (+/-9.0)+11/-60.33228
tb21_49_heldout_adapter_vs_base_none4919 (38.8%)21 (42.9%)+4.1 (+/-12.6)+6/-40.75415
tb21_89_adapter_none_vs_base_high8938 (42.7%)39 (43.8%)+1.1 (+/-8.5)+8/-71.00031
swe_rebench_45_valid_adapter_vs_base_none4535 (77.8%)33 (73.3%)-4.4 (+/-10.6)+2/-40.68831
swe_rebench_50_all_adapter_vs_base_none5035 (70.0%)33 (66.0%)-4.0 (+/-9.5)+2/-40.68831

Work reduction on the 31 shared solves

Comparing aggregate token counts across arms can be skewed by which tasks timed out. Restricting the comparison strictly to the 31 Terminal-Bench tasks solved by both Base (effort=high) and Adapter (effort=none) holds task difficulty and pass outcome identical. On those same 31 tasks, the adapter burns 5.7x fewer median reasoning tokens (13,615 to 2,378), 3.7x fewer median total tokens (17,990 to 4,808), -31.3% fewer mean tool calls (24.4 to 16.8), and finishes -32.5% faster (400.2 s to 270.3 s).

Normalized work comparison on the 31 Terminal-Bench 2.1 tasks solved by both Base high and Adapter none: reasoning tokens drop 5.7x, median total tokens 3.7x, mean total tokens 47.5%, wall time 32.5%, tool calls 31.3%.
Work on the 31 Terminal-Bench tasks solved by both Base (effort=high) and Adapter (effort=none), normalized to Base high = 100%. Download the chart as PNG or SVG.

Online RL progression and Gate B checkpoint selection

Online Async GRPO trained on 1,050 unique container tasks (750 from harness-hub/scale800-harbor plus 300 from harness-hub/termgrade-train-harbor) inside live OpenCode 2.2.7 sandboxes. Rollout correctness rose steadily to a peak of 66.0% (0.667 reward) in steps 61 to 70, then declined to 48.0% in steps 71 to 76 as off-policy sample staleness climbed from 5.30 to 7.23. Before touching the held-out 49 tasks, we swept candidate checkpoints on Gate B (Terminal-Bench 2.1 indices 0 to 39): step 70 won cleanly at 18/40 (45.0%, 4 timeouts) against 15/40 (37.5%) for Base, step 60 and step 76. On the untouched 49 tasks (indices 40 to 88), step 70 still gained +4.1 points (38.8% to 42.9%) and cut median wall time from 777 s to 481 s.

Left: 10-step rolling RL rollout correctness peaking at 66.0% in steps 61 to 70 before dipping to 48.0% in steps 71 to 76. Right: Gate B 40-task Terminal-Bench 2.1 sweep confirming step 70 at 45.0% with 4 timeouts.
Training rollout correctness (left) and paired 40-task Gate B Terminal-Bench 2.1 sweep (right) both peak at step 70. Download the chart as PNG or SVG.
Gate B paired 40-task checkpoint sweep (TB 2.1 indices 0 to 39)
CheckpointPass rate (40)TimeoutsMean / med toolsMean / med total tokMean / med wall
Base (effort=none)15/40 (37.5%)817.1 / 11.515,458 / 3,665640.7 s / 324.2 s
Step 60 (effort=none)15/40 (37.5%)724.1 / 1419,887 / 7,654724.9 s / 474.4 s
Step 70 (effort=none)18/40 (45.0%)418.6 / 14.517,226 / 4,806561.2 s / 325.5 s
Step 76 (effort=none)15/40 (37.5%)717.2 / 1018,340 / 5,954648.3 s / 368.1 s
10-step rolling Async GRPO training progression
StepsRolloutsGroupsMean rewardCorrectnessMean toolsTool fail %Mean staleness
1 to 10293410.57353.0%12.0832.7%2.06
11 to 20268420.54251.2%12.3333.5%3.72
21 to 30261420.59060.9%12.0433.9%5.34
31 to 40247430.56953.3%10.5330.4%5.40
41 to 50272470.62862.1%9.2228.1%5.17
51 to 60281470.65258.1%9.4529.4%5.54
61 to 70280490.66766.0%10.3330.9%5.30
71 to 76186300.53948.0%8.8932.9%7.23

Held-out generalization on SWE-rebench-V2.1

To check whether terminal-environment RL caused forgetting on multi-file Python repository issue fixing, we evaluated Base (effort=none) and Adapter step 70 (effort=none) on 50 held-out SWE-rebench-V2.1 tasks inside OpenCode 2.2.7. Five tasks failed Docker container initialization on both arms (0 tool calls, 0 generated tokens) even after retry, leaving 45 valid paired environments. On those 45 valid tasks, Base solved 35/45 (77.8%) and Adapter solved 33/45 (73.3%): a statistical tie (-4.4 pts, +2/-4, 95% CI +/-10.6 pts, McNemar p=0.688). On the 31 shared solves, the adapter still cut median tokens by -21.2% (5,371 to 4,234).

DSpark speculative decoding on 1x H200

Because the LoRA adapter updates only attention projections (q_proj, k_proj, v_proj, o_proj) while leaving the MoE feed-forward layers and LM head frozen, Intuit’s public speculative drafter (intuit/Inkling-2-Mini-dspark, k=7) works out of the box with zero retraining. Live on 1x NVIDIA H200 SXM5 (TP=1, effort=none, 8 coding prompts), Adapter + DSpark reaches 214.3 tok/s solo (2.12x vs Base without spec, 1.88x vs Adapter without spec), 602.9 tok/s at 4 concurrent users, and 1,499 tok/s at 16 users, retaining 93.7% to 96.5% of the base drafter’s mean accepted tokens per step.

DSpark speculative decoding throughput on 1x H200 (TP=1): Adapter + DSpark hits 214 tok/s at 1 user (2.12x vs Base), 603 tok/s at 4 users, and 1,499 tok/s at 16 users with 94-97% accept-length retention.
Live 1x H200 (TP=1) speculative decoding throughput with intuit/Inkling-2-Mini-dspark (k=7) and zero drafter retraining. Download the chart as PNG or SVG.
1x H200 (TP=1) DSpark speculative decoding throughput
ConcurrencyBase (no-spec)Adapter (no-spec)Base + DSparkAdapter + DSparkSpeedup vs BaseAccept len (Base -> Adapter)
1 user101.1 tok/s113.7 tok/s261.2 tok/s214.3 tok/s2.12x2.52 -> 2.36 (93.7%)
4 users459.0 tok/s389.2 tok/s457.3 tok/s602.9 tok/s1.31x2.54 -> 2.45 (96.5%)
16 users883.2 tok/s1157.9 tok/s1774.8 tok/s1498.7 tok/s1.70x2.48 -> 2.39 (96.4%)

What we did

  • Base model and LoRA: thinkingmachines/Inkling-2-Mini (30B total / 3B active MoE) with an attention-only LoRA (r=32, alpha=64, q/k/v/o_proj, 192 tensors, 53.5 MB PEFT/vLLM adapter and 26.8 MB FP16 GGUF LoRA for llama.cpp).
  • Online RL stack: TRL AsyncGRPO + OpenEnv + Harbor + safeagents running live OpenCode 2.2.7 agents in isolated Docker containers on 8x NVIDIA H200 SXM5 (2 GPUs running vLLM TP=2 rollouts, 6 GPUs running DDP LoRA updates).
  • Training mix and settings: 1,050 unique container tasks (750 harness-hub/scale800-harbor + 300 harness-hub/termgrade-train-harbor), reasoning_effort="none", temperature=0.8, lr=2e-5, 6 generations per task group, 131,072 max context length.
  • Paired evaluation protocol: Full 89-task Terminal-Bench 2.1 (8,192 MB container RAM, 1,800 s cap) and 50-task SWE-rebench-V2.1 inside OpenCode 2.2.7, plus live 1x H200 DSpark throughput sweep across concurrencies 1, 4 and 16.

Caveats

  • Single-seed variance on 89 tasks. At N=89, single-seed paired accuracy differences carry a 95% CI half-width of +/-8.5 to +/-9.0 points. Multi-seed runs would be needed to establish statistical significance on accuracy alone, even though the +5.6 point gain holds across both Gate B (0..39) and held-out (40..88) halves.
  • No accuracy gain on out-of-distribution SWE-rebench. Training used terminal and CLI container tasks rather than multi-file Python repository issue fixing; on SWE-rebench the adapter tied Base (p=0.688) while using 21.2% fewer median tokens on shared solves.
  • Five unbootable SWE-rebench containers. Five of 50 SWE-rebench tasks failed container startup on both arms (0 tools, 0 tokens); both valid45 and all50 rows are published in summary.csv.
  • Single-harness adaptation. Trained and measured inside OpenCode 2.2.7; transfer to other agent harnesses was not tested here.
  • Over-training past step 70. Training beyond step 70 increased off-policy staleness (5.30 to 7.23) and dropped both training correctness (66.0% to 48.0%) and Gate B accuracy (45.0% to 37.5%).

Open weights, raw evals and downloads

The trained adapter (PEFT, vLLM LoRA, and llama.cpp GGUF LoRA under Apache-2.0) and all sanitized per-task evaluation JSONs are published publicly on Hugging Face at spheron/Inkling-2-Mini-opencode-adapted. Every table and chart on this page is rebuilt directly from these derived CSVs (under CC BY 4.0):

  • summary.csvPass rate, timeouts, tool calls, generated/reasoning tokens and wall-clock time across Terminal-Bench 2.1 (all 89 and held-out 49) and SWE-rebench-V2.1 (valid 45 and all 50).
  • paired_comparisons.csvPaired per-task deltas, 95% confidence intervals, gained/lost counts, exact two-sided McNemar p-values and shared-solve work reductions across every contrast.
  • gate_b_sweep.csvPaired 40-task Gate B checkpoint selection sweep on Terminal-Bench 2.1 indices 0 to 39 (Base, step 60, step 70, step 76).
  • tb21_tasks.csvPer-task outcomes, tool counts, turn counts, token breakdowns and wall times for all 89 Terminal-Bench 2.1 tasks across all three arms (267 rows).
  • swe_rebench_tasks.csvPer-task outcomes and container validity flags across 50 held-out SWE-rebench-V2.1 tasks for Base and Adapter (100 rows).
  • training_buckets.csv10-step rolling Async GRPO training progression across 1,050 unique tasks (rollouts, reward, correctness, tool failure rate and staleness).
  • dspark_throughput.csvLive 1x H200 (TP=1) speculative decoding throughput and acceptance length with intuit/Inkling-2-Mini-dspark at concurrencies 1, 4 and 16.

The full report, analysis script, charts and derived CSVs are in the public research repo.

How to cite this study

The URL will not change. Corrections bump the version and add a dated line under Changes, with the old numbers left visible.

Citation
Spheron Research (2026). Can a 53 MB LoRA adapter match high-reasoning coding accuracy inside OpenCode with reasoning off? Inkling-2-Mini harness adaptation. Measured 3-5 Dec 2026, published 5 Dec 2026, version 1.
https://www.spheron.network/research/inkling-2-mini-opencode-adapter/
Raw data: https://github.com/spheronai/research/tree/main/2026-12-05-inkling-2-mini-opencode-adapter
BibTeX
@misc{spheron2026inklingopencodeadapter,
  author       = {{Spheron Research}},
  title        = {Can a 53 MB LoRA adapter match high-reasoning coding accuracy inside OpenCode with reasoning off? Inkling-2-Mini harness adaptation},
  year         = {2026},
  note         = {Measured 3-5 Dec 2026, published 5 Dec 2026, version 1},
  howpublished = {\url{https://www.spheron.network/research/inkling-2-mini-opencode-adapter/}}
}

Changes to this study

  • 5 Dec 2026: version 1.

Related studies: Study 4 (Qwen3.8-27B thinking-mode quantization) and Study 3 (GLM-5.3-Flash coding agent quantization).

// Spheron Research

Train and serve coding-agent LoRAs on H200

Reproduce this study or serve spheron/Inkling-2-Mini-opencode-adapted with DSpark speculative decoding at 214 tok/s solo and 1,499 tok/s at 16 users on 1x NVIDIA H200 SXM5.

Browse H200 GPUs
→
Or talk to our team
Spheron GPU instance going live and linking data centers across the globe