Enjoying this issue?
Get tomorrow's AI & engineering digest in your inbox — hand-picked, summarized, and always spam-free.
TLDR
Multiple fine-tuned versions of Qwen 3.8-27B now claim to reduce thinking tokens by 37-58% while maintaining accuracy, making them practical drop-in replacements for the base model at X-high reasoning effort. Each takes a different approach: Thinking Cap (Bottlecap AI) is conservative and general-purpose; Swift 1.5 (Yukis AI) aggressively cuts tokens via reinforcement learning, especially for coding and agentic tasks; QwenPi is narrowly optimized for the Pi coding agent harness and works best on medium effort. Real-world tests show varying performance depending on task type, with Thinking Cap winning most general reasoning prompts and QwenPi fastest on coding tasks.
Key points
Thinking Cap reduces thinking tokens by 37% on average with less than one point accuracy loss.
Swift 1.5 achieves up to 58.5% fewer thinking tokens and improved coding accuracy on LiveCodeBench.
QwenPi matches base model X-high accuracy using medium effort with 41% fewer output tokens.
Bottlecap AI founder Tomáš Mikolov is a co-author of the word2vec paper.
Swift 1.5 is available with GGUFs, MLX, NVF4, AMD builds, and a free research API.
All three fine-tunes significantly outperform the base model in speed on most tested prompts.
QwenPi's narrow focus on the Pi harness limits its general reasoning compared to base model.
Thinking Cap's license changed from Apache 2 to small business plus personal use.
Tools mentioned
Techniques
- supervised fine-tuning on successful agent sessions
- reinforcement learning with custom reward for reasoning efficiency
- on-policy distillation
- token-level penalties for overthinking triggers
- multi-token prediction for speculative decoding
Stop scrolling. Start reading smarter.
Receive the day's most important AI & engineering updates in one concise email. No spam.
Transcript (captions)
Okay, so this is the same question going into two versions of the same model. Same weights underneath, similar answer at the end, but one of them has used a lot more thinking tokens to get there,
and the other has used hardly any in comparison to get there. So on my machine, that's a difference between 18 seconds and 90 seconds. And if you think about it, that's sort of the problem
with reasoning models now, right? They get the answer, but they take a long time to get there. It's almost like one model flies there to get the answer as fast as possible and the other one
drives around the coast to take a scenic route. And you'll see this in ways that are often not totally bad. They'll do things like they restate the question, they check. They check again. They say
to themselves, "Wait, let's reconsider." And every one of those tokens is time that you're spent waiting for this answer. And of course, money that you're paying for the inference for this. Now,
in the past, I've talked about Open AI focusing on reducing the number of tokens between the 5.0 model and the 5.5 model. Well, they're not the only ones that have been focused on this, right?
Most of the major labs have been looking at how do they take these long chains of thought and reduce them but still keep the accuracy. And the cool thing is that there are also teams trying to do this
with open-source models. So, in the past, I covered the thinking cap model for the Quen 3.627B 627B. And no surprise, I'm going to cover their new model in this video, but also I want to
look at some of the other teams that have taken on the Quen 3.827B and fine-tuned it to think less. So on top of thinking cap, we've also got Quenpi, which is sort of like a
specialized version with less thinking for coding agents. Got Swift 1.5. They all claim fewer tokens for about the same accuracy, but it seems they all go about it in really different ways. And
it also seems that they're probably really good at different things. So, in this video, I want to look at how each one was made, then I'll run all of them against the base model and see if the
claims actually hold up. All right, so before we do the fine tunes and look at those, you need to know a bit about the sort of thinking and reasoning on Quen 3.8 that it already gives you out of the
box. and they call it reasoning effort. It has three settings, low, medium, and X high. And amazingly, out of the box, X high is actually the default. So, if you're serving with VLM, you actually
set this in the chat template. And you can see that when we set that reasoning effort, that's going to affect how long the chains of thought are that's coming back. Now, I talked about this when I
made the video about serving Quen 3.827B, and I got to say that model is still one of the best open models that you can get. and serve on reasonably small
hardware. For some uses, the 3.8 next is probably better, but that's going to move you into the realm of needing a bigger GPU or needing multiple units in there. Now, back to the 3.827B.
The whole reasoning effort there is you are basically telling the model to try less hard. So, yes, you can get less tokens out of it, but when you actually turn that reasoning down, it's often
going to cost you inaccuracy. And if you're running this locally on 1GP, you're really going to be decode bound. So the thinking or reasoning tokens there match pretty much directly to
seconds for you getting your final result out. If you can have those tokens, you're roughly having the weight that you're going to have to wait for your final answer out. Secondly, these
models have multi-token prediction heads for speculative decoding. And that actually works better on shorter traces than longer traces. And we actually see this in some of the reported results.
So, thinking cap's model card actually reports that speculative decoding goes from about 2.6 tokens per step at X high to over three tokens per step at medium and low. So, you can actually think
about this as thinking less doesn't just mean fewer tokens. Each token comes out faster as well. All right. So, the big question here is what are these fine tunes actually trying to do? And are
they going to get you the savings without any sort of accuracy hit here? All right. So here's the family tree. Everything starts from Quen 3.827B. On one branch of the tree, you've got
Thinking Cap from Bottlecap AI. Their first thinking cap model was the one that I covered a couple of months back and that was built on the Quen 3.6 model then. And you could say related to this
was the UKIS AI swift model. So when they built their first version of Swift, part of that recipe was a transfer component from the thinking cap model. So you can sort of think of Swift of
having some of the thinking cap DNA in it and being related. Now on a completely separate branch here, you've got Quen Pi which is playing a different game totally. I'll get to that as we go
through each of the models, but let's start with Thinking Cap. So Bodcap AI is a lab in Prague and one of the co-founders there is Thomas Michelov. So at the time that I recorded the original
video about the first Thinking Cap, I didn't actually know that until one of you pointed it out in the comments. And so for those of you who don't know who Thomas Mikolof is, he was actually the
first author on a very famous paper word tovec. So this is one of the key papers that really changed natural language processing. The whole idea of having vectors that could represent words and
then could be used for things like classification like a whole bunch of these things. At the time Michelof was working at Google from memory he was also working on a lot of the ideas for
seek to seek which all of these were very early precursors to the transformer idea of sequence in sequence out. Now after one of you had pointed that out. I actually reached out to him to send the
video and message him where they're going to do one for 3.8. And I found out they're working on an interesting project that hopefully I can cover in the near future. But clearly I wasn't
the only one giving feedback that the community wanted a 3.8 eight version of the thinking cap models. So I think they reallocated some of the compute that they were using for their other project
to this. And just a very quick side note here, I would say that we really should be grateful for startups like this. His startup is not some billion-dollar startup in San Francisco that's training
their own frontier models to compete with OpenAI or Anthropic, etc. Bottlecap is a startup that's raised a tiny fraction of that money compared to some of these bigger ones and most likely has
a fraction of the compute that those more famous startups actually have. So the fact that they're allocating compute to do something like this for the community, I think is very cool. All
right, so how was this actually made? Well, Bodcap didn't publish the actual training recipe, but they're clear about the objective here. The target was one thing, how many thinking tokens it takes
to reach the same answer. And they mentioned that the aim was deliberately conservative here. They didn't try to make the model smarter, to teach it anything new, to change how it talks.
They haven't tried to add any knowledge in here or even improve the instruction following or safety or any of those things. Those are meant to come through totally untouched. So stream to X high
and this time they put more focus on much harder sort of benchmarks and tasks. So things like math, reasoning, long context, agentic tasks, etc. You can kind of think of this is teaching
the model when it's done rather than teaching it to be brief. So the headline here is 37% fewer tokens on average across 12 benchmarks with the average accuracy going from 86.6 to sort of
85.8. So it's just a tiny percentage less accuracy there. So, for example, on the GPQA diamond, this goes from an average of 12,800 thinking tokens on the original version down to 7,300 on the
thinking cap one. And interesting on some of them, like the long context result is a really interesting one. On their long context retrieval benchmark, it uses 39% less thinking, but the
accuracy actually goes up a couple of points there. The chart I think that is most useful in their blog post about this is this one because it ties straight back to where we set the
reasoning effort. If you take the base model and just drop it to medium, you remove about half the thinking, but you give up about nine points of accuracy. Thinking cap at X high removes 37% for
under a point of accuracy. So suddenly that X high level gets really useful there. All right. So what's this model actually good for? It's basically just a drop-in replacement for the Quen version
at X High. So anything that needs general reasoning, knowledge questions, long documents, etc. All of those things, you can basically just drop this model in. Perhaps the only downside I
would say here would be the agentic traces. And not because they're not shorter. They're shorter, but it seems that the reasoning only drops by about 11% there. Now, interestingly, the other
thing here is that this version is made for X high. If you want a version that's made for the medium or lowinking and optimized for that, that's something that they're actually selling to
enterprises. And along with that, the other change here is the actual license. So, it's gone from being Apache 2 for the 3.6 version to this one being a small business plus personal use kind of
license, which totally makes sense if they're trying to make some money to actually cover their compute costs, etc. All right. So, next up is Swift 1.5 from Yucus AI. And this one's quite a lot
more aggressive. So, this one is going for up to 58.5% fewer thinking tokens on the Quen 3.827B. They built it in two steps. So, for
Swift 1.0, they were really looking for specific tokens in Quen's reasoning that seem to trigger overthinking. And you could think of some examples of those are where things like it says wait let
me ask what the user wants hm and then you know asks itself something let me reconsider and then they fine-tuned the model to penalize those tokens rather than just penalizing the length and then
they added that to the original version of the thinking cap model for 1.5 though they took the model and scaled up the reinforcement learning and on policy distillation with their main focus being
on long horizon agentic and coding ing tasks. Now, the cool thing here is that not only have they published the models, the training data is also on HuggingFace, which is really good to see
here. You can see it in the coding numbers here on their model card. Live Codebench goes from just under 77% for the base model with around 11,200 tokens out to actually an increase of accuracy
of 81.7% with only 8,400 tokens out. So, the other interesting thing here is that they also claim that the savings that they're getting hold at every effort
level. At low, it actually scores slightly above the base model with about 29% fewer thinking tokens. Practically too, this one has probably the most ways for you to run it. There are standard
Lama CPP GGUFS for this. There are small ones to fit on small GPUs. There's MLX. There's an NVF4 version and even an AMD build here. And they even have like a free research API for this with no API
key if you want to just try this out. Now, that headline of the 58% fewer thinking tokens probably turns out to be a bit less when you start looking at the mean thinking reduction across this, but
it's still very impressive here. Another thing that they've focused on is that they claim that the base model loops and fails early, which they're claiming that their version doesn't do. Now, the
license for this one is their own custom license, which is free up to a million dollars in revenue. After that, you need to basically contact them. All right, so that brings me to the third one, which
is kind of the odd one out here. And incidentally, this is the only one of the three that actually has an Apache 2 license. So, this is Quenpi. To understand it, you first need to know
about what PI is. Pime is an open- source coding agent that's very deliberately minimal. It has a very limited set of tools for doing read, write, edit, and bash. And last time I
checked, it even has a system prompt that's under a thousand tokens. So Quen Pi is Quen 3.827B fine-tuned specifically to work inside of the Pi harness. And I want to cover
this one because I think this is something we're going to see a lot more of where people fine-tune a particular model for a very specific harness. And it totally makes sense. If you can get
the model and the harness to work together, and the model can be primed for what kind of inputs it's going to see, what kind of inputs it should generate out, you're probably going to
end up with a model that's a lot more suited to a very particular vertical harness there. And this idea is something that I've been running tests on recently with the number of vertical
harnesses in the co-scientist area. So, I feel like this model shows a little bit of where that direction is actually going. So, how was this made? First, it's basically supervised fine-tuning on
real PI sessions, but only the successful ones. So, the model learns the whole workflows, how to look at code, how to make a change, how to run tests, how to fix what's broken, etc.
Secondly, they make sure in those tasks that they actually check for working code versus broken code separately themselves. Thirdly, they're doing reinforcement learning with GPO and a
custom reward for reasoning efficiencies there. So obviously the goal there is to basically reduce the long chains of thought. Interestingly that reward is aimed at the low and medium settings
while X high is left to focus on getting it right. The other interesting thing that's mentioned in here is that they actually pick the checkpoints based on actual agent results not just based on
training loss. So you could imagine that as the model gets better and the RL kicks in to reduce that training loss that doesn't always lead to the best agent runs. So, they're much more
focused on getting this to actually work for agent runs than purely just for some LLM training goal. Now, my guess here is a big part of why this works is that PI is a minimal harness. When it's only got
a few tools and a really tiny prompt like that, every session looks reasonably similar. And you can imagine that that generates really nice data to actually fine-tune on. So, the idea with
this one is different. Thinking Cap and Swift are trying to make your X high shorter. Pi is actually trying to make the low and medium effort settings actually good. On their numbers, Pi's
medium setting matches the base models X high on Terminal Bench with about 41% fewer output tokens. They're trying to reduce the number of tokens you're using by actually getting you to use the lower
and the medium levels by increasing their intelligence up to the high level. Now, obviously, the weakness for this one is that it's a very narrow use case. All the evidence comes from using it
inside of Pi. From what I've seen, nobody has really shown that this carries over to other harnesses. If you wanted to use open code or you wanted to use other things, etc. And on the
general sort of reasoning tasks like the GPQA, the base model still actually wins at the medium level. So, in many ways, I'd say this is sort of like a community testing effort that perhaps isn't
totally proven yet, but is certainly very promising here. So, let's jump in and actually take a look at some of the outputs that we've got here. Okay, so each of these models is running on a
Dell Pro Max tower here and they're running on an RTX Pro 6000 with standard VLM here. I haven't really optimized any of that in here. So, thank you to Dell for sponsoring the compute for this. It
really makes it possible for me to be able to benchmark these models out. Okay, so let me set up the demo here. What I've basically done is I've gotten Claude Fable and Opus to generate a
bunch of questions or prompts that that are going to create a large amount of thinking tokens or reasoning tokens etc. And then what I've done is I've gone through and actually rendered out the
inference for each of these models and saved it with exact timestamps so that we can look at all four of them playing back at once here. So you can see here we've got the original Quen 3.827B.
This is technically the fine-tuned model that they released of their base model, but this is sort of the standard version of the model. I've got the Quen Pi one, I've got the Thinking Cap one, and I've
got the Swift one in here. So you'll see that if I come up and I pick something like this, I'm actually playing back at 16 times the speed that it was recorded. And you can see sure enough here this is
now thinking cap has done. It's completed. It's got the correct answer. We've now got swift 1.5 done completed with again with the correct answer. We've got the quen pi model done with
the correct answer. And finally at some point we will get the original 3.827b looking at this one also with the correct answer there. So in this case, each of the models has given us the
exact same answer back. But we can see very clearly in this case that thinking cap was way shorter, right? With only 4,000 tokens. You can see that even the inference speeds are roughly the same.
Second is the swift model and third is the pi model and then finally is the long version. So all three of them are doing much better than the original version. Let's try it with a different
prompt. Okay, so again you can see these are all off and we can see in this case the swift model actually was fastest followed by the pi thinking followed by the original model and in this case
thinking cap actually came last. All right. Now, I will point out that this one is more of a sort of coding task with this. And remember that the pi model is made for coding tasks and tends
to specialize in that kind of thing. All right. If we look at another one like this, we can see that sure enough, in this case, the Swift model did really well followed by thinking cap. The pi
model took longer than both of those, but still was way shorter than the original one. All right. If we give it sort of a logic puzzle to go through, you see in this case the thinking cap
one, swift came second followed by the base model and then pi. If we give it another mathematics one, we can see in this one that thinking cap 1, swift came second, pi came third and then the
original model was quite a long way behind that. And you see if we translate these into time that we're getting huge savings with some of these models, the thinking cap one is just a lot faster, a
lot more concise in what it's actually producing there. Another example, again, thinking cap first followed by Swift. And in this case, the base version actually beat the PI version. So just to
finish up, I'll show you one that is kind of a bit surprising. In this one, you've got the Swift model actually doing slightly better. We've then got the base model coming second, followed
by thinking cap, and finally the PI model in here. And for me, the interesting thing here is that even though we've got the same prompt for making the SVG, each of them is making a
slightly different SVG, you know, coming out of it. And I would say this is sort of the perfect example of where you probably should try each of them out for your specific use case because just as
the SVGs change in quality in here, you will find that other answers that don't necessarily always have an exact answer also can change quite a lot from model to model in here. While in my test,
thinking cap seems to be winning most of the time, the variance can be really different on different kinds of questions. And I think that's got a lot to do with just how people are doing the
fine-tunings here. Whatever they make the model focus on and use the RL on, it's going to get good at that. And I think for each of these three fine tunes here, they've gone for slightly
different data curation and perhaps curriculum learning in the way that they've actually put these together. So if you remember back, I also talked about that the Quen Pi model was
actually trained to do better on Medium. And the thing I find is that sure enough, this model actually is a lot faster out on medium than the original base model. It doesn't mean though that
it's always going to be faster for all of them. Often the thinking cap one will still be faster for some of these. And I find that even the thinking cap one tends to be a little bit more accurate
at a lot of the different tasks and stuff when you have it actually set to medium. In this particular use case here, you can see though when we compare this that the PI model is actually being
faster than both of them when we've got the setting on medium there. So anyway, let me know in the comments if you've actually had a play with these, how you found them out, which one of the three
is your favorite. I would say that all three of these are actually very good. In general, they all tend to do better than the base model for a lot of the particular tasks. Now, the Pi 1 seems to
me to be definitely more suited to coding kind of tasks and it really shines at those. The thinking cap and the Swift one are much more sort of generalist models. So, anyway, as
always, if you like the video, click like and subscribe and I will talk to you in the next video. Bye for now.