Upload README.md
Browse files14 unmodified lines1516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215314 unmodified lines**The same open weights as Inkling 2 Mini, at 2.83 times the speed on one GPU, and 92 of 100 SWE-bench Verified tasks fixed with deep mode, where one attempt fixes 75.**<sub>Built on [Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) by Thinking Machines Lab. Apache-2.0. Released by RightNow AI.</sub>- **729.6 tokens per second on one stream.** The plain engine gives 257.7 and vLLM's own fast recipe 548.0, on the same GPU.- **92 of 100 coding tasks fixed with deep mode.** It runs 32 attempts and returns one answer. One attempt fixes 75. Opus 5.5 fixes 94 in one attempt.- **Open and checkable.** Apache-2.0, one command to serve it, and every script and raw result in this repository.Everything here was measured on 2026-12-01 on one node with NVIDIA B300 GPUs, one GPU per model server. The files that produced each number are in `results/`.## RightNow Mini and Inkling 2 Mini, side by side| | Inkling 2 Mini | RightNow Mini | Change ||---|---|---|---|| Weights | 20.19 GB | the same file, unchanged | Same || Tokens per second, one stream | 257.7 | **729.6** | 2.83 times || Tokens per second, 64 streams in total | 6,579 | **10,323** | 1.56 times || Coding tasks fixed of 100, one attempt | 75 | 75 | Same || Coding tasks fixed of 100, deep mode with 8 attempts | no deep mode | **90** | 15 more tasks || Coding tasks fixed of 100, deep mode with 32 attempts | no deep mode | **92** | 17 more tasks || Time to first token | 42.0 ms | 47.8 ms | 5.8 ms slower || Same tokens as the plain engine | yes | no, 6 of 200 prompts | See Speed |The Inkling 2 Mini column is the stock setup: the plain engine its card names. One attempt is the median of 32 passes at temperature 0.8, and it is the same for both because the weights are the same.**What this is, plainly.** The model's weights are Inkling 2 Mini's, unchanged: you download them from the base repository. This repository holds no weights. It adds the engine line, deep mode, and the scripts and raw results behind every number. Two changes to the weights were tried, a fine-tune and removing rarely used experts. Neither passed its gate, so neither is shipped. The gap to a frontier model is published: Opus 5.5 resolves 94 of the same 100 tasks in one attempt.## SpeedOne B300, greedy decoding, 64 fixed coding prompts, 512 new tokens each, tokens counted by the server (`results/speed.md`).| Engine line | One stream, tokens per second | 64 streams, tokens per second in total ||---|---|---|| vLLM, no drafting | 257.7 | 6,579 || SGLang, no drafting | 224.9 | 4,983 || SGLang with the draft head in the checkpoint | 422.5 | 5,888 || vLLM with the draft head in the checkpoint | 548.0 | 8,437 || **RightNow Mini engine** | **729.6** | **10,323** |The engine is vLLM with a published draft model ([Inkling 2 Mini DFlash2](https://huggingface.co/incoai/Inkling-2-Mini-DFlash2) by incoai) that `engine/build_drafter.py` prepares in three small ways: it is given the model's normalized embeddings, the right layer list, and its logit cap is switched off. Nothing is trained. The model checks every drafted token.**It is not token-identical to the plain engine.** On 200 prompts captured one at a time, the plain engine repeats itself on 200 of 200. With drafting, 6 of 200 prompts give the same tokens as the plain engine, for vLLM's own draft-head recipe and for ours alike: on this model the engine's arithmetic for a token depends slightly on what is checked together with it, and a near tie can flip. Against vLLM's own draft-head recipe our line gives the same tokens on 123 of 200 prompts. The tables are in `results/speed.md`.## Coding100 tasks of SWE-bench Verified (a fixed draw, `eval/subset.json`), the bash-only agent mini-swe-agent 2.4.6, scored by the SWE-bench harness with the benchmark's own tests. One B300 per model server. Every score is out of 100 tasks.| Setup | Attempts per task | Resolved of 100 ||---|---|---|| Opus 5.5, through OpenRouter | 1 | 94 || Inkling 2 Mini, greedy decoding, plain vLLM | 1 | 56, 51, 45 (3 passes) || Inkling 2 Mini, temperature 0.8, RightNow Mini engine | 1 | 70 to 83, median 75 (32 passes) || **Deep mode** | 2 | **81** || | 4 | **86** || | 8 | **90** || | 16 | **90** || | 32 | **92** || Deep mode with a reviewing session | 8, and one more session for 63 of the tasks | **88** |Deep mode runs N attempts of the model at temperature 0.8 and returns one patch without seeing the benchmark's tests. If more than half of the attempts wrote the same patch, that patch wins. Otherwise the patch most attempts share wins, then the shortest (`deep/select.py`). A further step was measured: on the tasks where the attempts disagree, one more session of the model with tools reads the candidate patches, writes a reproduction, tries each candidate in the task's container and submits the final patch (`deep/review.yaml`, `tools/review_run.sh`). It resolves 88 against 90 at N=8 for plain agreement, so it is not the default.- At least one of the N attempts resolves the task for 83, 90, 94, 95, 97 of the 100 tasks at N = 2, 4, 8, 16, 32. That is an upper bound, known only from the benchmark's tests; choosing without them keeps 81, 86, 90, 90, 92.- Having the model read the candidate patches and vote did worse than plain agreement (79 at N=2, 84 at N=4, 85 at N=8, 86 at N=16), so deep mode does not use it.- Time: with the GPU to itself, one task with 8 attempts side by side took 1.1 to 8.4 minutes (median 4.9) on the first 5 tasks of the subset. Larger N was not timed alone. `results/deep.md` has the times of the batch runs, where each GPU served 60 sessions at once.- Scores at temperature 0.8 move from pass to pass; the table gives the range. Opus 5.5 was run once, with the provider's default sampling.## Run it```bash# the model's weights (unchanged Inkling 2 Mini), the published draft model, and this repositoryhf download thinkingmachines/Inkling-2-Mini --local-dir modelhf download incoai/Inkling-2-Mini-DFlash2 --local-dir drafterhf download RightNowAI/RightNow-Mini --local-dir rightnow-mini# one GPU, an OpenAI-compatible server on port 8000 (model id: rightnow-mini)# the first start prepares the draft model next to its folder (about a minute), later starts reuse itMODEL_DIR=$PWD/model DRAFTER_DIR=$PWD/drafter bash rightnow-mini/engine/serve.sh```For agent work, sample: send `temperature` 0.8 (the model's own default is 1.0). With greedy decoding this model often repeats one command until its step limit.Deep mode for coding agents, as scored above, is N runs of your agent against that server and then one call:```bash# attempts/att-1/preds.json ... attempts/att-8/preds.json, in the SWE-bench predictions formatpython rightnow-mini/deep/select.py --attempts attempts --n 8 --mode agree --url http://127.0.0.1:8000 --model rightnow-mini --out chosen````deep/server.py` wraps the same idea for a single chat request as the model id `rightnow-mini-deep` (N sampled answers, the shared one wins, otherwise the model votes). It is tested for function (`tests/test_deep.py`) and was not scored.## What is in this repository| Path | What ||---|---|| `engine/` | One command that serves the model with an OpenAI-compatible API (`engine/serve.sh`) || `deep/` | Deep mode: N attempts, then one answer || `demo/` | A side-by-side page: the same coding task on two models, with live speed and a clock || `eval/`, `train/`, `tools/` | The scripts behind every number here || `results/` | Five result files, and every raw file behind them in `results/data.zip` || `assets/` | The pictures on this page |## What did not passThis release was built against gates set before the work started. These failed, as measured.- **Token-identical speed-up** (gate: 200 prompts, no token difference from the plain engine). 6 of 200 prompts are identical with drafting. vLLM's own draft-head recipe fails the same way (6 of 200). The engine is published with this said; `DRAFT=0` gives the plain engine.- **1,000 tokens per second on one stream** (target). Measured: 729.6.- **Faster than Strata on the same GPU** (gate). Not measured: Strata is a desktop engine with its own re-quantized packs and was not run on this node.- **A fine-tune that beats the stock model** (gate: every fine-tuned greedy pass above every stock pass). The stock passes scored 56, 51, 45; fine-tuning on the model's own passing attempts, round 1 scored 40, 50, 48 and round 2 scored 45, 35. The fine-tuned weights are not shipped (`results/train.md`).- **A smaller model with the same score** (gate: within the unpruned model's range). Keeping 96 of 128 experts per layer (16.3 GB instead of 20.2) scored 67, 66 against 70 to 83; keeping 64 (12.4 GB) scored 5, 5. Nothing was retrained after pruning. The pruned weights are not shipped (`results/size.md`).- **Matching Opus 5.5** on this subset. One attempt: 75 at the median. Deep mode: 92 at best (32 attempts). Opus 5.5: 94.## Limits- **Measured on one day.** One node, one GPU type, one benchmark subset of 100 tasks. A different subset or agent will move the scores. Opus 5.5 was run once.- **The weights are the base model's.** What is new here is how the model is served and used.- **Drafting changes the tokens.** The model still decides each one, but the text is not the plain engine's text (see Speed).- **Deep mode costs N times the compute**, and it chooses by agreement between attempts: it cannot see the task's tests.- **Speed was measured on short coding prompts.** Agent sessions with long contexts ran at 1,000 to 1,700 output tokens per second per GPU, summed over the sessions sharing it, on the plain engine in our own runs.- The base model's limits apply: see its card, including its Model Acceptable Use Policy.## Licence and creditApache-2.0. RightNow Mini is built on Inkling 2 Mini by Thinking Machines Lab, whose licence and notices are kept (`LICENSE`, `NOTICE`). The engine runs vLLM and uses the draft model Inkling 2 Mini DFlash2 by incoai (Apache-2.0), which it prepares on your machine; neither is redistributed here. Measured with mini-swe-agent, the SWE-bench harness and SWE-smith. `docs/licenses.md` lists each source with its licence and revision.## About RightNow AIBring any Hugging Face model. RightNow AI tunes it down to the GPU kernel and hosts it on private infrastructure, with zero data retention by default. RightNow AI is a YC-backed GPU research lab.https://www.rightnowai.co14 unmodified lines1516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015114 unmodified linesRightNow Mini runs Inkling 2 Mini 2.83 times faster on one GPU. Its deep mode fixes 92 of 100 SWE-bench Verified coding tasks, where a single attempt fixes 75. The weights are the original ones.We took the open model from Thinking Machines Lab and worked on everything around it. The engine serves it at 729 tokens per second on one stream, where the plain engine gives 257. Deep mode runs a coding task up to 32 times and keeps the patch that the runs agree on. Everything is in this repository under Apache-2.0, including the scripts and the raw results behind each number.<sub>Built on [Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) by Thinking Machines Lab. Measured on 2026-12-01.</sub>## How it compares with Inkling 2 MiniBoth columns use the same weights on the same GPU. The left column is the stock setup that the model's own card describes. The right column is this repository.| | Inkling 2 Mini | RightNow Mini | Difference ||---|---|---|---|| Tokens per second, one stream | 257.7 | **729.6** | 2.83 times faster || Tokens per second, 64 streams together | 6,579 | **10,323** | 1.56 times more || Coding tasks fixed out of 100, one attempt | 75 | 75 | The same || Coding tasks fixed out of 100, deep mode with 8 attempts | no deep mode | **90** | 15 more tasks || Coding tasks fixed out of 100, deep mode with 32 attempts | no deep mode | **92** | 17 more tasks || Model weights | 20.19 GB | the same file | Unchanged |One attempt scores the same on both sides because the model is the same. We measured it at temperature 0.8 on the RightNow Mini engine. The gain in speed comes from the engine, and the gain in coding comes from deep mode.## What RightNow Mini isRightNow Mini is Inkling 2 Mini, set up to do coding work fast on a single GPU. It has two parts.The engine is one script. It starts an OpenAI-compatible server that drafts several tokens ahead with a small helper model, and Inkling 2 Mini checks every drafted token before it is sent. That is where the speed comes from.Deep mode is a way to use the model. You run your coding agent on a task several times and keep the patch that most runs agree on. It needs no test suite and no second model.The weights are the original Inkling 2 Mini weights, and you download them from the Thinking Machines repository. We also tested a fine-tuned copy and two smaller copies of the model. None of them beat the original, so the original is what RightNow Mini runs. Those results are in `results/train.md` and `results/size.md`.## SpeedWe measured each engine line on one GPU with the same 64 coding prompts, 512 new tokens per prompt and greedy decoding. The server counts the tokens. The full table is in `results/speed.md`.| Engine line | One stream, tokens per second | 64 streams, tokens per second in total ||---|---|---|| vLLM without drafting | 257.7 | 6,579 || SGLang without drafting | 224.9 | 4,983 || SGLang with the model's own draft head | 422.5 | 5,888 || vLLM with the model's own draft head | 548.0 | 8,437 || **RightNow Mini engine** | **729.6** | **10,323** |The RightNow Mini engine is vLLM with speculative decoding. A small draft model, [Inkling 2 Mini DFlash2](https://huggingface.co/incoai/Inkling-2-Mini-DFlash2) by incoai, proposes the next few tokens, and Inkling 2 Mini accepts or rejects each one. The script `engine/build_drafter.py` prepares that draft model for vLLM in three steps. It gives the draft model the normalized embeddings of Inkling 2 Mini, it sets the list of layers that the draft model reads, and it switches off the draft model's logit cap. Nothing is trained.Drafting changes the exact wording. Inkling 2 Mini still chooses every token, but when two tokens are almost tied, the choice can depend on which tokens are checked in the same step. On 200 test prompts, 6 came out token for token the same as without drafting, and vLLM's own draft-head recipe gives the same 6 of 200. If you need the exact text of the plain engine, start the server with `DRAFT=0`. The first token also arrives 5.8 milliseconds later, at 47.8 milliseconds where the plain engine takes 42.0.## CodingWe used 100 tasks from SWE-bench Verified, drawn once at random and listed in `eval/subset.json`. The agent is mini-swe-agent 2.4.6, which gives the model one tool, a bash shell. The benchmark's own tests decide whether a task is fixed.| Setup | Attempts per task | Tasks fixed out of 100 ||---|---|---|| One attempt | 1 | 75, the median of 32 runs that range from 70 to 83 || Deep mode | 2 | 81 || | 4 | 86 || | 8 | 90 || | 16 | 90 || | 32 | **92** || Opus 5.5, for reference | 1 | 94 |Deep mode works like this. The agent attempts the task several times at temperature 0.8. If more than half of the attempts produce the same patch, that patch is the answer. Otherwise the answer is the patch that the most attempts share, and a tie goes to the shorter patch. Deep mode never sees the benchmark's tests. The code is `deep/select.py`.With 32 attempts, RightNow Mini comes within 2 tasks of Opus 5.5, which fixed 94 of the same 100 tasks in one attempt. We ran Opus 5.5 once, through OpenRouter, with the same agent.There is more to gain. Among the 32 attempts, at least one is correct for 97 of the 100 tasks, and picking by agreement finds 92 of them.Counting agreement beat the more elaborate ways of picking that we tried. Asking the model to read the candidate patches and vote fixed 79, 84, 85 and 86 tasks with 2, 4, 8 and 16 attempts. Giving the model a full review session with tools fixed 88 tasks with 8 attempts, where agreement fixed 90.Deep mode costs as many times the compute as it makes attempts. With a GPU to itself, 8 attempts at one task took between 1.1 and 8.4 minutes, and 4.9 minutes at the median.Use temperature 0.8 for agent work. With greedy decoding the model often repeats one command until it runs out of steps, and it fixed 56, 51 and 45 tasks in 3 greedy runs.## Run itYou need one GPU, Docker and the Hugging Face CLI.```bash# the original Inkling 2 Mini weights, the published draft model, and this repositoryhf download thinkingmachines/Inkling-2-Mini --local-dir modelhf download incoai/Inkling-2-Mini-DFlash2 --local-dir drafterhf download RightNowAI/RightNow-Mini --local-dir rightnow-mini# an OpenAI-compatible server on port 8000, model id: rightnow-miniMODEL_DIR=$PWD/model DRAFTER_DIR=$PWD/drafter bash rightnow-mini/engine/serve.sh```The first start prepares the draft model, and later starts reuse it.To use deep mode, run your agent several times against that server and then pick one answer:```bash# attempts/att-1/preds.json ... attempts/att-8/preds.json, in the SWE-bench predictions formatpython rightnow-mini/deep/select.py --attempts attempts --n 8 --mode agree --url http://127.0.0.1:8000 --model rightnow-mini --out chosen```The file `deep/server.py` offers the same idea for a single chat request, under the model id `rightnow-mini-deep`. It has a test in `tests/test_deep.py`, and we have not scored it on a benchmark.## What is in this repository| Path | What it holds ||---|---|| `engine/` | The script that serves the model with an OpenAI-compatible API || `deep/` | Deep mode: several attempts, then one answer || `demo/` | A page that runs one coding task on two models side by side, with live speed and a clock || `eval/`, `train/`, `tools/` | The scripts behind every number on this page || `results/` | Five result files, and the raw data behind them in `results/data.zip` || `assets/` | The pictures on this page |## What to keep in mindWe measured everything in one day, on one machine, with 100 tasks. Every speed on this page comes from the same single GPU, so a different GPU will give different speeds. A different task set or a different agent will give different scores.Deep mode costs as many times the compute as it makes attempts. It picks the answer that most attempts agree on, so when most attempts make the same mistake, it returns that mistake.The limits of Inkling 2 Mini apply here as well, and so does its Model Acceptable Use Policy.## Licence and creditRightNow Mini is released under Apache-2.0. It is built on Inkling 2 Mini by Thinking Machines Lab, and it keeps that model's licence and notices in `LICENSE` and `NOTICE`. The engine runs vLLM and uses the draft model Inkling 2 Mini DFlash2 by incoai, which it prepares on your machine. Neither is redistributed here. We measured with mini-swe-agent, the SWE-bench harness and SWE-smith. The file `docs/licenses.md` lists each source with its licence and revision.## About RightNow AIWe built RightNow Mini to show what careful serving work does for an open model.Bring any Hugging Face model. RightNow AI tunes it down to the GPU kernel and hosts it on private infrastructure, with zero data retention by default. RightNow AI is a YC-backed GPU research lab.https://www.rightnowai.co
README.md+67-69