- The outcome: Qwen3.5-4B with a router and six weight files beat Qwen3.5-35B-A3B, a mixture of experts with 35B weights, on 3,548 fresh questions: 84.4 against 82.4. In llama.cpp it gave 112 correct answers per minute in 10.9 GB, against 70 in 25.2 GB.
- Why that matters: a 4B is small enough for an ordinary laptop. Its weights are 4.6 GB at 8-bit, against 21.7 GB for the 35B at 4-bit, and for every GB of memory it gave 3.7 times the correct answers. That's the model a gateway like the one in Orchestrator Zero could send the routine calls to.
- How: Claude Opus 5.5 uses weight-space programming to write a weight file per family of questions, with no training, and a router hot-swaps the right one in per question: a written file takes 0.07 ms. Three families, labels, extraction and reading, got a trained file instead, because training teaches a task that writing couldn't.
- Written weights alone, with no training at all, took the 4B 2.7 points past Qwen3.5-9B, a model twice its size, on the fresh questions.
- New here: a library of written files beat one file written for every family, by 1.7 points. No written file broke its family the way training did. And Fable 5.2, a newer writer, tied Opus 5.5 under the same budget.
- A second model is optional: with the router sending knowledge, code and commonsense to the mixture of experts, the pair scored 86.5. That's 2 points more, for 3.4 times the memory.
- The limit: files fix how a model answers and teach it tasks. They don't add knowledge. More weights do.
- Weights: the numbers a model is made of. They decide which token it writes next. A 4B model has about 4 billion.
- Weight-space programming: changing a model's weights directly, by reading and editing them like code, instead of training them.
- Weight file: what Opus 5.5 writes. It holds only the weights it changes and where they go, from a few hundred bytes to 9 MB here. It isn't a model.
- Family: a group of questions that need the same kind of help and share one weight file. There are seven: labels, extraction, reading, math, code, commonsense and knowledge.
- Router: a small classifier on the CPU that reads a question and picks its family.
- Hot-swap: putting a weight file into the running model, or taking it out, between questions, without reloading the model.
- Training, LoRA: the usual way to change a model: learn from many examples with gradients. A LoRA adapter is a small trained add-on. Converted to the same format as a written file, it hot-swaps the same way: a trained file.
- Engine: the software that runs a model. Here transformers, a research library, and llama.cpp, which is built for serving.
- Mixture of experts (MoE): a model whose layers hold many small expert networks, of which only a few run for each token. Qwen3.5-35B-A3B has 35B weights and uses about 3B per token.
- 8-bit, 4-bit: storing each weight in fewer bits than the usual 16 (bf16). The model gets smaller and faster, sometimes at a cost in score.
- Thinking mode, thinking gate: Qwen3.5 can reason between
<think>and</think>before it answers. The thinking gate is a file that tells it when to stop. - Fresh questions: 3,548 questions from the same sources as the test sets that no file, router or decision had touched, used in test 9.
- Correct answers per minute per GB: how many right answers a system gives per minute for each GB of memory it holds. The measure of what it costs to run.
The goal
Running a language model has a cost built in. To answer any question, the whole model sits in GPU memory, even when the question only needs a small part of what the model can do. A bigger model means a bigger machine, fewer questions per GPU and more money per answer.
I'm building Orchestrator Zero (oz0), which runs jobs on machines you control and sends every model call through one gateway. The gateway sees each call before any model does, so it's the natural place to decide which model should answer it. And many calls are routine: pull the fields out of a document, sort a message into a category, answer from a passage, do some arithmetic, write a small function. If a small model could answer those as well as a big one, the gateway could send them to modest hardware and keep the big model for the rest.
I use big models for everything hard, and nothing here changes that. This is about the routine calls. So this research had one goal:
In numbers: Qwen3.5-4B, with help, against Qwen3.5-9B. Partway through, the bar moved up to Qwen3.5-35B-A3B, a mixture of experts with 35B weights.
The size is the point. A 4B's weights are 4.6 GB at 8-bit, which an ordinary laptop can hold. The 9B's are 9.8 GB, and the 35B's are 21.7 GB even at 4-bit.
The idea: program the weights, swap them per question
A model is its weights: billions of numbers that decide which token it writes next. Normally you change them by training, with lots of examples, gradients and compute.
On 2 November, MIT CSAIL published Sparks of Weight-Space Programming. Weight-space programming means a model reads and writes another network's weights directly, the way you'd edit code, instead of training them. In their language-model example, GPT-6 Astra studied the weights of Qwen3.5-0.8B, found a direction in two MLP layers that keeps the model looping while it reasons, and removed it. It changed 0.016% of the weights, with no training, and the model's MATH-500 score went from 7.9 to 48.1.
That post is about one edit to one model. I read it as a way to run models. If a big model can program weights, a small model doesn't need to be good at everything. It only needs the right weights for the question in front of it.
Today one big model answers every question. The goal: a big model programs small weight files once, and a small model hot-swaps in the right one for each question.
- Program, once. Claude Opus 5.5 writes one weight file per family of questions: math, code, extraction and so on. A weight file isn't a model. It holds only the weights it changes and where they go, usually a few kilobytes.
- Route, per question. A router, a small classifier on the CPU, reads the question and picks its family. In oz0 it would sit in the gateway.
- Hot-swap, per question. That family's file goes into the running model before it answers, without reloading anything. A question no file fits gets the plain model.
The router is a trick I've used before. In Let the LLM read. Let math decide., a small classifier on the CPU sorted each CV into one of ten domains before an LLM read it, and the domain decided which extraction rules went into the prompt. This is the same trick one level down: the router picks the family, and the family decides which weights go in. The lesson from that post holds too: do the expensive work once, and keep the work per question cheap. Opus 5.5 is the expensive part, and it only programs files. It never answers a question.
What's new here, and what isn't
Weight-space programming moves fast. In the four days after the MIT post, dozens of follow-up repos appeared (here's a running list). Before publishing, I had two research agents search arXiv, GitHub, Hugging Face, X, Reddit, Hacker News and LessWrong for anyone who had already done what this post claims, and I checked their key sources myself.
Some of it others did first. Several replications have Opus 5.5 edit Qwen3.5 models: one of them took the 0.8B's MATH-500 score from 8.4 to 40.0 by scaling up 4 neurons, and another found its edits beat LoRA at writing new facts into a model. Libraries of steering vectors routed per input exist too, just not written by an LLM: RISER, IBM's CAST and the UK AI Security Institute's vllm-lens. And others showed that much of the MIT edit's gain comes from answers finishing in time: a skeptical replication recovered about 79% of it with a simple steering direction and no LLM.
Here is what I couldn't find anywhere, as of 6 November 2026:
| Question | What these tests found |
|---|---|
| Can one model program a library of files, one per family of questions, for several model sizes? | Yes. Opus 5.5 wrote seven family files each for a 0.8B, a 2B and a 4B. |
| Can LLM-written files be hot-swapped per question by a router, with several in one batch? | Yes. A swap takes 0.07 ms, and seven installed files cost 0.5 GB and 6% of the time. The one replication that tried to hot-reload a single edit into vLLM couldn't. |
| How do LLM-written files compare with LoRA across many families of reasoning and QA tasks? | Training wins where a task has to be learned. In these runs no written file wrecked its family the way a trained adapter did. |
| Do LLM-written files also help on a similar task they weren't written for? | Mostly not: 1 of 7 families on the 0.8B, 2 of 7 on the 2B. |
| Is a library of LLM-written family files better than one general file written by the same LLM? | Yes, by 1.2 points, and by 1.7 on fresh questions. The family files that gain the most edit the inside of the model, and the general file only edited the output layer. |
| Does a newer, stronger writer write better files under the same budget? | Not overall. Fable 5.2 at extra high effort tied Opus 5.5 (81.0 against 80.5 on fresh questions), winning labels and losing extraction. |
| Can a small model with LLM-written files match a bigger model of its own family, per GB? | A 4B matched a 9B with 3.2 times the correct answers per minute per GB, and beat it by 2.7 points on fresh questions. A 2B didn't match a 4B. Others have shown this with trained adapters (LoRA Land), not with written ones. |
So the new part is the system: one model programming a library of edits, one per family, across three model sizes, hot-swapped per question and measured the way a server would measure it. The single edits, the "mostly finishing in time" pattern and the first written-against-trained comparisons, others published first.
The setup
Claude and I tested this on my laptop, an ASUS ProArt PX13 with a Ryzen AI Max+ 395, whose Radeon 8060S GPU shares 57 GB of RAM with the rest of the machine. I decided what to test, and Claude wrote most of the code, ran the tests and worked through the results.
- The models: Qwen3.5 in four sizes, 0.8B, 2B, 4B and 9B, in bf16 unless I say otherwise. The B stands for billions of weights. Test 4 added Qwen3.5-35B-A3B.
- Seven families of questions: labels (sorting text into categories), extraction (pulling names and values out of text), reading (answering from a passage), math, code, commonsense and knowledge. Each family has build tasks Opus 5.5 could study, and one unseen task it never saw, to check whether a file helps beyond what it was written for. That makes 20 test sets with up to 200 questions each.
- No training: no gradients, no backpropagation, no optimizer. Opus 5.5 could run the model forward, read its activations and solve for new weights in closed form. Each family had a budget: 200 build questions, 60 forward batches and 8 candidate files.
- Write, score, write again: Opus 5.5 worked in rounds. It wrote a file, scored it on validation questions, read the results and wrote the next one, and the best validation score was kept. The 4B's seven files took 1 to 4 rounds and 1 to 5 candidates each.
- The router: two classifiers voting. A TF-IDF n-gram classifier matches the words, and a bge-small embedding classifier matches the meaning: the same pairing as keyword search and vector search in the Profilon matcher. It picked the right family for 98.0% of questions from the build tasks and 90.5% from the unseen tasks. It always picks one of the seven families, and anything general counts as knowledge.
- The rules: before each test we wrote down what it would measure, what would count as a success and what we expected. Changes after that are dated amendments. Every file was frozen before its test questions ran, and none was changed after.
- For comparison: for each family I also trained a LoRA adapter on the same build data, to see what ordinary training gains.
How to read the scores
Every test set gives a score from 0 to 100. Mostly it's the share of questions answered right. For code, the program has to pass its tests. For extraction and reading, a partly right answer gets partial credit. A system's score is the average over all the test sets, each set counting the same.
What a point is worth here:
- One point is about 2 more right answers in a set of 200 questions, or about 40 more across the 20 test sets.
- Doubling the model from 4B to 9B gained only 1.1 points on these tests, and 0.1 on the fresh questions of test 9. Going from 2B to 4B gained 15. So one point is roughly what doubling a model of this size buys.
- Near the top, a few points remove a lot of mistakes. From 78 to 84, wrong answers go from 22% to 16% of all questions: about a quarter fewer.
- Luck alone moves a single set by 5 points or more, so I compare averages over many sets. Next to a difference I give its CI, the 95% confidence interval: the range the real difference most likely falls in. If it doesn't include zero, the difference is very unlikely to be luck.
How Opus 5.5 programs weights
This is the weight-space programming itself, and the part I find most fun. Opus 5.5 never trains anything. It reads the weights and activations, works out which numbers cause a problem, and changes as few as it can.
To be fair about where the cleverness sits: several of these edits use classic tools. Steering vectors date from 2023, and closed-form edits like ROME from 2022. What Opus 5.5 does is diagnose the problem, pick and combine the tools, and tune them per family within a budget.
What's inside a weight file
A weight file is not a copy of the model. The 4B has about 4 billion weights, and a file holds only the handful it changes, plus the address of each change: a safetensors file of numbers, and a metadata file that names the exact base model and revision it was written for. Each edit says three things:
- Where: the output row of a given token, the residual stream after layer 15, the MLP of layer 31.
- What: replace those numbers, or add something on top: a bias, a steering vector, a low-rank update.
- The numbers themselves.
Three of the seven 4B files. The model's own weights are loaded once and never written to. A file holds only its edits, and where each one goes.
The base model's weights are loaded once and never written to. Installing a file puts a thin wrapper around each module it touches: the module computes its normal output, and the wrapper adjusts it. Removing the wrapper restores the model exactly. That's what makes hot-swapping cheap: nothing is reloaded or restored, only the small wrappers change. And because the base model never changes, several files can be installed at once, each in its own slot. Every row of a batch picks a slot: the first question the math file, the second the extraction file, the third none. That's how one batch mixes families.
The edits
One piece of background helps. The model's output layer, the LM head, has one row of weights for every token in its vocabulary. Multiply a token's row with the model's final hidden state and you get that token's logit: the score the model gives the token before it picks one. Change a token's row, and you change how likely the model is to write it. Many of the files work there.
Zero out a bad habit. Asked for JSON with every value in quotes, the plain 0.8B kept writing bare false and null, and each of those answers scores zero. Opus 5.5 set the output rows of 16 such tokens to zero: 16,384 weights in a 33 KB file. Valid JSON went from 42% to 95% of answers, and the score from 21.5 to 53.8. A trained LoRA adapter reached 92.8, because it also learned which values the task expects.
Correct a favourite. On label tasks the plain model has favourites: given an empty input and asked for a question type, the 0.8B answers "description" 80% of the time. Opus 5.5 measured those leans and wrote a correction for each label into one weight of its output row, 4 to 6 weights per file. The question-type score went from 59.0 to 65.5 (CI +2.0 to +11.0), where a trained LoRA reached 94.0. Six weights can correct a bias. They can't teach a task.
Rename a token. The 4B's math file replaces 38 output rows, renaming tokens like "Verify" to "Final". An answer that was about to start checking itself wraps up instead.
Add an instruction without the words. The residual stream is the model's running internal state, passed from layer to layer. Run a prompt with and without an instruction, take the difference in the residual stream, add that vector back at a few layers, and the model behaves as if it had read the instruction. The 4B was losing math points by running out of tokens on LaTeX and headings, so its math file carries "be concise, plain-text arithmetic, no LaTeX, no headings, don't verify the result" as steering vectors at five layers. Together with the renames, it took the 4B from 86.5 to 90.5 on GSM8K (CI +1.0 to +7.0).
Solve for a low-rank edit. For the 4B's extraction file, Opus 5.5 solved for the smallest low-rank change to the last MLP layers that puts the right token ahead on the build questions. It did it in closed form, with one ridge regression and one SVD per layer on the model's own activations, and no gradients. The file is 9 MB, and it gained 25.5 points on CoNLL, finding names in news text.
Gate the thinking. One output row and one bias that decide when the model stops thinking. More on that in test 2.
Here are all seven files on the 4B. The middle column is the build tasks Opus 5.5 could study, the right column the unseen task in the same family.
| Family | Build tasks: plain → with file | Unseen task: change |
|---|---|---|
| Labels | 78.1 → 77.9 | DBpedia +0.0 |
| Extraction | 63.0 → 77.6 | WNUT-17 +4.1 (CI +1.4 to +6.9) |
| Reading | 89.4 → 89.4 | AdversarialQA +1.4 (CI −0.6 to +3.5) |
| Math | 86.5 → 90.5 | SVAMP +1.5 (CI −1.5 to +5.0) |
| Code | 69.5 → 70.0 | HumanEval −1.8 (CI −6.7 to +3.0) |
| Commonsense | 73.0 → 73.5 | OpenBookQA −1.5 (CI −3.5 to +0.0) |
| Knowledge | 69.5 → 69.0 | ARC-Challenge −0.5 (CI −1.5 to +0.0) |
The commonsense and knowledge files are biases on 8 to 10 tokens, under 300 bytes each. Four more are between 5 and 221 KB, and the extraction file is 9 MB. All seven together are about 0.1% of the 4B's 9.3 GB of weights.
Eleven tests toward the goal
Each test answered one question, and its answer set up the next one:
| Test | The question | The answer |
|---|---|---|
| 1 | Does hot-swapping work, and what does it cost? | Yes. A written file swaps in within 0.07 ms, and the router decides the score |
| 2 | Can Opus 5.5 written weights lift a 4B to a 9B? | Level: 79.6 against 78.9 |
| 3 | What if trained files fill in where writing falls short? | 83.9, 5.0 points above the 9B |
| 4 | What does a mixture of experts do with no files at all? | 84.0, level with the 4B and its best files |
| 5 | Can one merged file replace the hot-swapping? | No: 1.3 points lower |
| 6 | Can one file written for every family replace the library? | No: 1.2 points lower |
| 7 | Does that general file help under the family files? | No: 0.4 to 0.6 points lower |
| 8 | Do newer mixtures of experts do better? | No: Qwen3.6 tied, Gemma 4 was 3 points lower |
| 9 | Does it all hold on fresh questions, and do two models beat one? | Yes, and yes: 86.5 |
| 10 | Was the 4B slow, or my harness? | The harness: 6.3 times the correct answers per minute in llama.cpp |
| 11 | Was the writer the limit? | No: Fable 5.2 tied Opus 5.5 |
The rest of this post goes through them in that order, with tests 4 and 8 together and tests 5 to 7 together.
Test 1: does hot-swapping work?
Test 1 checked the plumbing before anything was programmed at scale: one ordinary trained LoRA adapter per task for twelve tasks on Qwen3.5-0.8B, a router on the CPU that picked the adapter for each question, and the plain Qwen3.5-4B as the bar. This first router could also say "not sure" and leave a question to the plain model.
- Swapping is cheap. A trained adapter swapped in within 3 ms from RAM and 27 ms from the SSD. The first Opus 5.5 written files, 12 to 33 KB, took 0.07 ms from RAM and 0.2 ms from the SSD: about 15,000 swaps a second. The router took 11 ms, and adding nine more adapters didn't cost the first three tasks anything.
- Small and specialised can beat big on narrow tasks. With the right adapter, the 0.8B beat the 4B on named entities by 34.6 points and on banking intents by 17.5, but stayed 50 points behind on math.
- Training can make things worse. The math adapter took GSM8K from 52.0 to 37.0. It learned the short style of the dataset's reference answers, and the plain model reasons at more length and gets more right.
- The router decides the score. A wrong adapter is worse than no adapter:
Each core adapter tested on every core task and on general knowledge questions. Score 0 to 100.
| Math (GSM8K) | Code (MBPP) | Intent (Banking77) | General (MMLU) | |
|---|---|---|---|---|
| math adapter | 37 | 6 | 31 | 2.5 |
| code adapter | 51 | 38.5 | 36 | 36.5 |
| intent adapter | 8 | 24 | 81 | 35.5 |
| No adapter | 52 | 38 | 38.5 | 37.5 |
Over 500 mixed questions, the 0.8B gave ten times the 4B's correct answers per GB, at a lower score: 74.7 against 77.0. With a better router, two classifiers voting on the whole request, it scored 77.3, level with the 4B. The plumbing worked, and the router mattered as much as the adapters. The real question was whether written weights could do the adapters' job.
Test 2: can written weights lift a 4B to a 9B?
This is the test the idea has to pass. Opus 5.5 programmed a file for each of the seven families on the 4B, as described above, with no training, and the 4B with its router and files went up against the 9B, a model twice its size. Opus 5.5 also wrote files for the 0.8B and a 2B; those come up under the limits.
| System | Score over the 20 test sets |
|---|---|
| Qwen3.5-4B + router + seven Opus 5.5 written files | 79.6 |
| Qwen3.5-9B | 78.9 |
| Qwen3.5-4B, plain | 77.8 |
The 4B with files came out level with the 9B, 0.7 points ahead (CI −0.4 to +1.7). To be fair to the 9B, the plain 4B was already close, 1.1 points behind. The files added 1.8 points (CI +1.2 to +2.4).
Mean score of each family's test sets, 0 to 100, including the task the files were never written for.
The families show a pattern that runs through every later test. The files help where the problem is how the model answers: the format, the structure, when to stop. Extraction scored 68.8 against the 9B's 56.0, and math 89.8 against 85.8. The 9B wins where the problem is what the model knows: code by 8.3 points, commonsense by 7.8 and knowledge by 5.3. No written file closed any of those gaps.
The cost
I sent the same mix of 500 questions to each system in batches of 16, the way a server groups requests, with each system alone on the GPU:
| System | Score | Time | Correct per minute | Peak memory | Correct per minute per GB |
|---|---|---|---|---|---|
| 4B + router + seven files | 77.5 | 18.0 min | 21.5 | 12.44 GB | 1.73 |
| Qwen3.5-9B | 77.8 | 33.8 min | 11.5 | 21.46 GB | 0.54 |
| Qwen3.5-4B, plain | 75.8 | 16.9 min | 22.4 | 11.90 GB | 1.88 |
Per GB, the 4B with files gave 3.2 times the 9B's correct answers per minute, router included. All seven files stay installed at once and each row of a batch uses its own, so one batch mixes families, for 0.5 GB and 6% of the time over the plain 4B. Most of the win per GB comes from the 4B simply being smaller; what the files buy is the score. And memory didn't halve, as I'd hoped. The 4B with files held 58% of the 9B's, because the runtime and the text being processed come on top of the weights.
A 5 KB thinking gate
Qwen3.5 has a thinking mode: it reasons between <think> and </think> tags first, and writes the answer after. Small models often get stuck there. They check their work, start over and check again, and run out of tokens before they answer. That's the looping the MIT edit fixed.
On the 0.8B, half of the math answers ran into the 16,384-token limit, mostly by writing "Wait" and starting over. Opus 5.5's first fix was blunt: it zeroed the output rows of the six "Wait" tokens and made the </think> row 1.6 times stronger. Math went from 49 to 55 (CI −4 to +16), with answers 16 times shorter. General knowledge went from 52 to 23: the model stopped thinking after four tokens and guessed.
So the 4B got a gate. Opus 5.5 ran the plain 4B on 64 training problems and marked the point in each trace where it already had its final answer. A ridge regression on the model's final hidden state then learned to tell "the answer is settled" from "still working", and that regression became one output row and one bias for </think>: 2,561 weights in a 5 KB file. When the answer is settled, </think> gets about +14 on its logit. While the model is still working, close to nothing.
With 3,072 tokens for thinking and answer together:
| Test set | Model | Score | Tokens per answer | Out of budget before answering | Right when it answered |
|---|---|---|---|---|---|
| GSM8K | plain 4B | 75.0 | 1,841 | 46 | 97.4% |
| GSM8K | 4B + thinking gate | 94.0 | 1,020 | 1 | 94.5% |
| SVAMP | plain 4B | 83.5 | 1,406 | 29 | 97.7% |
| SVAMP | 4B + thinking gate | 93.5 | 802 | 0 | 93.5% |
200 questions per set in thinking mode, 3,072 tokens for thinking plus answer. Each bar splits the questions into right, wrong and out of budget.
The gate used 0.56 times the tokens, and the score went up 14.5 points (CI +11.2 to +18.0), from 75.0 to 94.0 on GSM8K. SVAMP was unseen: the gate was written on GSM8K problems only. A second gate, written the same way for code, added 19.1 points on code (CI +14.6 to +23.8) with 0.60 times the tokens.
But look at the last column. The plain 4B was right more often when it did answer. The gate didn't make the model reason better. It made it stop at the first settled answer and write it down, and sometimes that was too early. With a much bigger budget, plain thinking would likely catch up, at about twice the tokens. The Coupling Tax and OpenWSP measured the same split, so this is a confirmation, not a discovery. It's still worth repeating: before calling a fix "better reasoning", check how many answers finished in time, and how many of those were right.
One more thing didn't work. Swapping from the gate to the family's answer file in the middle of an answer, at the </think> token, added 0.2 points (CI −0.9 to +1.3). By then the answer is settled, and an answer file has little left to fix.
Test 3: trained files where writing falls short
If training teaches where writing can't, why not train the files too, and hot-swap those? Swapping is just as fast either way.
So test 3 trained one file per family on the 4B, with a fixed recipe on the same build data: a LoRA adapter of rank 16 on every layer, one epoch, converted to the same file format as the written ones, about 59 MB each. Each family then had four candidates: no file, the Opus 5.5 written file, the trained file, and both stacked. Each was scored on 100 separate questions per task that nothing had touched before, and the highest score won, the cheaper candidate within 0.5 points. The picks were settled before any test question ran. Opus 5.5 wrote and tuned nothing in this test.
| System on the 20 test sets | Score |
|---|---|
| Qwen3.5-4B, plain | 77.8 |
| Qwen3.5-9B, plain | 78.9 |
| 4B + Opus 5.5 written file for every family | 79.6 |
| 4B + trained file for every family | 82.0 |
| 4B + the better file per family | 83.9 |
Trained files beat written ones by 2.4 points as a library (CI +1.3 to +3.5). Picking per family beat the written library by 4.3 (CI +3.5 to +5.1) and the trained one by 1.9. And the 4B came out 5.0 points above the 9B (CI +3.8 to +6.1), with 2.2 times its correct answers per minute per GB.
| Family | Plain 4B | Written file | Trained file | Picked |
|---|---|---|---|---|
| Labels | 81.4 | 81.0 | 90.9 | trained |
| Extraction | 57.8 | 68.8 | 78.2 | trained |
| Reading | 83.4 | 82.5 | 85.7 | trained |
| Math | 87.0 | 90.2 | 82.0 | written |
| Code | 74.7 | 71.6 | 58.1 | written |
| Commonsense | 79.2 | 79.5 | 82.5 | written |
| Knowledge | 81.0 | 82.1 | 83.0 | none |
Training won where a task has a fixed set of answers to learn: labels went from 81 to 91, and finding names in news text (CoNLL) from 48 to 90. It lost where the model's own reasoning was already better than the reference answers it trained on. The trained math file took GSM8K from 86.5 to 80.5, and the trained code file took HumanEval from 79.9 to 56.7, as test 1's math adapter had done. No written file did that kind of damage. The picks came from 100 separate questions per task, so on commonsense and knowledge they missed the file that did best on the test sets.
The cost was speed. A trained file adds a low-rank edit to every layer, and in my harness those edits run on top of the weights, not merged into them. The library with the better file per family took 1.53 times as long as the written one on the same 500 questions. That stayed open until test 10.
Tests 4 and 8: a mixture of experts
Two things had stayed the same through every test so far. Every model ran in transformers, which on this laptop reaches about a quarter of the speed the memory allows. And every model was dense: it runs all its weights for every token.
Test 4 changed both. It ran the models in llama.cpp, and added Qwen3.5-35B-A3B, a mixture of experts with 35B weights of which it uses about 3B per token. Writing speed depends on the weights read per token, so it should run like a 3B model and know like a much bigger one. The catch is memory: all 35B weights have to be loaded, 21.7 GB at 4-bit.
First a check: llama.cpp's 4B at 8-bit scored 77.7 over the 20 test sets, against 77.8 in my harness, so the scores carry over. The 4B at 8-bit wrote 43 tokens per second, 94% of what the memory bandwidth allows, and the mixture of experts 69, faster than the 4B. And it scored:
| System | Score over the 20 test sets |
|---|---|
| Qwen3.5-35B-A3B, 4-bit | 84.0 |
| Qwen3.5-4B + the better file per family (test 3) | 83.9 |
| Qwen3.5-4B + Opus 5.5 written files (test 2) | 79.6 |
| Qwen3.5-9B, bf16 | 78.9 |
| Qwen3.5-4B, 8-bit | 77.7 |
The mixture of experts beat the 4B with written files by 4.4 points (CI +3.4 to +5.4) and the 9B by 5.1 (CI +4.1 to +6.0). Against the 4B with the better file per family it was level: 0.1 points ahead (CI −1.0 to +1.2). The two got there from opposite ends:
Mean score of each family's test sets, 0 to 100. The plain 9B is there for reference.
Files teach a model formats and tasks, but more weights hold more knowledge. On code, commonsense and knowledge, the families where no written file closed the 9B's lead, the mixture of experts scored 88.8 against the 9B's 85.0. That makes a mixture of experts the cheapest way to more weights on this laptop, as long as questions come one at a time. With many at once, it changes:
| 16 requests at once | Score | Correct per minute | Memory | Correct per minute per GB |
|---|---|---|---|---|
| Qwen3.5-4B, 8-bit | 75.1 | 100.1 | 9.5 GB | 10.5 |
| Qwen3.5-9B, 4-bit | 78.3 | 70.1 | 10.0 GB | 7.0 |
| Qwen3.5-9B, 8-bit | 78.7 | 68.1 | 13.9 GB | 4.9 |
| Qwen3.5-35B-A3B, 4-bit | 81.5 | 65.8 | 25.2 GB | 2.6 |
With 16 questions in flight, the mixture of experts was no faster than the 9B, most likely because a batch of different questions calls on many different experts, so each step reads far more than 3B weights. And it holds twice the memory, so per GB it gave about half the 9B's correct answers.
Test 8 tried two newer mixtures of experts with the same pipeline. Qwen3.6-35B-A3B, the same size half a year later, scored 83.8, level with Qwen3.5 (−0.3, CI −1.0 to +0.5). Google's Gemma 4 26B-A4B scored 81.1, 3 points lower (CI −3.8 to −2.1): the best of the three at math and code, and the worst at extraction and reading. Qwen3.5-35B-A3B stayed the one to beat.
Tests 5 to 7: is the library needed?
A library needs a router and hot-swapping. If one file could carry every family, both could go, and the model could be edited once. Three tests tried:
- Test 5 merged the seven family files into one 9.3 MB file that every question gets. Where two files edit the same spot, their edits add up.
- Test 6 had Opus 5.5 write one general file for all seven families at once, with the same rules and the seven budgets together, without seeing the family files.
- Test 7 put that general file under every family file: the general file on every question, the routed family file on top.
| 4B system | 20 test sets | Fresh questions (test 9) |
|---|---|---|
| Router + one Opus 5.5 written file per family | 79.6 | 80.5 |
| Router + family file on top of the general file | 79.1 to 79.2 | – |
| One general file, no router | 78.5 | 78.7 |
| One merged file, no router | 78.3 | – |
| Plain | 77.8 | 77.7 |
The library won every time: by 1.3 points over the merged file (CI +0.7 to +1.9), by 1.2 over the general file (CI +0.5 to +1.8), and 1.7 on fresh questions, and by 0.4 to 0.6 over the stack.
Merging lost because small costs add up. A file on the wrong family's questions costs little on its own, but merged, those costs add up and each file's own gain shrinks: extraction kept 6 of its 11 points.
The general file is the interesting one. It's five small edits, 1.1 MB, all on the output layer, and two of them only switch on for one kind of question: Opus 5.5 built a detector for math and one for restaurant extraction into the edits themselves, a small router inside the weights. That part worked, and the file beat the plain 4B by 0.7 (CI +0.3 to +1.1). But it never changed the inside of the model, and that's where the two strongest family files work. Extraction's file edits 4.5 million weights inside the model, and math's steers five of its layers. Those two families make up the whole gap: 73.3 against 57.9 on CoNLL, and 90.5 against 81.5 on GSM8K. An edit inside the model reaches every question, so a file that has to keep seven families safe has a reason to stay at the output. A family file doesn't, because the router keeps it away from the other families. One run can't prove that's the reason, but it fits.
Math even went backwards: 81.5 on GSM8K against 86.5 for the plain 4B. A check afterwards pinned it on one edit, a ban on LaTeX. Without it, the general file gave exactly the plain model's answers on GSM8K. The ban had looked good on 3 validation answers, and on 200 test questions it cost 10: blocked from LaTeX, the model writes around it, longer and sometimes wrong.
The stack lost nearly all its points on extraction, where CoNLL fell from 73.3 to 68.1. Most likely the general file's fixes, written for a model without the extraction file, over-correct on top of it. A check on validation questions had let it through on a 0.3-point edge that became −3.1 on the test sets.
So the router does more than save memory. It lets each file make changes that would be too risky in a file every question gets. The general file still has a use: in an engine that can't swap files per request, merge it into the weights once.
Test 9: fresh questions, and two models
Two things were still open. Every test had used the same 20 test sets, and some tests were chosen because of what earlier tests showed on them. If I'd been tuning to those questions without meaning to, the results would look better than they are. And the best setup on paper, two models with the router choosing between them, was still an estimate.
So test 9 drew 3,548 fresh questions from the same sources, up to 200 per set, none of them in any file the earlier tests used. HumanEval has no unused problems, so 19 sets. The router was trained again the same way and reproduced every old route exactly.
| System | Fresh questions | The same 19 sets, old questions |
|---|---|---|
| Two models: the 4B with its best files, and Qwen3.5-35B-A3B | 86.5 | 86.9 (estimate) |
| Qwen3.5-4B + the better file per family | 84.4 | 84.2 |
| Qwen3.5-35B-A3B | 82.4 | 83.6 |
| Qwen3.5-4B + Opus 5.5 written files | 80.5 | 79.7 |
| Qwen3.5-4B + one general file, no router | 78.7 | 78.4 |
| Qwen3.5-9B | 77.8 | 78.7 |
| Qwen3.5-4B, plain | 77.7 | 77.7 |
Every result held, and the ones I'd worried about most got stronger. The 4B with Opus 5.5 written weights went from level with the 9B to 2.7 points ahead of it (CI +1.5 to +3.9). The library beat the general file by 1.7 instead of 1.2. If anything had been tuned to the old questions, it was the library, and the library didn't drop. The two models without any files did: the 9B by 0.9 points and Qwen3.5-35B-A3B by 1.2.
And two models beat both on their own: by 2.0 points over the 4B with its files (CI +1.3 to +2.8) and by 4.1 over Qwen3.5-35B-A3B (CI +3.2 to +5.0). The router sends knowledge, code and commonsense questions to the mixture of experts and everything else to the 4B, and each side wins its own families. That split was chosen on the old test sets after test 4; test 9 confirmed it, but tried no other.
The catch was the cost. Both models at once didn't fit: the GPU can address 35.2 GB, and the two need about 36. One try ran the machine out of memory, hard enough that the kernel killed the app running the tests. Timed one side after the other, two models took 21.6 minutes for the 500 questions, against 5.8 for the mixture of experts alone, and 20 of those minutes were the 4B side in my harness. So was the 4B slow, or the harness?
Test 10: a faster engine
llama.cpp has most of what a file needs, just not in one place. The trained files become its LoRA adapters, converted with its own tool. The written math and code files add vectors to the model's residual stream, which llama.cpp calls control vectors, but its server loads one control vector at startup for every request. So I wrote a small driver on llama.cpp's own library: 16 questions at a time, with adapters and control vectors switched between groups of questions. Commonsense's letter biases became logit biases. Math's output-row edits turned out to be 34 tokens set to zero and 4 tokens that take another token's logit, so they're two operations on the logits.
Before any test question, each file had to change the model's first answer token in llama.cpp the way it does in my harness. The five with weight edits did, with correlations from 0.985 to 0.9997, commonsense's ten biases arrived exactly, and every file gave the same top token on 16 of 16 questions. On the 20 test sets, the library then scored 84.2 in llama.cpp against 83.9 in the harness. The files carried over.
Then speed, on the same 500 questions as before:
| On the 500-question mix | Score | Time | Memory | Correct per minute per GB |
|---|---|---|---|---|
| Qwen3.5-4B + its files, llama.cpp | 85.6 | 3.8 min | 10.9 GB | 10.4 |
| Qwen3.5-4B + its files, my harness | 86.0 | 24.1 min | 15.3 GB | 1.16 |
| Two models, the 4B side in llama.cpp | 88.4 | 4.0 min | 37.3 GB | 2.98 |
| Qwen3.5-35B-A3B alone | 81.3 | 5.8 min | 25.2 GB | 2.79 |
The same files gave 6.3 times as many correct answers per minute in llama.cpp, with 71% of the memory. The slowness was my harness, not the files. And two models went from the slowest setup to faster than the big model alone: 111 correct answers per minute against 70, and a little ahead per GB as well.
Against Qwen3.5-35B-A3B alone, the 4B with its files gave 1.6 times the correct answers per minute with 43% of the memory, which is 3.7 times the correct answers per GB, and it scored 2.1 points more on the fresh questions (CI +0.8 to +3.3). That comparison wasn't one of test 10's criteria; I computed it afterwards from test 9's answers.
Two limits. llama.cpp runs a batch with one set of adapters, so the driver groups questions by file. Taken in arrival order instead, 16 at a time and split by file, the same questions took 1.85 times as long. An engine that mixes adapters in one batch wouldn't pay that. And both models still didn't run at once: together they took 33 GB above the idle level, and the check written down beforehand wanted a 2 GB margin the laptop doesn't have.
Test 11: a newer writer
Every written file so far came from one model, Opus 5.5, in one run. Fable 5.2 came out on the day of the last tests, so the last question was whether the writer was the limit.
Fable 5.2 at extra high effort wrote all seven family files again, under the same rules, budget and briefs. It worked in a sandbox holding only what the Opus 5.5 writers had had: the harness, the 0.8B round's notes, and the training and validation questions. Afterwards I checked its three sessions' transcripts: 407 tool calls, all from Fable 5.2 at extra high effort, and nothing opened outside the sandbox.
| 4B system | 20 test sets | Fresh questions |
|---|---|---|
| Router + Fable 5.2 written files | 79.6 | 81.0 |
| Router + Opus 5.5 written files | 79.6 | 80.5 |
| Plain | 77.8 | 77.7 |
A tie: +0.5 on the fresh questions (CI −0.3 to +1.3), and −0.1 on the old test sets. Neither of the two criteria for a better library was met. Under the same budget, a smarter writer didn't write better files overall.
It got there differently, though. Its biggest win came from something it knew: in the emotion task the label follows the feeling word in the sentence, so it wrote a 319-word lexicon and an edit that makes the first layer read each word as its label. Emotion went from 62.5 to 76.0 on the test set, where Opus 5.5's file had left it at 62.0. That lexicon is the whole lead: without it, Fable 5.2's library was 0.6 points behind. It lost on extraction, 64.7 against 73.3 on CoNLL, with a file a third the size. And its math file scored 96.1 on 128 validation questions and 85.0 on the GSM8K test set, below the plain model's 86.5. Fable 5.2 had flagged that itself: it called its own margin partly chance.
The lexicon raises a fair question about the rules. Its gain came from the writer's own knowledge of a dataset's convention, not from the 200 questions it was allowed. The rules forbid training, not knowing things, so I kept the file and report the library both with and without it.
The outcome: a 4B with six files
The goal was a small model that scores like one twice its size. The tests ended with more: Qwen3.5-4B with a router and six weight files, ahead of a mixture of experts with 35B weights.
It isn't quite the system in the figure at the top. That one had only written files. This one has three trained files as well, because training teaches tasks that writing couldn't, and none for knowledge, where the measured pick chose no file:
Written files where behaviour needed fixing, trained files where a task had to be learned. A second model is optional, for the families that need knowledge.
| System | Score on fresh questions | Correct per minute | Memory | Correct per minute per GB |
|---|---|---|---|---|
| Qwen3.5-4B + the better file per family | 84.4 | 112 | 10.9 GB | 10.4 |
| Two models: the 4B with its files, and Qwen3.5-35B-A3B | 86.5 | 111 | 37.3 GB | 2.98 |
| Qwen3.5-35B-A3B alone | 82.4 | 70 | 25.2 GB | 2.79 |
The scores are test 9's, on the fresh questions. Speed and memory are test 10's, on the 500-question mix in llama.cpp with 16 questions at once.
- Ahead of the 35B, in under half the memory. The 4B with its files scored 2.1 points more on the fresh questions (CI +0.8 to +3.3) and was level with it on the older test sets. It gave 1.6 times the correct answers per minute with 43% of the memory. Per GB, that's 3.7 times the correct answers.
- Small enough for an ordinary machine. The 4B's weights are 4.6 GB at 8-bit, and its six files add under half a GB. The 35B's weights are 21.7 GB at 4-bit. I only ran it on my laptop, where it held 10.9 GB with 16 questions in flight. One question at a time needs less, but I didn't measure how much.
- A second model is optional. It adds 2.0 points (CI +1.3 to +2.8) for 3.4 times the memory. That's worth it when the questions lean on knowledge, code or commonsense, where the mixture of experts still leads, and the 37 GB is there.
What I found
The main result is the outcome above: a 4B with six files, ahead of a 35B mixture of experts in under half the memory. Here is every system on the fresh questions:
Average score over 19 test sets, 0 to 100, on questions no file, router or decision had touched. The axis starts at 76.
New: what I couldn't find anyone else showing
- A 4B with a mix of written and trained files beat a 35B mixture of experts, by 2.1 points on fresh questions (CI +0.8 to +3.3), with 3.7 times the correct answers per GB. The rule that got it there: write where behaviour needs fixing, train where a task has to be learned, and let a measurement pick. The same rule put the 4B 5.0 points above the 9B on the test sets.
- LLM-written weights work as a hot-swapped library. Opus 5.5 programmed seven family files each for a 0.8B, a 2B and a 4B, without a single gradient step. A file swaps in within 0.07 ms, one batch can mix files, and seven installed files cost 0.5 GB and 6% of the time.
- Written weights alone lift a 4B past a model twice its size: 2.7 points above the 9B on fresh questions (CI +1.5 to +3.9), with 3.2 times its correct answers per minute per GB.
- A library beats one file for everything, by 1.2 points, and 1.7 on fresh questions. The family files that gain the most edit the inside of the model. The general file stayed at the output layer.
- Written files didn't break their family the way training did. Trained files took GSM8K from 86.5 to 80.5 and HumanEval from 79.9 to 56.7. No written file did anything like that here.
- A smarter writer didn't write better files under the same budget. Fable 5.2 at extra high effort tied Opus 5.5, and its best file came from what it knew, not from the 200 questions.
- Two models and one router beat either model alone, and with the files in llama.cpp they were faster than the big model alone.
Confirmed: what others found first
- Weight-space programming works on Qwen3.5 without gradients, as several replications found the same week.
- Thinking fixes mostly make answers finish in time. The 5 KB gate took GSM8K from 75.0 to 94.0, but the plain model was right more often when it did finish.
- Small specialised models can match bigger ones, as LoRA Land showed with trained adapters. Here written ones did it too.
Lessons I'd apply to anything like this
- A fix chosen on a handful of answers can be noise. The LaTeX ban looked good on 3 validation answers and cost 10 on the test set. A 0.3-point edge on validation became −3.1. Fable 5.2's math file went from 96.1 on validation to below the plain model on the test set.
- Test again on questions nothing was chosen on. Here every result held, and the models without files dropped the most.
- Check the engine before you blame the idea. The same files gave 6.3 times the correct answers per minute in llama.cpp.
- A wrong file is worse than no file. The router matters as much as the files.
Limits
Files don't add knowledge. On the 0.8B, the first model Opus 5.5 wrote files for, the extraction file took the score from 18 to 56 by stopping broken JSON and pushing the right tokens ahead. A trained LoRA took it to 91. Labels went from 63 to 66 with the written file, and to 87 with training. Written files got at least 75% of what training gains in only 2 of 7 families, math and code, and only because training gained nothing there. A budget of 200 build questions buys a few weights' worth of calibration, not knowledge. The MIT authors hit the same wall from the other side: on Gemma 3 270M, their edits couldn't add an ability the model lacked.
That's about general skill, like being better at code or knowing more science. Writing a specific fact into a model is a different job, and closed-form editing has done it since ROME in 2022. A replication this week had Opus 5.5 write fictional company facts into Qwen3.5 models, and it beat LoRA on new questions about them: 86% against 53% on the 0.8B. So a written file can teach a model facts. In these tests, none taught it a skill.
The 2B was one step too far. With its own seven files it scored 68.1, against the plain 4B's 77.8. The files added 5.4 points, about a third of the gap, and even the better file per family only took it to 74.7. The 4B was 1.1 points behind the 9B, a gap that fixes in behaviour can close. The 2B was 15.1 points behind the 4B, and that gap is knowledge and skill.
Written edits can break things too. None did here, but on a small sentiment classifier another comparison found a gradient-free edit broke more than fine-tuning did.
What these tests don't show:
- They ran on one laptop, with one family of models, Qwen3.5, and seven families of public benchmarks.
- I didn't test Opus 5.5 against a fixed recipe of the same classic tools without an LLM, and one replication of the MIT edit suggests such a recipe can get surprisingly far.
- The two-model split was chosen on the old test sets. Test 9 confirmed it on fresh questions, but tried no other split.
- Test 10's driver is a test driver, not a server, and the two models never ran at the same time.
- The thinking gates were tested at one budget, 3,072 tokens.
What I predicted, and what happened
Before each test we wrote down what we expected. The table puts each prediction next to what happened. The biggest misses: memory came down less than I hoped, while the engine, the thinking gates and the fresh questions all came out better than I predicted.
| Test | Expected | What happened |
|---|---|---|
| 1 | Cheap swaps and routing; a third of the 4B's memory | Cheap, but 35% of the memory, mostly for the Python runtime every process carries |
| 2 | The 4B level with the 9B in half its memory; written files close to training | Level, with 58% of the memory. Written files mostly fell well short of training, and the thinking gates did far better than I hoped |
| 3 | Trained files and the pick take the 4B past the 9B | Yes, by 5.0 points. The 2B still didn't reach the plain 4B |
| 4 | The mixture of experts beats the 9B on score, speed and correct answers per GB | Score and speed, yes. With 16 requests at once, fewer correct answers per GB |
| 5 | Routing beats the merged file | Yes, and the merged file wasn't clearly above the plain model |
| 6 | Routing beats the general file, and the general file beats the plain model, by about a point each | By 1.2 and 0.7. I didn't expect it to make math worse |
| 7 | The stack adds nothing measurable | Worse: it cost 0.4 to 0.6 points, from extraction, not from math, where I expected the risk |
| 8 | Qwen3.6 a point or two ahead of Qwen3.5, Gemma 4 within a point | Qwen3.6 tied, and Gemma 4 was 3 points behind |
| 9 | Fresh scores a little lower for the systems chosen on the old questions | They held, and the models without files dropped instead |
| 10 | 60 to 80 correct answers per minute from the 4B with its files | 112 |
| 11 | The two writers within a point, a little in Fable 5.2's favour | +0.5 on fresh questions, −0.1 on the old ones |
Where this is going
The goal was a small model that scores like one twice its size, with more correct answers per GB. The 4B got there, and went past it. With written files alone it passed the 9B. With the better file per family it passed the 35B mixture of experts too, on fresh questions, with 3.7 times its correct answers per GB, in under half its memory. On the way, the picture got sharper: hot-swapping is close to free, routing works, written files fix behaviour, trained files teach tasks, and neither adds knowledge.
Next:
- Files on a mixture of experts. The 35B-A3B knows more, and files teach formats and tasks. So the next test gives it its own library: Opus 5.5 written weights per family, including nudges to the router inside the model that picks its experts, and trained files where they win.
- The files in a serving engine. Test 10 needed a driver of my own. A server needs adapters and control vectors per request, ideally several in one batch: grouping by file cost 1.85 times the time in arrival order.
- A bigger budget for the writer. A smarter writer didn't help at 200 questions per family. More questions might, for either writer.
- The loop. Questions the system gets wrong go to Opus 5.5, which programs a new file or improves an old one. A file only joins the library if it improves new questions without hurting the others.
If those hold up, this is how I'd want the gateway in Orchestrator Zero to work: a router that sees every call, a small model and its library of files on your own hardware for the families a file covers, and a big model only for the rest.
The full report, with every test, table, confidence interval and amendment, is here.
