frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Never Give Them Your Face

https://nevergivethemyourface.com/
452•audiodude•2h ago•252 comments

Pledging Another $400k to the Zig Software Foundation

https://mitchellh.com/writing/zig-donation-2026
450•tosh•2h ago•135 comments

Claude Code's "extended thinking" is a summary- not authentic thinking

https://patrickmccanna.net/the-text-in-claude-codes-extended-thinking-output-is-not-authentic/
122•0o_MrPatrick_o0•2h ago•90 comments

Moebius: 0.2B image inpainting model with 10B-level performance

https://hustvl.github.io/Moebius/
71•DSemba•2h ago•13 comments

Deno Desktop

https://docs.deno.com/runtime/desktop/
813•GeneralMaximus•11h ago•319 comments

Chevron signs 20-year power agreement with Microsoft for West Texas data center

https://www.chevron.com/newsroom/2026/q2/chevron-signs-20-year-power-agreement-with-microsoft-for...
44•cdrnsf•2h ago•37 comments

Die analysis of the 8087 math coprocessor's fast bit shifter (2020)

https://www.righto.com/2020/05/die-analysis-of-8087-math-coprocessors.html
32•Jimmc414•2h ago•7 comments

Codex logging bug may write TBs to local SSDs

https://github.com/openai/codex/issues/28224
324•vantareed•9h ago•179 comments

GLM 5.2 vs. Opus

https://techstackups.com/comparisons/glm-5.2-vs-opus/
358•ritzaco•9h ago•252 comments

Apparently I'm not a woman because I use Linux

https://danielle.bearblog.dev/apparently-im-not-a-woman-because-i-use-linux/
8•twapi•35m ago•1 comments

Nintendo Wii U games running from a 1980's Bernoulli disk [video]

https://www.youtube.com/watch?v=8GZDOpV2OXk
13•zdw•20h ago•1 comments

DHL Set to Transport Goods on New Wind-Powered Cargo Ships

https://www.wsj.com/pro/sustainable-business/dhl-set-to-transport-goods-on-new-wind-powered-cargo...
58•julienchastang•1h ago•20 comments

Granularity comes at a cost – Game Theory

https://www.sidhantbansal.com/2026/Granularity-comes-at-a-cost/
24•sidhantbansal•2d ago•4 comments

Help I accidentally a wigglegram

https://lmao.center/blog/wiggle-accidents/
410•gregsadetsky•2d ago•95 comments

Did my old job only exist because of fraud?

https://david.newgas.net/did-my-old-job-only-exist-because-of-fraud/
749•advisedwang•18h ago•337 comments

Apertus – Open Foundation Model for Sovereign AI

https://apertvs.ai/
496•T-A•19h ago•167 comments

Munich 1991: The Roots of the Current AI Boom

https://people.idsia.ch/~juergen/ai-boom-roots-munich-1991.html
172•tosh•3d ago•74 comments

Maria Isabel Sánchez Vegara on Her 100th "Little People, Big Dreams" Book

https://www.amightygirl.com/blog?p=36753
27•zeristor•2d ago•4 comments

Why Drawing Tablet Brands Won't Collaborate on Linux Floss Drivers

https://www.davidrevoy.com/article1154/why-drawing-tablet-brands-wont-collaborate-on-linux-floss-...
137•Tomte•4h ago•60 comments

There is minimal downside to switching to open models

https://www.marble.onl/posts/cancel_claude.html
335•amarble•19h ago•280 comments

Nvidia Halos

https://www.nvidia.com/en-us/ai-trust-center/halos/autonomous-vehicles/
61•ilreb•2h ago•33 comments

Manticore Search 27.1.5: Auth, sharding, conversational and faster vector search

https://manticoresearch.com/blog/manticore-search-27-1-5/
30•snikolaev•6h ago•1 comments

Sakana Fugu

https://sakana.ai/fugu/
189•Finbarr•14h ago•106 comments

Rive, Fast and reliable background jobs in Go

https://github.com/riverqueue/river
18•mountainview•6h ago•4 comments

Investors get real-time view of UK bond market activity for the first time

https://www.fca.org.uk/news/press-releases/investors-get-real-time-view-uk-bond-market-activity-f...
82•monkeydust•9h ago•59 comments

My 1992 view of the problems of computer programming in 1992

https://blog.plover.com/prog/fortran-i.html
82•speckx•3d ago•37 comments

Memory Safe Inline Assembly

https://fil-c.org/inlineasm
160•pizlonator•2d ago•38 comments

Alan Greenspan Dies at 100; Led Fed During Boom Before 2008 Bust

https://www.bloomberg.com/news/articles/2026-06-22/alan-greenspan-dies-at-100-led-fed-during-boom...
114•helsinkiandrew•5h ago•92 comments

Good results fine tuning a local LLM like Qwen 3:0.6B to categorize questions

https://www.teachmecoolstuff.com/viewarticle/fine-tuning-a-local-llm-to-categorize-questions
196•dev-experiments•17h ago•37 comments

Everything is logarithms

https://alexkritchevsky.com/2026/05/25/everything-is-logarithms.html
280•E-Reverance•19h ago•60 comments
Open in hackernews

Claude Code's "extended thinking" is a summary- not authentic thinking

https://patrickmccanna.net/the-text-in-claude-codes-extended-thinking-output-is-not-authentic/
121•0o_MrPatrick_o0•2h ago

Comments

apothegm•1h ago
Slashdotted.
bpodgursky•1h ago
The full thinking logs are also a summary of a thinking process presumably consistent with one necessary to generate the provided answer. Nobody really understands how LLMs think. Thinking logs seem to be accurate, and summary thinking logs seem to be a good summary of the full thinking logs.

If it's useful, it's useful, enjoy. If you aren't comfortable with that, don't use LLMs. You aren't going to get a mathematical proof of your output, just learn to be comfortable with that, or opt out and be a goat farmer.

0o_MrPatrick_o0•1h ago
I want to measure performance drift over time.

Having access to the reasoning text and output would help with performance measurement.

solarkraft•1h ago
Yeah. The output is magic either way, with or without reasoning.

For daily use I actually like the reasoning summary to be brief/quick to scan.

That said, I understand the author’s desire for the real thing. It just feels better to have that access, especially when Anthropic will give it to you, but encrypted.

dragonwriter•58m ago
> The full thinking logs are also a summary of a thinking process presumably consistent with one necessary to generate the provided answer.

No, they aren't a summary. They are the actual decoding of the sequence of tokens emitted during the the “thinking” stage of response generation.

Just as with, say, a human onner monolog in words vs actual speech, they are a product of the same output process as the non-thinking tokens. They aren’t a translation of the internal process that precedes the output mapped into language, either as a full result or a summary.

fieldcny•1h ago
duh.

Computers don’t think they process, those are very different activities.

anuramat•1h ago
no way, the contents of "reasoning_summary" are summarized?

fyi openai does the same; not really surprising or particularly evil

knollimar•1h ago
Not evil but full of hubris
ur-whale•1h ago
When you have no moat, you have to try and find desperate ways to manufacture one.
anuramat•1h ago
wdym?
ur-whale•1h ago
> wdym?

https://en.wikipedia.org/wiki/Economic_moat

anuramat•1h ago
how is summarized CoT a moat, and how is having the top 2 LLMs not a moat?
Closi•1h ago
If you have the full outputs, it might make it easier for competitors to distil the model or reverse engineer the full process.

It may also be that misaligned responses can be in CoT which OpenAI does not want to show to users.

anuramat•1h ago
but "harder to reverse engineer" isn't manufacturing, that's protecting your moat
dragonwriter•
tsunamifury•1h ago
It’s not surprising than the Sota model makers core goal is to get user dependent while denying them increasing amounts of understanding of how it works to form a deeply unhealthy dependency.

Tell me this. If you hired a junior engineer or designer who refused to explain their thinking on their code and how they solved for the spec what would you do?

(That being said the reasoning output is still a summary of the Kvcache)

orangecat•52m ago
* If you hired a junior engineer or designer who refused to explain their thinking on their code*

Any explanation that someone gives of their thinking process is necessarily lossy and likely partially confabulated.

simianwords•1h ago
Wait I think there are 2 levels of summary. Anthropic is definitely not showing its real thinking even with enterprise agreements. For example in Claude.ai the thinking traces are not real and are themselves summaries.
furyofantares•1h ago
> It isn’t the actual thinking that drove the model’s actions in a session- but a summary of the thinking logic. This is like using saving a jpeg as a .bmp and then editing the .bmp and presenting it as a .jpeg. The conversion produces data loss.

You've got that backwards, .bmp is a lossless format and .jpeg is the lossy one.

0o_MrPatrick_o0•1h ago
My bad! 10 points for House Slytherin!
altmanaltman•1h ago
also a typo in the last sentence you're vrs your
0o_MrPatrick_o0•1h ago
I missed my coffee! Ty! Five points to Slytherin.
glaslong•1h ago
Weirdly pleasant, if minor, signal of human authorship
altmanaltman•16m ago
Yeah, definitely it's a nice thing in today's context, weirdly. But also, you shouldn't really be making typos if you're writing an article and are using a basic spellcheck.

The text is clearly human-written just because it doesn't smell like AI (in this case, even if it was written by AI and produced this particular output, that's okay imo). I deal a lot with AI writing and writing in general, as I worked as an editor in another life so it's natural to me to see writing and form an objective opinion on it.

_fat_santa•1h ago
IMHO I've never found the entire reasoning chain that particularly useful for my work. For me having a summary is honestly better from a context management perspective. I understand why they would encrypt it though, because those reasoning chains are VERY useful if you're distilling the model.
stavros•1h ago
The summary doesn't go into the context, it's for human consumption. The CoT itself goes into the context.
nomel•33m ago
From my experiments with Opus Ave Sonnet (at least the models where you can still see COT), only the last two COT go into context.
StizzurpXDD•1h ago
This is not just Anthropic. Almost all big AI companies, including OpenAI and Google, hide their model's actual reasoning. This is because revealing the raw reasoning exposes exactly how the AI processes information. These companies spend in huge amounts on R&D to develop a thinking process that is superior to their competition. Exposing those thinking mechanics to competitors would completely defeat the purpose of their spending. They simply won't do it. It's like you telling your exact location to someone who is trying to hunt you down.
duskwuff•1h ago
More to the point - if they expose their model's "thinking" inference, competitors can train on that to replicate the results. If they postprocess that content, e.g. by summarizing it, it's no longer as useful to competitors.
StizzurpXDD•1h ago
Exactly. Google won't like it if they spend millions to make Gemini 3.5 Pro's thinking the best in the world, only for Anthropic or OpenAI to copy it by just seeing the thinking process.
_aavaa_•1h ago
Or like providing the world’s information in machine readable format that the AI companies can convert into model weights without getting permission or compensating the rights holders
Sharlin•1h ago
The cynic in me is wondering whether it's more about how revealing how the sausage is made might bring bad publicity.
jerf•1h ago
AIUI it's fairly well established that the models can be saying one thing and "really" thinking another anyhow. The ones I recall seeing traced how simple one-digit arithmetic was done in the chat versus the actual activations under the hood. Tracing a real, non-trivial task through that way would be challenging, and I'd expect it is unlikely that the reasoning would say one thing while some utterly unrelated actual thought process is happening below, but I would expect that there might be a lot of places where the text of the reasoning diverges from what is "actually" being done. I'm not sure the full reasoning readout would produce much real insight anyhow.

I suspect that in some decades, as other architectures are found and used, that the inability of an LLM to "think" without also emitting a token will be seen as one of their fundamental limitations.

adi_pradhan•1h ago
Not surprised at this. The questoins for enterprises are + where can you depend on a black box as a service? + what evals and observability do you need to deploy a black box as a service confidently? + what's the ROI (considering a total footprint of people, token spend, infrastructure, service, ops etc.)

The LLM providers will clearly evolve to be more and more opaque as their services get more capable. The frontier models may even be provided as purely internal advisor or async only so they can monitor your CoT and final answers for cyber etc.

HarHarVeryFunny•1h ago
This is nothing new - these companies don't want their model's output to be useful for distillation/training, so they just give a "summary" of its thinking steps rather than the actual sequence.

RL (the basis of LLM "thinking") is a pretty crude way to achieve the appearance of reasoning given that it reinforces all the steps, including missteps, that got it to a reward. Providing a summary could be seen as form of sane-washing, making the model look more purposeful and directed than it really is!

craigmart•1h ago
This is something we have known for a very long time, and companies are not trying to hide that either. They do it to avoid letting competitors train their models on the CoTs
stingraycharles•1h ago
Yes hasn’t this been around since Opus 4.6? I very much recall this change happening around January or February, and it was very explicitly to prevent distillation. Sonnet does not have this limitation.

Fun fact: if you go back to the old school from 2 years ago and provide explicit CoT prompts, you get the full thinking prompts back again!

So you disable thinking altogether, and instead make thinking part of the regular prompt by prompting it:

“Before providing your answer, think step by step. For example:

The use is asking me to… I need to think about the blah blah. First, I should foo the bar, and then blah blah.

Answer: <put your final answer here>”

And tada.wav we have CoT as it worked in the GPT3 era back again.

0o_MrPatrick_o0•1h ago
Awesome share! Thank you!
KellyCriterion•56m ago
- tada.wav -

Still, one of the daily most played WAV files worldwide, Id guess? :-D

dcrazy•51m ago
I thought this was considered best practice? I actually prefer it to exposed thought channel, much like how I would prefer a human answer with supporting logic instead of an explanation of their problem-solving approach.
philipwhiuk•1h ago
To be honest I thought the 'thinking' was the model being asked 'how did you come up with that' and then it generating a plausible explanation. I know at one point this was correct.

Humans somewhat do the same - something that's been demonstrated in split-brain experiments.

devmor•1h ago
That's not really how LLMs work at all. I would really recommend checking out something like [1] to get a rough understanding and avoid attributing too much to them.

1. https://medium.com/@eshvargb/the-llm-journey-how-neural-netw...

stingraycharles•1h ago
No not at all, you got it backwards. This was originally called “chain of thought prompting”, and it basically explained a model on how to reason through a problem before providing an answer.

Because of the nature of how LLMs work — text prediction engines - by putting the explicit reasoning steps first, it improves the likelihood of the final answer (which then is being predicted based on the entire reasoning chain as input) being correct.

InsideOutSanta•1h ago
If you ask an LLM afterward how it arrived at an answer, it might produce a plausible but incorrect explanation. But that's not what the thinking stream is; that's actually part of how it generates the answer.
Terr_•14m ago
reliablereason•1h ago
Is the thinking even done in real tokens? I thought it was done using the pure residual stream. That is instead of collapsing the residual stream to a token you treat the final layers output as a vector of size d_model and use that as input for the next position in the transformer.

If that is the case thinking is not visible to us as users due to it not being done in text.

giancarlostoro•1h ago
Claude does all its thinking in text, its ChatGPT which does not do its reasoning in text. I believe its sort of implied / understood (?) that this is part of Claude's secret sauce over OpenAI. OpenAI will use less tokens, but Claude will be more correct, more of the time.
wqaatwt•1h ago
All open model that have reasoning seem to be doing it in text tokens. Is there any indication that closed models are approaching this somehow fundamentally differently?
throwuxiytayq•1h ago
That would be a huge deal, meaning we've lost even our shitty, ineffective ways of monitoring agent reasoning stream. Big setback when it comes to alignment and interpretability.

I don't know about Claude, but latest GPT versions still have a readable reasoning stream. It sometimes leaks out when the model gets confused, e.g., during a tool call. If you're curious, looks simplified; less words; extremely compact. They optimize tokens. But remain readable.

TeMPOraL•25m ago
I saw that idea described as a step in AI 2027 (they call it "neuralese" and eyeballing the site, it's still labeled a hypothetical/future development), but AFAIK no one implemented/deployed this yet.

EDIT:

They link to a Meta paper from 2024/2025 though: https://arxiv.org/pdf/2412.06769/.

wqaatwt•1h ago
Is this some new revelation? That was well known when the first OpenAI/Anthropic “thinking” models came out.
InsideOutSanta•1h ago
It's not a new revelation, but clearly a lot of people aren't aware of it, so talking about it is still valuable.
irthomasthomas•1h ago
I won't use or recommend models with hidden reasoning, (thats all American models). It's too much of a risk and makes prompt optimization harder. Risky because it makes it possible for an attacker to prompt inject the reasoning chain to carry out a secret objective, and to hide that from the summary and output.

Interleaved reasoning and function calling makes this even more dangerous. A model can call functions during the hidden reasoning phase. An attacker could then exfiltrate data from you while the reasoning summary hides it from the user.

It also makes it impossible to know if the model is doomplooping during reasoning and burning tokens for no reason, as gemini is want to do, which we know about because its hidden reasoning often leaks out when it doomloops.

When the models are AGI and secure from prompt injection I may stop caring, until then I want to know exactly what the model responds to my prompts. or exactly what the agent is doing on my behalf.

Edit, further reading: Fooling around with encrypted reasoning blobs https://blog.cryptographyengineering.com/2026/05/29/fooling-...

Roritharr•45m ago
I've thought about the high-jacking of reasoning-chains as a potential vector, but never saw a proven implementation in american models since, from my understanding, all major vendors throw out the reasoning tokens between turns.
JamesSwift•40m ago
> all major vendors throw out the reasoning tokens between turns

That would be surprising to me. The reasoning _is_ the model intelligence in a lot of respects, and so dropping those from the context would affect its output pretty significantly.

I assume that instead they just have a lot of guardrails in place and multiple runtime environments that an individual turns ping-pong between in order to dehydrate/rehydrate the reasoning to keep it hidden from the end user.

root_axis•1h ago
Research shows that even the raw trace tokens do not actually reflect underlying model "thoughts".
josefritzishere•59m ago
AI does not think. It is a word guessing machine. Anthropomorphizing technology does not add anything to our understanding.
coldtea•32m ago
A brain itself might be a guessing machine it's an established and actively studied research model of the human thought and the human brain.

Nor does knee jerk accusation of "anthropomorphizing" negate the fact that procedures that mimic human processing, even when done in software, are deservingly anthropomorphized, because they're a legitimate approximation of the human equivalent operations.

runeblaze•47m ago
tbh the summarized thinking with encrypted raw thinking is there for many purposes; it is there to:

1. make distillation much harder

2. safety: prevent modifications to the thinking leading to injection attacks.

3. also honestly sometimes the model raw thoughts can be deranged and is not a good user experience (consider the varied audience in the market, etc.)

also often the mass underestimate/the model makers over-estimate how people love distilling models

himata4113•43m ago
All this effort to hide thinking and opus 4.8 after 100k-200k tokens starts to leak it's own thinking. It's comedy really.
ofjcihen•17m ago
Oh man that’s only happened to me a few times but the result is so disorienting, especially since I’m usually jailbreaking it for security.

Pages of “I have to be careful, the user is asking that I do something related to cybersecurity that could easily be turned around and used offensively” but then happily gives me what I wanted.

sigmar•43m ago
>the language in the docs is awfully indirect.

writes this^ and then proceeds to highlight a bold title from the docs that says "summarized thinking" that explains things clearly in the first sentence. lol

layer8•30m ago
The second sentence is making vague claims though.
gmerc•39m ago
It’s an anti distillation effort. They are scared.
isodev•37m ago
I hope it doesn't come as a surprise to anyone - LLMs don't really "think".
nlarew•33m ago
Your basic analysis is not the point of the article
datastoat•22m ago
I believe that chain-of-thought reasoning blocks don't really correspond to what humans think of as reasoning. (See section 6.2.2 of the Fable/Mythos system card about "illegible reasoning", and the questions raised by the Apple paper on "The illusion of thinking".) I assumed they obscure the reasoning blocks because if users saw what's going on they'd be alarmed. Just as I'd probably be alarmed if I saw what was really going on in the heads of my colleagues ...
msp26•20m ago
> Summarized thinking provides the full intelligence benefits of extended thinking, while preventing misuse.

> preventing misuse.

Imagine not being able to read the tokens you are paying for.

linsomniac•14m ago
I feel like I get a lot of what this article presents as "hidden" by using this process:

- "Read `description` and create a specification, implementation guide, and checklist." - "Ask clarifying questions. If any of those questions has a clear best recommendation, please select that yourself and record that in "autorecommendations.md". - "Have codex and antigravity review each of these and work to consensus."

These are the core of ~61 lines of prompting I do across 3 prompts, and I feel like the resulting artifacts describe some of the thinking. Also, some of the back-and-forth between the models feels like it gives some insight into the model "thinking".

I will say: I heavily used Fable when it was available; Opus + loops + codex and/or antigravity review is better than Fable at building things.

nja•12m ago
Claude Code 2.1.68 seems to have been the last version (before the "ctrl-o" debacle) which actually shows thinking inline. That + Opus 4.6 has been working great as a daily driver for me... all the new "safety" / "preventing misuse" pain points in the newer models and harnesses are so frustrating in comparison.
nekusar•8m ago
Yep, its basically a scam to charge you more tokens and provide less compute.

You cant even guarantee WHAT model you get. Or if they downgrade you. Or if you 'offend corporate sensibilities' and they misdirect or lie.

The only way to get good returns onba model is to run it yourself. Quit paying for corporate bullshit.

micromacrofoot•7m ago
well yeah I wouldn't want anyone to read my unsummarized thinking either
54m ago
Not revealing actual thinking traces prevents mdoel distillation on yhe actual output (thinking traces are a key part of the output) which makes it harder for conpetitors to catch up (a moat).

Being currently in the lead in a category is not a moat,a moat is whatever creates a barrier to competitors catching up when you are in the lead. Merely being in the lead is not a moat except in a market with strong network externalities.

singron•1h ago
Other companies were allegedly distilling the models by training on the reasoning output. By hiding the reasoning tokens, it makes it harder to do this. You can still try to distill the models, but you can't distill reasoning itself as well.

This could all be optics as well to try to give the appearance of a defensible moat. E.g. they can claim to investors that they are able to protect a significant chunk of their intellectual property this way. I'm not sure if anyone has a study about how significant the summarization is to distillation.

dragonwriter•56m ago
> Other companies were allegedly distilling the models by training on the reasoning output

In the case of makers of open-source models (which are also competition), there is no allegedly, they were (and still are) openly doing that.

genxy•6m ago
Not for long!
bigfishrunning•1h ago
Imagine if their target customers, C-suite execs looking to replace workers, knew how unlike "thinking" this process actually was! we can't have that.
shideneyu•1h ago
correct. this becomes difficult for us to understand what happens behind the scenes.
palmotea•1h ago
> This is because revealing the raw reasoning exposes exactly how the AI processes information. These companies spend in huge amounts on R&D to develop a thinking process that is superior to their competition. Exposing those thinking mechanics to competitors would completely defeat the purpose of their spending. They simply won't do it. It's like you telling your exact location to someone who is trying to hunt you down.

I thought the reason was the "reasoning" didn't work very well with "aligned" model output, so they had to remove the alignment during reasoning and then hide it to avoid exposing "unaligned" model output.

robotresearcher•1h ago
I suspect that you’re both right in the sense that ‘aligned’ is an important component of ‘superior’ from the vendors’ viewpoint.
bee_rider•49m ago
Mistral displays some “thinking” text (in their basic online chat interface) in the thinking mode, do we know if those are the real tokens?

It’s quite interesting to read. I can’t imagine using a model like this without the ability to peek inside and see if it is getting stuck.

visarga•44m ago
When you export your personal data Google hides all model responses leaving just user messages. So it's even worse
vorticalbox•6m ago
There are actually fine tunes of qwen on opus “thinking” tokens that teach it to think like opus does.

https://huggingface.co/Jackrong/Qwen3.5-27B-Claude-4.6-Opus-...

I think the "reasoning" models are best-imagined as a change in the style of document being iteratively-grown by the LLM, as opposed to something more anthropomorphized.

* Style A: There's just the spoken dialogue between a Human Customer and Helpful Chatbot.

* Style B: There's the spoken dialogue and a bunch of times the Helpful Chatbot character has an internal monologue, which provides more data for the next iteration and can be mined by custom tools to do actions and append results.

If you ask "why did you say that", it's the same process as "I have eaten an apple." It's not drawing upon memories or hidden goals, it's just finding more stuff that "fits." The difference is it can make a better fit since there's more stuff.

irthomasthomas•28m ago
Yep they store them encrypted https://blog.cryptographyengineering.com/2026/05/29/fooling-...
Roritharr•28m ago
Anthropic very explicitly says below their diagrams ( https://platform.claude.com/docs/en/build-with-claude/contex... ) on this:

"Stripping extended thinking: Extended thinking blocks (shown in dark gray) are generated during each turn's output phase, but are not carried forward as input tokens for subsequent turns. You do not need to strip the thinking blocks yourself. The Claude API automatically does this for you if you pass them back."

It's more nuanced in the various modes, but i haven't seen it boil down towards Thinking Tokens surviving more than two turns.

vesterde•33m ago
Gemini models return a thinking signature that you, I think, must send back when invoking further, so they seem to keep them?
btown•26m ago
For Claude, at least, "throw out the reasoning tokens" is only true when a session has been idle for more than an hour, and is new since March.

The basic concept is that for a session active recently, interleaved thinking tokens are already in KV cache, so it's more efficient to keep using them than not! But when resuming an older session where KV cache has been evicted, it's more expensive to restore the thinking tokens, so they're silently dropped from prior turns. It's 2026 and stateful servers are back on the menu!

https://www.anthropic.com/engineering/april-23-postmortem describes this as an intended optimization:

> The design should have been simple: if a session has been idle for more than an hour, we could reduce users’ cost of resuming that session by clearing old thinking sections. Since the request would be a cache miss anyway, we could prune unnecessary messages from the request to reduce the number of uncached tokens sent to the API. We’d then resume sending full reasoning history. To do this we used the clear_thinking_20251015 API header along with keep:1.

> The implementation had a bug. Instead of clearing thinking history once, it cleared it on every turn for the rest of the session... This surfaced as the forgetfulness, repetition, and odd tool choices people reported.

And https://news.ycombinator.com/item?id=47879561 is a thread with a Claude team member's further rationale.

> Eliding parts of the context after idle: old tool results, old messages, thinking. Of these, thinking performed the best, and when we shipped it, that's when we unintentionally introduced the bug in the blog post.

(Also, https://news.ycombinator.com/item?id=47884517 indicates OpenAI drops reasoning tokens "smartly" at its own election, which is likely a similar performance optimization.)

I've experimented with rules to have Claude Code be explicit about recapping its thinking tokens, including tool choices and approaches chosen and rejected, into actual message output, but this is lossy at best. And sometimes dropping reasoning tokens can give a session "fresh eyes" in a good way.

I just really don't like the lack of control, and it's a reminder of how ephemeral the current landscape is. The Claude giveth, and the Claude taketh away.

Roritharr•23m ago
Thank you! This is much more nuanced than my understanding so far!
kapperchino•35m ago
This agent I made can’t execute on the shell, can only edit the files within the project. Only works with rust atm though. https://github.com/Kapperchino/agent-joe