3 ms·
The "ultrathink" thing is pretty funny: > We recommend using the word "think" to trigger extended thinking mode, which gives Claude additional computation time
by simonw 2y ago
The "ultrathink" thing is pretty funny:
> We recommend using the word "think" to trigger extended thinking mode, which gives Claude additional computation time to evaluate alternatives more thoroughly. These specific phrases are mapped directly to increasing levels of thinking budget in the system: "think" < "think hard" < "think harder" < "ultrathink." Each level allocates progressively more thinking budget for Claude to use.
I had a poke around and it's not a feature of the Claude model, it's specific to Claude Code. There's a "megathink" option too - it uses code that looks like this:
let B = W.message.content.toLowerCase();
if (
B.includes("think harder") ||
B.includes("think intensely") ||
B.includes("think longer") ||
B.includes("think really hard") ||
B.includes("think super hard") ||
B.includes("think very hard") ||
B.includes("ultrathink")
)
return (
l1("tengu_thinking", { tokenCount: 31999, messageId: Z, provider: G }),
31999
);
if (
B.includes("think about it") ||
B.includes("think a lot") ||
B.includes("think deeply") ||
B.includes("think hard") ||
B.includes("think more") ||
B.includes("megathink")
)
return (
l1("tengu_thinking", { tokenCount: 1e4, messageId: Z, provider: G }), 1e4
);
Notes on how I found that here: https://simonwillison.net/2025/Apr/19/claude-code-best-practices/ https://simonwillison.net/2025/Apr/19/claude-code-best-pract...
- pyfon 2y agoWeird code to have in a modern AI system! Also 14 string scans seems a little inefficient!
- orojackson 2y agoNot gonna lie: the "ultrathink" keyword that Sonnet 3.7 with thinking tokens watches for gives me "doubleplusgood" vibes in a hilarious but horrifying way.
- 4b11b4 2y agoAt this point should we get our first knob/slider on a language model... THINK ..as if we're operating this machine as analog synth
- soulofmischief 2y agoThere are already many such adjustable parameters such as temperature and top_k
- ljm 2y agoMaybe a Turbo Think button that toggles between Ultrathink and Megathink.
- antonvs 2y agoIf you use any of the more direct API sandbox/studio UIs, there are already various sliders, temperature (essentially randomness vs. predictability) being the most common. The consumer-facing chatbot interfaces just hide all that because they're aiming for a non-technical audience.
- ______ 2y agoI use a cheap MIDI controller in this manner - there is even native browser support. Great to get immediate feedback on parameter tweaks
- coffeebeqn 2y agoA little bit of the old ultrathink with the boys
- stavros 2y agoShot to everyone around a table, thinking furiously over their glasses of milk
- deleted 2y ago[deleted]
- anotherpaulg 2y agoIn aider, instead of “ultrathink” you would say: /thinking-tokens 32k Or, shorthand: /think 32k
- westoncb 2y agoThat's awesome, and almost certainly an Unreal Tournament reference (when you chain enough kills in short time it moves through a progression that includes "megakill" and "ultrakill").
- orojackson 2y agoIf they did, they left out the best one: "m-m-m-m-monsterkill" Surely Anthropic could do a better job implementing dynamic thinking token budgets.
- Quarrel 2y agoUltrakill is from Quake :)
- Schaulustiger 2y agoIt is not. Quake had "Excellent" for two kills in short succession, but nothing else if you chained kills after that.
- Quarrel 2y agoMeh, ok? This fits my memory of it: https://www.voicy.network/sounds/o_2r357a-kKEe5PaiWyYnA-quake-ultra-kill https://www.voicy.network/sounds/o_2r357a-kKEe5PaiWyYnA-quak... Was it quake 2?
- mr-karan 2y agoWhat I don’t like about Claude Code is why can’t they give command line flags for this stuff? It’s better documented and people don’t have to discover this the hard way. Similarly, I do miss an —add command line flag to manual specify the context (files) during the session. Right now I pretty much end up copy pasting the relative paths from VSCode and supply to Claude. Aider has much better semantics for such stuff.
- gdudeman 2y agoMaybe I’m not getting this, but you can tab to autocomplete file paths. You can use English or —add if you want to tell Claude to reference them.
- mr-karan 2y agoNever knew about `tab` shortcut, thanks for letting me know! BTW, as I was using it today, I was quite surprised to see `@` working now. Turns out in 0.27.5 they added this feature: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md https://github.com/anthropics/claude-code/blob/main/CHANGELO... :)
- nulld3v 2y agoWaiting until I can tell it to use "galaxy brain".
- NiloCK 2y agoSlightly shameless, but easier than typing a longer reply. https://www.paritybits.me/think-toggles-are-dumb/ https://www.paritybits.me/think-toggles-are-dumb/ https://nilock.github.io/autothink/ https://nilock.github.io/autothink/ LLMs with broad contextual capabilities shouldn't need to be guided in this manor. Claude can tell a trivial task from a complex one just as easily as I can, and should self-adjust, up to thresholds of compute spending, etc.
- carlmr 2y ago>LLMs with broad contextual capabilities shouldn't need to be guided in this manor. I mean finding your way around a manor can be hard, it's easier in an apartment.
- adastra22 2y ago“think hard with a vengeance”