RightNow-Mini / README.md
Jr23xd23's picture
Upload README.md
708a220 verified
|
Raw History Blame Contribute Delete
10.2 kB
---
license: apache-2.0
base_model: thinkingmachines/Inkling-2-Mini
language:
- en
pipeline_tag: text-generation
tags:
- code
- coding-agent
- speculative-decoding
- moe
---
# RightNow Mini
![RightNow Mini, a new model built on Inkling 2 Mini: same weights, new results. Tokens per second on one stream and one GPU: Inkling 2 Mini with the plain engine 257, RightNow Mini 729. Coding tasks fixed of 100: Inkling 2 Mini with one attempt 75, RightNow Mini with 32 attempts 92.](https://huggingface.co/RightNowAI/RightNow-Mini/resolve/main/assets/announce.png)
RightNow 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 Mini
Both 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 is
RightNow 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`.
## Speed
![729 tokens per second for RightNow Mini on one stream. Inkling 2 Mini on public engines: 257 with the plain engine and 548 with its own fast recipe.](https://huggingface.co/RightNowAI/RightNow-Mini/resolve/main/assets/speed.png)
We 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.
## Coding
![92 percent of 100 SWE-bench Verified tasks fixed by RightNow Mini deep mode with 32 attempts. One attempt: 75 percent. 8 attempts: 90 percent.](https://huggingface.co/RightNowAI/RightNow-Mini/resolve/main/assets/coding.png)
We 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 |
![More attempts, more tasks fixed, of 100: 75 with 1 attempt, 81 with 2, 86 with 4, 90 with 8, 90 with 16, 92 with 32.](https://huggingface.co/RightNowAI/RightNow-Mini/resolve/main/assets/attempts.png)
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 it
You need one GPU, Docker and the Hugging Face CLI.
```bash
# the original Inkling 2 Mini weights, the published draft model, and this repository
hf download thinkingmachines/Inkling-2-Mini --local-dir model
hf download incoai/Inkling-2-Mini-DFlash2 --local-dir drafter
hf download RightNowAI/RightNow-Mini --local-dir rightnow-mini
# an OpenAI-compatible server on port 8000, model id: rightnow-mini
MODEL_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 format
python 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 mind
We 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 credit
RightNow 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 AI
We 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