daily

2026-12-02
1

Cognitive Surrender – Addyosmani.com

Hacker News · original → · 8/10 · AI: cognitive surrender concept for engineers
Cognitive Surrender May 5, 2026 Cognitive offloading is delegating to the AI and still owning the answer. Cognitive surrender is when the AI’s output quietly becomes your output and there is nothing…

Cognitive Surrender May 5, 2026 Cognitive offloading is delegating to the AI and still owning the answer. Cognitive surrender is when the AI’s output quietly becomes your output and there is nothing you feel is left to check. For software engineers the line between the two moves under your feet most days, and most of us are crossing it without noticing. There’s a term I heard yesterday that I wanted to discuss: cognitive surrender. It comes from a recent paper out of the Wharton School at UPenn - Steven Shaw and Gideon Nave’s “Thinking - Fast, Slow, and Artificial: How AI is Reshaping Human Reasoning and the Rise of Cognitive Surrender.” The phrase has older theological roots, but the AI framing is new and it lands hard for anyone shipping code with an agent at their elbow. Their distinction is the part worth memorising: - Cognitive offloading is the calculator, the search engine, the GPS. You hand off the how and keep the what. You still judge whether the result is sensible, and you intervene when it isn’t. - Cognitive surrender is what happens when you stop constructing the answer at all. The AI’s output becomes your output. There’s nothing to override, because you never formed an independent view to compare it against. Across three experiments and 1,372 participants, Shaw and Nave found that simply having an AI available was enough for people to surrender. On trials where the AI was wrong, 73% of the time participants accepted the wrong answer. Worse: their confidence went up when AI was available, even though half the answers were deliberately incorrect. They were borrowing the model’s confidence (which is always quite high) and treating it as their own. That borrowed-confidence effect is where this stops being a general cognition story and starts being a software engineering one. Where surrender shows up in our work Most of us don’t surrender on the easy stuff. We notice when an agent invents an API or fabricates an import. The surrender happens further down the stack, in the moments where the cost of forming an independent view feels disproportionate to the task. A few places I’ve watched it happen, mostly to me: Reading the diff. The agent produces a 600-line PR. You scan it. The variable names are reasonable. The tests are green. You approve. Somewhere in the middle there’s a subtle ordering change in a transaction boundary, or a default that flips for an edge case you didn’t think to look at. You didn’t review the code. You ratified it. The surrender was the absence of a decision. Debugging an error you don’t fully understand. The stack trace looks scary. You paste it into the agent. It returns a fix. The fix works. You move on. Two weeks later a related symptom resurfaces and you realise you never actually understood the original bug. You only removed its visible expression. The system’s mental model in your head is now wrong in a place you can’t even point to. Making a design call. You’re not sure whether to use a queue or a direct call between two services. You ask the agent. It picks one with a confident-sounding paragraph of justification. You go with it. You didn’t reason about your throughput, your failure modes, your replay semantics. You took the model’s framing of the problem and the model’s answer in the same gesture. Learning something new. This is the one the Anthropic skill-formation paper puts numbers on. Engineers who used AI to generate code while learning a new library scored 17% lower on a follow-up comprehension quiz than the control group. Engineers who used AI for conceptual inquiry (asking questions, exploring tradeoffs) held their ground. Same tool. The posture changed the outcome. The thread running through all of these is the same: the model offered a complete answer, and we accepted it instead of constructing a parallel view of our own. Sometimes that’s correct. Sometimes that’s surrender. The two feel identical from the inside. The connection to comprehension debt I’ve written before about comprehension debt - the growing gap between how much code exists in your system and how much of it any human genuinely understands. Cognitive surrender is the mechanism by which comprehension debt accumulates. Each act of surrender is a tiny loan. The codebase grows by another patch you don’t fully understand. The architecture absorbs another decision you didn’t make. The test suite gains a test you didn’t think to specify. None of these feel like a problem on the day they happen. They compound. MIT’s Your Brain on ChatGPT paper showed the same pattern at the neural level: writers leaning on AI exhibited measurably reduced neural connectivity, weaker memory of what they’d just produced, and difficulty reconstructing their own reasoning. The authors called it cognitive debt, borrowed from technical debt - short-term gain, compounding long-term cost. Put the two frames together. Cognitive surrender is how you take on cognitive debt. Comprehension debt is the bill, denominated in lost mental model. The interest gets paid the next time something goes wrong and nobody on the team can reconstruct the system from first principles. The AI doesn’t create the debt. The posture you bring to it does. The same model that hollows out one engineer’s mental model can sharpen another’s, depending on whether they’re using it to think or instead of thinking. Why software engineers are unusually exposed A few features of our work make us more vulnerable than the average knowledge worker. Surface signals look correct by default. Generated code compiles. It passes the linter. It runs. It looks like the rest of the file. Most domains don’t have such a strong “looks plausible” filter for the AI’s output. Ours does, and it’s the wrong filter. Surface correctness is not systemic correctness, and the gap between them is exactly where surrender hides. Throughput is the visible metric. PRs merged, features shipped, tickets closed. None of these distinguish between “I built this and understand it” and “the agent built this and I approved it.” The org rewards both equivalently in the short run. Surrender is invisible to the dashboard. Confidence transfers cleanly. Models speak in declaratives. Code reviews tend to read declaratives as authority. When the agent writes “we use a debounce of 300ms here to avoid jank,” it sounds like institutional knowledge, even if the model invented the number on the spot. You inherit its certainty without inheriting its (nonexistent) reasoning. The work composes. Each surrender enables the next one. Once you’ve accepted a chunk you don’t fully understand, the next change to that chunk is almost guaranteed to be another act of surrender, because forming an independent view now requires reconstructing the part you skipped. Surrender is path-dependent. I’m not arguing against AI coding tools. The posture matters more than the tool, and we don’t have many of the habits we need yet. The calibration question Shaw himself is careful not to be alarmist about this. His framing is the one I’d repeat back to anyone using these tools seriously: Cognitive surrender is not the same as saying AI is bad or that using AI is irrational; in many settings, AI can improve judgment. The key issue is calibration: knowing when AI is helping you think and when it is quietly doing the thinking for you. The question to keep asking yourself: am I forming an independent view of this answer, or just adopting the agent’s view wholesale? Those are different psychological acts that look identical from the outside. A few heuristics I’ve started using to keep myself on the offloading side of the line: Construct an expectation before reading the output. Before I run the agent on a non-trivial task I write down (even just in my head) what I think the answer should look like. Three lines or fifty. A queue or a direct call. Whether the bug is in this module or that one. When the agent’s answer matches my expectation, I’m calibrated. When it doesn’t, I have a real choice to make: am I wrong, or is it? That choice is the thing surrender skips. Read the diff like the AI didn’t write it. Pretend a junior engineer on your team submitted the PR. Would you merge it on the strength of “the tests pass”? You wouldn’t. The same standard should apply when the author is a model. The job hasn’t changed; the author has. “Seems right” is still not a review. Ask the model to argue against itself. Most models will produce a confident answer and then, when prompted, produce an equally confident counter-argument. That second pass is cheap and it breaks the borrowed-confidence effect. If you can’t reason about which of the two answers is right, you’ve found a place where you were about to surrender. Notice when you’re tired. Surrender is a fatigue phenomenon. The first PR of the day gets a real review; the fifth one gets a glance. Senior engineers I trust have all converged on some version of “stop letting the agent generate when I’m too tired to evaluate.” That self-knowledge is part of the job now. Watch where the confidence is coming from. If you find yourself defending a design choice in a meeting and you can’t actually reconstruct why it was made, only that the agent suggested it and it seemed reasonable, you’ve inherited the model’s confidence without any of the reasoning underneath it. That’s a surrender artifact. Go back to the code and rebuild the why before the conversation continues. Engineering moves that resist surrender The personal heuristics matter, but there’s a structural version of this too. Most of what I’ve been writing about over the past few months (Agent Skills, agent harness engineering, the comprehension debt post) is about building scaffolding that makes surrender harder. A short list of moves that hold up: Verification as a hard exit criterion. Every agent-completed task should terminate in concrete evidence: a test that runs, a screenshot, a log, a runtime trace, a reviewer signoff. “It looks done” is the surrender-friendly exit. “Here is the evidence it works” is the surrender-resistant one. Bake the evidence requirement into the workflow and you remove the easiest path to surrender. Anti-rationalization tables. The most distinctive design choice in Agent Skills is to pair each common excuse for skipping a workflow step with a written rebuttal. That doubles as a surrender-resistance mechanism. “This task is too simple to need a spec.” → “Acceptance criteria still apply.” You’re pre-writing the rebuttal to the rationalization the model (or your tired Friday-afternoon self) hasn’t yet produced. Models are exceptional at generating plausible reasons to skip the rigorous step. Anti-rationalization tables refuse to argue with them on the day. Smaller scope, smaller PRs. Surrender scales with size. A 50-line change you can actually read; a 600-line change you cannot. Google’s ~100-line PR norm exists for human reasons but it works against AI surrender for the same reasons. The unit of review is the unit of comprehension. Make the unit small enough to actually comprehend. Conceptual inquiry over generation, when learning. This is the skill-formation paper’s finding restated as a habit. When you’re new to a library or a system, ask the agent to explain before you ask it to generate. The same tool, used to interrogate rather than to produce, builds rather than erodes your mental model. The data is unambiguous on this and the cost of switching modes is trivial. Friction by design. The arXiv “Cognitive Agency Surrender” paper proposes Scaffolded Cognitive Friction: deliberately introducing moments of resistance to interrupt heuristic acceptance. In engineering terms: a required design doc before generation, a confirmation step before merge, a checklist before deploy. Friction has a bad reputation in productivity discourse. It’s also exactly what stands between offloading and surrender. Solo time at the keyboard. Write some code without the agent, every week. Not as a moral exercise; as a calibration exercise. The day you can’t comfortably build something simple without AI assistance is the day the offloading became surrender and you didn’t notice. Mutual amplification, not delegation The frame I want to leave on isn’t the bleak one. Andy Clark, quoted in Time on this research, draws the right distinction: there’s a difference between delegating to an AI system and cooperating with it. Delegation produces surrender. Cooperation produces what he calls mutual amplification: a loop where your prompts sharpen the model’s output, which sharpens your next prompts, which sharpens your model of the problem. You can feel the difference. With mutual amplification you catch yourself learning the domain through the conversation, not in spite of it. You end the session with a sharper mental model than you started with, not a fuzzier one. You can still build the thing yourself; you’ve just chosen a faster path. The agent is the second engineer in the room, not the only one. The surrender posture is the inverse. The agent ends with a sharper model of the problem than you do. You can’t reconstruct the design. You can’t debug the code without the agent’s help. You’ve outsourced the part of the work that was supposed to be making you better. Both postures use the same tools. Both produce code that ships. From the outside, on a single sprint, they look identical. The difference shows up six months in, when something breaks and one of the two engineers can fix it from first principles and the other can’t. What I most want this post to do Not to scare anyone off these tools. I use them every day. I’ve shipped more in the last twelve months than in any previous twelve, and I think the people sitting this out are making a much bigger mistake than the people leaning in. But the posture matters, and we don’t talk about it nearly enough. The conversation is mostly about what models can do. It needs to be at least as much about what we’re doing with them, and whether the answer is thinking with or not thinking at all. Cognitive offloading is a superpower. Cognitive surrender is the failure mode of using it without noticing the line between them. The job, increasingly, is to stay calibrated about which side of that line you’re standing on at any given moment. If your code is shipping and your understanding of the system is shrinking, you’re paying with cognitive debt. If your code is shipping and your understanding of the system is growing, you’re doing the actual job, just faster than before. The tools are the same in both cases. The posture is what differs. That’s the part still entirely yours.

2

Ty 1.0: Fast Python type checker and language server

Hacker News · original → · 8/10 · Work/AI: Python type checker at OpenAI
TL;DR:ty is an extremely fast Python type checker and language server, written in Rust, and designed as an alternative to tools like mypy, Pyright, and Pyrefly. ty is now the default and most…

TL;DR:ty is an extremely fast Python type checker and language server, written in Rust, and designed as an alternative to tools like mypy, Pyright, and Pyrefly. ty is now the default and most widely-deployed type checker at OpenAI, providing coverage for many millions of lines of critical Python. Internally, migrating to ty resulted in a median 24x speedup and 73% reduction in peak memory usage. We’re ready to recommend it for production use, for all users. At Astral, we build high-performance developer tools for the Python ecosystem. We're best known for uv, our Python package manager, and Ruff, our linter and formatter. Today, we're announcing the 1.0 release of ty, an extremely fast Python type checker and language server, written in Rust. You can install ty today with uv tool install ty@latest, or via our VS Code extension. Like the rest of the Astral toolchain, ty was built with an obsessive focus on performance. In our benchmarks, ty was the fastest type checker on 16 out of 18 ecosystem projects: 1.46x faster than Pyrefly and 3.56x faster than Zuban (both written in Rust), by geometric mean. ty’s architecture is built around "incrementality", which makes live updates extremely fast in the context of an editor or long-lived process. (In the future, we plan to leverage this incrementality to power workflows beyond the editor.) In our editor benchmarks, ty was the fastest language server on 14 out of 17 ecosystem projects (7.73x faster than Pyrefly, and 3.22x faster than Zuban). ty has grown rapidly over the past few months (despite its Beta status), with adoption in widely used projects like FastAPI and tox. In a November audit of the 25,000 most-downloaded PyPI packages, 11.6% of repositories with a type checker used ty, placing it third behind mypy and Pyright. Among those repositories created in the last year, 22.6% used ty, 26.0% used Pyright, and 62.9% used mypy. ty takes a novel approach to Python typing based on gradual and set-theoretic typing. It’s our belief that this foundation will enable us to build more than a “faster type checker.” We want to build a better type checker, and one that can co-evolve with Python’s type system. On the Python typing conformance suite, an imperfect proxy for real-world correctness, ty now records just 14 false positives and 13 false negatives, down from 224 and 405 at the Beta release. (For comparison, mypy reports 190 false positives and 109 false negatives.) The 1.0 release includes extensive improvements to core type checking, including a novel generics solver and support for extensive bidirectional inference. Of the eight type checkers we tested, only ty both reported the misspelled key below and accepted the function after we corrected it. For a more extreme example, consider satisfies_all, which conjoins an arbitrary number of predicates. ty infers that valid_batch needs an input that has a length and yields integers, accepting [1, 2, 3] and rejecting iter([1, 2, 3]). Mypy infers Never for the conjoined predicates’ input and rejects both calls. Pyright infers Sized from large_enough and flags the call to satisfies_all. Pyrefly infers Sized | Iterable[int] and accepts the iterator, which fails at runtime. We’ve also added opt-in return type inference for functions without return annotations. In the example below, decode checks that a log record has an id before returning it. ty carries that information to the caller, so it accepts record.id. With return type inference enabled, Pyright, Pyrefly, and Zuban infer LogRecord and flag the access to record.id. Mypy infers Any. In the Beta announcement, we highlighted our best-in-class diagnostic system and editor integrations. A single ty diagnostic can connect a warning to its cause, even across files, and suggest a fix. In 1.0, we also support applying those fixes automatically via ty check --fix. When migrating an existing project, you can now run ty check --add-ignore to add suppression comments in one pass. Alternatively, configure a diagnostic baseline and run ty check --update-baseline to record existing diagnostics in a separate file. Commit that file, and CI can flag new errors while you fix existing diagnostics over time. In our uv and ty integration announcement, we introduced support for type checking standalone Python scripts that declare their dependencies and Python requirements through inline metadata (PEP 723). By integrating with uv, ty can automatically prepare a separate environment for each script, allowing you to check an entire project and its scripts together, even when they require different Python versions or conflicting dependencies. The same integration powers completions, code navigation, and diagnostics in your editor. With the 1.0 release, this integration is available in preview and can now be enabled directly in your ty configuration with project-manager.script = "uv". Finally, we’ve made ty stricter in some places and more permissive in others. For example, ty now infers more precise types for containers and attributes without annotations, enabling it to catch errors even in lightly typed code. We've also relaxed some of the rules for narrowing types after checks like isinstance, so common Python patterns need fewer casts or annotations. In the example below, the parameter is annotated as Term | list[Term]. After isinstance(terms, list), we’d usually expect each item to be a Term. But a subclass of Term could also inherit from list[str], so the list could contain strings. ty now accepts term.text by default and flags the access when strict generic narrowing is enabled. These changes were informed by iterating with users and reviewing real projects in the ecosystem, balancing precision and usefulness with soundness. For users who want to prioritize soundness, ty offers opt-in settings like strict generic narrowing that often go beyond what other type checkers support. Similarly, ty supports many of the type-enforcement rules popular in mypy’s strict mode, sometimes going further. For example, ty can warn when a function returns Any, including partially-Any cases that mypy’s warn-return-any misses: ty is the most technically ambitious project I have ever worked on. Our goal was to build something genuinely new: an architecture designed around fine-grained incrementality, a novel application of gradual and set-theoretic typing to Python, and a foundation for entirely new kinds of developer tools. I feel immense pride in the core team as we ship 1.0 (Alex, Andrew, Aria, Carl, David, Dhruv, Doug, Ibraheem, Jack, Lérè, Micha, and Shunsuke). As in the Beta release, our immediate priority from here is supporting users as they adopt ty. Now that we’ve built the core of our type checker, though, we can start exploring its broader applications: type-aware linting, dead-code elimination, unused dependency analysis, type-aware test selection, and more. We want to make Python the most productive version of itself. And with ty, we can power an entirely new set of tools and capabilities for the language based on the most sophisticated Python type engine in the world. Just as with Ruff and uv, our commitment from here is that ty will get significantly better every week by working closely with our users. Thank you for building with us.

3

Claude 5-minute prompt cache vs GPT 30-minute cache: the cost of pauses

Hacker News · original → · 8/10 · Work/AI: prompt cache cost analysis for developers
Sections (7)▾ Across 30 days of coding-agent traffic (October 24 to November 22, 2026), 23.1% of the total Claude bill across Claude Code, OpenCode, Codex, Pi, and Kilo went to rebuilding prompt…

Sections (7)▾ Across 30 days of coding-agent traffic (October 24 to November 22, 2026), 23.1% of the total Claude bill across Claude Code, OpenCode, Codex, Pi, and Kilo went to rebuilding prompt caches that had expired while the developer was away. On GPT models across the same tools and window, the figure was 9.3%. On breaks longer than 30 minutes, both families lose roughly the same share of the bill (7.8% on Claude, 8.5% on GPT), because both caches are gone. On breaks between 5 and 30 minutes, Claude loses 15.2% of the bill and GPT loses 0.8%. One 8-minute break on a 210,000-token Claude Opus 5.5 session turns a $0.04 cache read into a $1.05 cache write at Anthropic's list price, and that happens on 81% of Opus 5.5 pauses in that window. Both labs charge the same per-token cache multipliers on their current models. The split comes from the default TTL: | Claude Opus 5.5 / Sonnet 5.5 | GPT-6.1 Sol | | |---|---|---| | Cache read | 0.05x input | 0.05x input | | Cache write (default) | 1.25x input | 1.25x input | | Default TTL | 5 minutes | 30 minutes (minimum) | | Longer TTL option | 1 hour at 2.0x write | 12 hours at 2.5x write (Responses API) | | Read refreshes the timer | Yes | Yes | The one line missing from every pricing table To see why a timer changes the economics of a coding agent, look at how a single session runs. On turn one, the agent sends the system prompt, tool definitions, and your first message. On turn twenty, it sends all of that again plus nineteen turns of tool outputs and diffs. Without prompt caching, every turn pays full input price on the entire growing prefix. With caching, you pay 1.25x once to write new tokens into cache, and 0.05x to read the cached prefix on every subsequent turn. In production, that brings Claude coding bills down to 16.7% of list price (83% saved). While the agent is looping on its own (running tests and editing files), requests arrive every few seconds. Each cache read resets the timer on both providers, so the prefix stays warm and you pay 0.05x over and over. The bill jumps when the agent stops and waits for you. If you read a diff or grab coffee for 8 minutes, Claude's 5-minute TTL expires and the next turn pays 1.25x across the entire conversation prefix, 25x what a warm read would have cost. GPT-6.1 Sol (which bills the same 1.25x write fee on GPT-5.6 and later, unlike GPT-5.5 and earlier) still has 22 minutes left on its clock and serves the read at 0.05x. Most coding tools never opt into Claude's 1-hour option at 2.0x writes: across our 30-day window, OpenCode sent 0% of large Claude writes at 1 hour, and Claude Code used 1 hour on 2% to 10% across most routes. A cliff at 5 minutes versus a cliff at 30 Measure how often a continuing turn reads at least 90% of the prior prompt from cache, plot it against the time elapsed since the last request, and the two providers draw two different cliffs. On the Anthropic API, the full-hit rate sits at 98.4% between 4:45 and 5:00, then falls off a ledge to 6.5% at 5:15 to 5:30. Vertex mirrors it (92.2% down to 5.0%). GPT-6.1 Sol on Azure holds 95.8% all the way to 27 to 29 minutes, hits 52.5% across minutes 29 to 31, and drops to 1.9% by 31 to 33 minutes, matching OpenAI's documented 30-minute floor. Bedrock runs the same 5-minute TTL on a slightly friendlier clock. Measured start-to-start, Bedrock's hit rate only falls to 54.6% at minute five. Measured from the end of the previous response to the start of the next request, it drops cleanly from 91.3% at 4:45 to 5:00 to 2.5% at 5:00 to 5:15. Anthropic and Vertex start the clock when a request begins (so slow reasoning turns eat into your 5 minutes, and turns running past 5 minutes expire their own cache, 0.19% of input spend today). We checked both sides live with random prompts on fresh sessions. After a 12-minute pause, GPT-6.1 Sol read the entire prefix on both OpenAI direct and Azure Sweden Central, then missed at 40 minutes. After 12 to 13.5 minutes, every Claude route we tested (Anthropic API, Bedrock, and Vertex) had evicted the cache and billed a full rewrite. Could the gap in coding bills still come from different developer behavior or different coding tools? No. Main-agent pauses over 5 minutes happen at the same rate across session lengths on both families: | Session length | Pauses over 5 min per session (Claude) | Pauses over 5 min per session (GPT) | |---|---|---| | 15 to 60 minutes | 1.1 | 1.1 | | 1 to 4 hours | 3.3 | 3.3 | | 4 to 24 hours | 5.9 | 5.9 | | Over 24 hours | 13.9 | 13.2 | Restrict the comparison to a single tool with persistent conversation IDs on both families (OpenCode), and the result gets even cleaner: pause rebuilds took 30.6% of the Claude bill versus 11.3% on GPT. On breaks over 30 minutes, OpenCode lost the exact same share on both models (3.7% for 30 to 60 minutes, 6.7% past an hour). The difference came entirely from 5 to 30 minute pauses: 20.2% on Claude, 0.9% on GPT. Minutes five through ten cost more than overnight breaks Most engineers assume the big cache misses happen when you close your laptop overnight and resume a thread the next morning. The production data says the opposite. | Away for | Claude miss rate | Claude share of bill lost | GPT miss rate | GPT share of bill lost | |---|---|---|---|---| | 5 to 10 min | 77% | 8.0% | 4% | 0.4% | | 10 to 15 min | 81% | 3.5% | 4% | 0.2% | | 15 to 30 min | 81% | 3.8% | 6% | 0.2% | | 30 to 60 min | 82% | 2.6% | 94% | 3.5% | | 1 to 6 hours | 87% | 2.8% | 96% | 2.8% | | 6 to 24 hours | 88% | 1.5% | 98% | 1.4% | | Over 24 hours | 87% | 0.9% | 96% | 0.7% | | Total (over 5 min) | 23.1% | 9.3% | On Claude, pauses between 5 and 10 minutes eat 8.0% of the entire coding bill. That single five-minute slice costs more than every break over an hour combined (5.3%). Nearly half of all Claude pause losses happen within 15 minutes of the last message, and two-thirds happen within 30 minutes (15.2% of the bill, against 0.8% on GPT). Once a break passes 30 minutes, both caches are gone and the two curves converge: 7.8% on Claude, 8.5% on GPT. Replay each family's real sessions under different cache lifetimes (holding prompts, gaps, and read multipliers fixed, assuming a 1.25x rebuild whenever a gap exceeds the TTL), and the two families collapse onto the same line: | Sessions | 5-min cache | 10-min cache | 15-min cache | 30-min cache | 60-min cache | |---|---|---|---|---|---| | Claude coding sessions | 27.5% | 17.1% | 13.1% | 8.7% | 5.7% | | GPT coding sessions | 35.6% | 20.7% | 14.9% | 8.7% | 5.0% | With a 30-minute default, Claude sessions lose 8.7%, identical to GPT's 8.7% (and about 14% below Claude's measured 23.1%). Put GPT on a 5-minute cache and its loss jumps to 35.6%, because input tokens are a bigger share of GPT coding bills. (Because this is a replay that assumes every turn past the TTL misses and ignores the small share already on 1-hour writes, its 5-minute Claude estimate of 27.5% sits above the measured 23.1%.) This pattern holds across nearly every team in the dataset. Among active coding organizations ($100+ monthly spend), the median Claude team loses 23.3% of its bill to pauses (IQR 11.1% to 29.4%, p90 34.7%), versus 7.8% on GPT (IQR 3.1% to 14.2%). Restrict it to 5 to 30 minute pauses, and ~85% of Claude teams lose more than 5% of their bill, while 0% of GPT teams do. Two models at $2 per million tokens, 34x apart on a coffee break On Claude Opus 5.5, a single 5 to 30 minute pause misses 81% of the time on a median prompt of 207,000 tokens. One miss adds $1.06 in write cost ($3.09 at p90), making the expected cost of every 5 to 30 minute break $0.86. Opus 5.5 sits at a higher list price than GPT-6.1 Sol, so to keep input and output pricing matched, compare Claude Sonnet 5.5 against GPT-6.1 Sol. Both list at $2 per million input tokens and $10 per million output tokens direct, both bill 1.25x to write and 0.05x to read, and both reach roughly 140,000 tokens at a pause miss: | Model (5 to 30 min pauses) | Direct input / output | Miss rate | Median prompt at miss | Median loss per miss | Expected cost per pause | |---|---|---|---|---|---| | Claude Opus 5.5 | $4 / $20 per MTok | 81.0% | 207K tokens | $1.06 | $0.86 | | Claude Sonnet 5.5 | $2 / $10 per MTok | 81.2% | 140K tokens | $0.35 | $0.28 | | GPT-6.1 Sol | $2 / $10 per MTok | 2.3% | 142K tokens | $0.37 | $0.008 | Look at the last two rows. When a miss happens, the dollar damage is virtually identical ($0.35 on Sonnet 5.5, $0.37 on GPT-6.1 Sol). The difference is frequency: Sonnet 5.5 misses 81.2% of 5 to 30 minute breaks while GPT-6.1 Sol misses 2.3%, turning an identical price sheet into $0.28 per break versus $0.008 (less than a penny, a 34x gap). Stretch that across a 20-workday month. Our assumption: a developer pauses four times a day for 5 to 30 minutes (20 breaks per week, 80 per month, consistent with the 3.3 to 5.9 pauses over 5 minutes measured in 1 to 24 hour sessions). That adds ~$5.70 a week (~$23 a month) per seat on Sonnet 5.5 against ~$0.17 a week (~$0.66 a month) on GPT-6.1 Sol. On Opus 5.5, the same four short breaks a day cost ~$17 a week (~$69 a month per developer, or ~$1,380 a month across a 20-person engineering team). Cut the break rate in half to two a day and an Opus 5.5 team of 20 still pays ~$690 a month just for breaks under half an hour. One reason teams miss this on day one is where the waste concentrates. Under 15 minutes, median pause loss is 0% on both families, and 76% of all Claude coding conversations finish inside 5 minutes. Conversations running past an hour carry ~80% of total spend, and that is where the timer compounds: | Session length | Claude median (p25 to p75) | GPT median (p25 to p75) | Claude weighted | GPT weighted | |---|---|---|---|---| | 15 to 60 min | 2.4% (0% to 20.5%) | 0.0% (0% to 0%) | 8.2% | 1.8% | | 1 to 4 hours | 17.9% (5.9% to 30.1%) | 4.3% (0% to 18.5%) | 16.9% | 7.2% | | 4 to 24 hours | 22.4% (11.1% to 34.2%) | 12.0% (5.0% to 23.6%) | 22.1% | 10.7% | | Over 24 hours | 27.7% (14.9% to 40.8%) | 18.8% (8.7% to 29.8%) | 34.0% | 20.9% | Expressed against a perfect warm cache that never expires on pauses (1 / (1 - share lost) ), Claude's 23.1% loss means you pay 1.30x the warm-cache bill across coding traffic, while GPT's 9.3% loss puts it at 1.10x. What worked when we tried to fix it We tested five fixes on live Claude endpoints (Anthropic API, Bedrock, and Vertex across Haiku, Sonnet, and Opus 5.5) and replayed them across 30 days of coding traffic in two simulators and a cohort replay: | Fix | Net saving on Claude coding bill | Main catch | |---|---|---| Adaptive keep-alive pings (max_tokens: 0 ) | ~8% to 9% net (12% to 14% gross) | Holds last request in memory; max_tokens: 0 API limits | | 2 fixed pings on every idle main turn | ~7% to 9% net | Wastes pings on short threads | | Cold switch to 1h after first pause (turn >= 10) | ~5% to 7% net | Waits for one miss first | | Blanket 1h from turn 1 | +1% to +10% (model-dependent) | 87% to 89% of sessions pay more | | Mid-session switch to 1h on warm cache | ~0% (Anthropic API and Vertex) | Rewrites the entire prompt at 2.0x (live-tested) | The 1-hour cache has two catches. Turning it on from turn 1 charges 2.0x (an extra 0.75x) on every write, so 87% to 89% of sessions end up paying more. Switching a warm 5-minute conversation to 1 hour mid-session backfires even harder: in live runs on Anthropic API (Haiku, Sonnet, and Opus 5.5) and single-region Vertex (europe-west1 ), sending a new turn with 1-hour markers against a warm 5-minute cache read 0 tokens and rewrote the entire prompt at 2.0x. On Anthropic API and Vertex, a 1-hour write can only extend a 1-hour entry (an exact repeat reads 5m without creating a 1h entry; AWS Bedrock was an undocumented exception in 4 of 4 runs, reading the 5m prefix and surviving 12 minutes). If you want 1-hour caching without the upfront tax, switch cold on the first turn after a 5-minute pause (~5% to 7% net), or put static tools and system prompts on 1 hour and messages on 5 minutes from turn 1 (1-hour markers must precede 5-minute ones, or you get HTTP 400). Adaptive keep-alive pings beat every 1-hour option. After 4.5 minutes idle, re-send the exact last request body with max_tokens: 0 (removing stream: true ) to the same provider, region, and credentials: def keep_alive(client, last_request: dict): # Keep model, system, tools, messages, thinking, and effort identical. body = {**last_request, "max_tokens": 0} body.pop("stream", None) # stream: true is rejected with max_tokens: 0 return client.messages.create(**body) Live runs on Anthropic API (Opus 5.5), Bedrock (eu-central-1 , Opus 5.5), Vertex (europe-west1 , Sonnet 4.6), and with tool schemas attached all confirmed 0 output tokens, 100% prefix reads, and warm survival past 13.5 minutes (count_tokens does not refresh the cache). A ping pays off whenever return odds beat read / (write - read) , which is 4.2% on Opus 5.5 and Sonnet 5.5 (8.7% on 0.10x models; 2.0% on Fable 5.2). Because production return probability rises from 2.7% on turns 1 to 5 to 10.7% on turns 6 to 10, 15.9% on turns 11 to 20, 19.5% on turns 21 to 40, 24.2% on turns 41 to 100, and 30.8% past turn 100 (halving roughly per ping), capping pings by turn depth (0 early, 2 to 6 on deeper threads, including after tool calls) cuts ~8% to 9% net off the Claude coding bill, closing over half of the 14-point gap to GPT. Three limits to keep in mind. Anthropic documents that max_tokens: 0 is rejected with thinking.type: "enabled" , structured outputs (output_config.format ), forced tool_choice , and Message Batches (and altering thinking settings changes the cache key, so those requests need cold-switching or turn-1 1-hour caching). Your harness must store the last request body for up to ~30 minutes. And terminal pings after a developer stops working go unused: in our replay, 43% to 52% of long sessions spent more in pings than they saved individually, even while aggregate coding spend fell 8% to 9%. How we measured We analyzed 30 days (October 24 to November 22, 2026) of production coding traffic across Claude Code, OpenCode, Codex, Pi, and Kilo on Anthropic API, Bedrock, Vertex, OpenAI, and Azure using token and billing counters only (no prompt text). A pause miss is a continuing turn after a gap over 5 minutes that reads under 10% of the prior prompt from cache, priced strictly at the avoidable write-minus-read cost; swaps and fixes are replays on those sessions, and live checks used fresh random prompts per run. So what? Stop benchmarking coding models on per-token price sheets alone. Pull your own usage logs this afternoon and count every continuing turn past 300 seconds where cache_read_input_tokens drops near zero and cache_creation_input_tokens spikes to full prompt size; that number is your pause bill. If you build a coding agent, leave short runs and subagents on 5 minutes and add a turn-depth max_tokens: 0 keep-alive schedule on main threads past turn 5 (or, where max_tokens: 0 is unsupported or state cannot be held, switch cold to 1 hour on the first turn after a 5-minute miss, and never upgrade a warm 5-minute cache mid-session on Anthropic API or Vertex). If you are evaluating models for a team, test them across real multi-hour workdays with human breaks, because a 5-minute clock turns equal sticker prices into very different monthly bills. The cleanest fix sits upstream with the model providers: publish default cache TTL right beside input and output rates, move the default closer to how long engineers spend reading a diff, or allow a 1-hour write to extend a warm 5-minute entry instead of rebuilding it at 2.0x. Until then, treat cache lifetime as a first-class line item in every coding-agent budget. FAQ How long does Claude's prompt cache last?+ The default Claude prompt cache lives 5 minutes, measured from the start of the last request that wrote or read it. Each read restarts the 5 minutes. A 1-hour option exists, with cache writes billed at 2 times the input price instead of 1.25 times. How long does GPT's prompt cache last?+ On GPT-5.6 and later, the default prompt cache lifetime is a minimum of 30 minutes, with cache writes billed at 1.25 times the input price. A 12-hour option is available in the Responses API at 2.5 times. In our production data, GPT-6.1 Sol caches held until about 29 minutes and were gone by 31 to 33. How much do Claude coding agents spend rebuilding the cache?+ In 30 days of Claude Code, OpenCode, Codex, Pi and Kilo traffic on Requesty, rebuilding prompt caches after breaks of more than 5 minutes cost 23.1% of the Claude bill and 9.3% of the GPT bill. For breaks of 5 to 30 minutes it was 15.2% against 0.8%. Can I switch a Claude conversation to the 1-hour cache halfway through?+ On the Anthropic API and Vertex AI, a turn sent with 1-hour cache markers after a warm 5-minute cache read nothing and wrote the whole prompt again at the 1-hour price in our tests. Set the 1-hour TTL from the first request, or switch on the first turn after a pause of more than 5 minutes, when the cache is gone anyway. What is a keep-alive ping for prompt caching?+ While the user is idle, you send the last request again with max_tokens set to 0 about every 4.5 minutes. The API reads the cached prefix, returns no output tokens and restarts the cache timer. In our replay, keep-alive pings capped by session depth cut a Claude coding bill by about 8 to 9% net. Related notes - What is prompt caching? How it works on Claude, GPT and GeminiCost Optimization · Nov 2026 · 16m - 86% of agent token burn is cached input: cache hit rate is the number that decides your billCost Optimization · Aug 2026 · 6m - OpenAI prompt caching: prompt_cache_key, pricing and hit ratesAI Models · Nov 2026 · 9m - Prompt Caching Price Comparison Across Providers (2026)Cost Optimization · Sep 2026 · 15m

4

ty 1.0

Simon Willison · original → · 8/10 · Work/AI: Python type checker production ready
1st December 2026 - Link Blog ty 1.0 (via) Astral's fast type checker for Python has hit 1.0, and they now "recommend it for production use". ty is now the default and most widely-deployed type…

1st December 2026 - Link Blog ty 1.0 (via) Astral's fast type checker for Python has hit 1.0, and they now "recommend it for production use". ty is now the default and most widely-deployed type checker at OpenAI, providing coverage for many millions of lines of critical Python. Internally, migrating to ty resulted in a median 24x speedup and 73% reduction in peak memory usage. It has built-in support for Django provided the django-types package is also installed. Recent articles - Lenny's Podcast: Coding is solved—now what do we do? - 29th November 2026 - Code-driven AI illustrations are more useful than images from dedicated image models - 28th November 2026 - Three LLM inflection points in twelve months - 24th November 2026 - Ladybird's first alpha release - 23rd November 2026

5

Fine Gael meeting in Ballindaggin Hall

Wexford Local · original → · 7/10 · Local Wexford: Fine Gael constituency meeting
[image →]Brian Brennan TD, Cllrs Darragh McDonald and Pat Kehoe with Fine Gael members at the meeting in Ballindaggin Hall. By Dan Walsh The Wicklow Wexford Fine Gael Constituency organisation held…
[image →]
Brian Brennan TD, Cllrs Darragh McDonald and Pat Kehoe with Fine Gael members at the meeting in Ballindaggin Hall.

By Dan Walsh

The Wicklow Wexford Fine Gael Constituency organisation held the first ever constituency meeting in Ballindaggin Hall on Monday evening.

Led by constituency chair Edel Gahan and Fine Gael TD for Wicklow Wexford, Brian Brennan, there has been a concerted effort to alternate meeting venues to provide an opportunity for members of local branches to meet within their area to have the chance to have their say in the direction of the party and development of policy.

The constituency, which was formed in 2024 combines parts of south County Wicklow and north County Wexford, stretching from Ballindaggin to Kilmuckridge on its southern boundary and extending as far North as Rathdrum and Redcross on the Wicklow side.

Speaking at the meeting Deputy Brennan stated “It is of vital importance that our organisation reaches out to all corners of the constituency so that we can represent the views of all of our members on the ground. This corner of Wexford is geographically on the very edge of the constituency but is very much at the heart of the organisation.

Following the meeting, Constituency Chair, Edel Gahan said; “I was delighted with the great attendance on the night and the interaction and input of party members, who have a genuine interest and desire to support the party and ensure the best for the country.  I would like to thank Ballindaggin members Joan Rafter and Bertie Warren for their assistance in organising the meeting”.

In attendance were local Cllr Pat Kehoe, Cathaoirleach Enniscorthy Municipal District Council and Cllr Darragh McDonald. Leas-Cathaoirleach Gorey-Kilmuckridge Municipal District Council who provided updates on the extensive work that they are undertaking in their districts and within their Local Authority, representing the Fine Gael Party and the people who elected them to office, and former Cllr. Kathleen Codd Nolan who served the area so well for so many years.

6

Large CSV imports in Datasette (Datasette Advent Day 1)

Simon Willison · original → · 7/10 · Work/platforms: Datasette CSV import feature
1st December 2026 - Link Blog Large CSV imports in Datasette (Datasette Advent Day 1). My open source project Datasette has accumulated a lot of new features this year that I haven't done a great…

1st December 2026 - Link Blog Large CSV imports in Datasette (Datasette Advent Day 1). My open source project Datasette has accumulated a lot of new features this year that I haven't done a great job in explaining. I've decided to fix that this December through an advent calendar format: every day up to Christmas I'll be publishing a short video demonstrating a new feature of Datasette or the wider Datasette plugin ecosystem. Today's covers a feature that I just landed in Datasette 1.0a46 a few hours ago: large CSV imports. You can now import CSV or TSV files of any size into a Datasette table using the browser upload tool - the files are streamed and parsed in your browser and sent to the Datasette insert API in batches. In the video I import 26,000 rows of iNaturalist observation data in just a few seconds. I then go on to show faceting to analyze data, plus a new UI for selecting and reordering the columns in a table. Recent articles - Lenny's Podcast: Coding is solved—now what do we do? - 29th November 2026 - Code-driven AI illustrations are more useful than images from dedicated image models - 28th November 2026 - Three LLM inflection points in twelve months - 24th November 2026 - Ladybird's first alpha release - 23rd November 2026

7

AT Protocol: The Spaces Public Beta is Now Live

Simon Willison · original → · 7/10 · Work/platforms: AT Protocol private spaces beta
1st December 2026 - Link Blog AT Protocol: The Spaces Public Beta is Now Live. Huge new feature for AT Protocol, the open protocol standard and network used by Bluesky. Up until now everything you…

1st December 2026 - Link Blog AT Protocol: The Spaces Public Beta is Now Live. Huge new feature for AT Protocol, the open protocol standard and network used by Bluesky. Up until now everything you publish on AT Protocol has been public (and extensively mirrored across the public network). This new work introduces a model for private and selectively shared data: Spaces expands the open social internet by introducing a way to build applications that let anyone share data with any group of people, rather than the entire public internet. A space can be as personal as a journal or as large as a community of thousands or even millions of people. Your data continues to live on your own PDS - Personal Data Server - of which the free Bluesky-hosted bsky.social is by far the most popular. Under the new model you can now host private data within that PDS that is attached to a "space" - effectively a group that other users can become members of, which gives them permission to read that data from your PDS. This is more of a platform to build things on than an end-user feature, but it's going to be very interesting to see what people build with it. Recent articles - Lenny's Podcast: Coding is solved—now what do we do? - 29th November 2026 - Code-driven AI illustrations are more useful than images from dedicated image models - 28th November 2026 - Three LLM inflection points in twelve months - 24th November 2026 - Ladybird's first alpha release - 23rd November 2026

Items scoring 7/10 or above from 11 sources, scored by claude-haiku-4-5-20251001 on relevance to my interests. At most 3 per source.

Scoring categories & sources
  1. Local Wexford or South East Ireland news
  2. Irish or EU-wide affairs affecting citizens broadly: elections, new laws or policy being debated, cost of living, education — especially impacts on mid-life adults or teenagers. Never courts/crime stories.
  3. Irish news on a topic relevant to my interests
  4. Work and tech topics: networking, AI, Kubernetes, platforms, SaaS
  5. AI news including critical or anti-AI perspectives
  6. Gaming: PC gaming, indie gaming, retro gaming
  7. General interests: gardening, woodwork, cycling, fitness, travel
  8. Comics

Sources: Breaking News Ireland, Wexford Local, Hacker News, r/gaming, r/pcgaming, r/antiAI, r/indiegaming, Lenny's Newsletter, One Useful Thing, Newcomer, Simon Willison