From the Lab Page 03 / 28

Insights, engineered.

Technical deep-dives, AI strategy, and engineering perspectives from the team building autonomous systems.

Jul 24, 2026 AI Models

Claude Opus 5 vs Claude Fable 5: LiveCodeBench Algorithmic Coding Tested (July 2026)

Two Claude models now sit at the top of the coding leaderboards, and picking between them for algorithmic work is not obvious. Opus 5 is the new flagship, priced like one. Fable 5 is cheaper and faster and no slouch. LiveCodeBench is the right benchmark to separate them because it draws contamination free competitive programming problems released after each model's training cutoff, so a high score reflects reasoning rather than memorized solutions. We ran both across the easy, medium, and hard tiers, measured pass at one, and worked out what a solved problem actually costs on each, so you can decide when the flagship premium buys you anything real.

Jul 24, 2026 AI Models

Claude Opus 5 vs GPT-5.6 Sol: Aider Polyglot Code Editing Tested (July 2026)

Most of the coding a model does in a real workflow is editing, not writing from a blank file, and editing is where models fail in ways a generation benchmark never sees: a correct fix that comes back in a diff the tool cannot apply is a failed edit. Aider Polyglot measures exactly this across many languages, scoring whether the model both solves the exercise and returns an edit that applies cleanly and passes the tests. We ran Claude Opus 5, the new flagship, against GPT-5.6 Sol, and measured solve rate, how often each returned a malformed edit, and what a solved exercise costs, because in a real editing loop a model that is right but formats its diff wrong is worse than one slightly less clever that never breaks the apply step.

Jul 24, 2026 AI Models

Claude Opus 5 vs Grok 4.5: Terminal-Bench 2 Agentic Coding Tested (July 2026)

Writing correct code and driving a terminal to a finished result are different skills, and the second one is what an agent actually does. Terminal-Bench 2 tests the second: it hands the model a shell and a real task, then scores only whether the end state is correct after a sequence of commands, tool calls, and course corrections. We ran Claude Opus 5, the new flagship, against Grok 4.5, the cheaper challenger, and measured how often each finished the task, how well each recovered when a command failed, and what a completed task costs, because in an agent loop the model that recovers from its own mistakes matters more than the one that writes the prettiest first command.

Jul 24, 2026 AI Models

Gemini 3.5 Pro vs Claude Opus 5: 1M Token Long Context Reasoning Tested (July 2026)

The number in the spec sheet is the context window. The number that matters is how far into it the model can still reason. Retrieving a single planted fact from a million tokens is close to solved, and both of these models do it well, but real long context work asks the model to combine several facts scattered across the whole window, and that is where accuracy quietly collapses. We ran Gemini 3.5 Pro and Claude Opus 5 on both jobs, single fact retrieval and multi fact reasoning, at depths up to 1M tokens, and measured where each one holds and where each one degrades, so you can size your context to what the model can actually use rather than what it will technically accept.

Jul 24, 2026 AI Engineering

Local OCR on Apple Silicon: Surya vs docTR vs PaddleOCR on M5 Max (2026)

There is a real reason to run OCR on your own hardware rather than a cloud document API: invoices, purchase orders, and contracts are exactly the documents you do not want leaving your network, and per page cloud pricing turns a back office batch job into a recurring bill. The question is whether a Mac can do it fast and accurately enough to replace the API. We put Surya, docTR, and PaddleOCR on an M5 Max, measured pages per second and character error rate on real business documents, and compared them against a local vision language model doing the same job, so you can see which engine fits which document and where the accuracy actually falls apart.

Jul 24, 2026 Headless Commerce

Address Autocomplete and Validation at Headless Checkout: Loqate vs Smarty vs Google Places (2026)

On a platform hosted checkout, address autocomplete and validation come bundled and you mostly forget about them. Go headless and that safety net disappears: your custom checkout renders its own address field, and nothing verifies that what a customer typed is a real, deliverable address until a package bounces. That gap costs money on both sides, a slower form that leaks conversions and undeliverable orders that generate support tickets and reshipments. Loqate, Smarty, and Google Places all close it, but they make different trades on coverage, latency, pricing, and how cleanly they drop into a decoupled storefront. Here is how each behaves and how to wire address validation into a headless checkout without turning the fastest field on the page into the slowest.

Jul 23, 2026 AI Models

Claude Opus 4.8 vs Grok 4.5: SciCode Research Coding Benchmark Tested (July 2026)

General coding benchmarks reward a model for producing a function that passes a unit test. SciCode asks something harder: read a scientific problem, break it into dependent steps, and write numerical code where every step builds on the last, so one wrong intermediate result poisons everything after it. That compounding dependency is where strong models quietly fail. We ran Claude Opus 4.8 and Grok 4.5 through SciCode main problems and subproblems and the gap is about who holds a multi step chain together, not who writes the prettiest function.

Jul 23, 2026 Headless Commerce

OneTrust vs Osano vs Cookiebot: Consent Management for Headless Commerce and Google Consent Mode v2 (2026)

On a themed storefront, the consent banner and the tags it controls live in the same page the platform renders, so gating is mostly solved for you. Go headless and that assumption breaks. Your frontend loads its own analytics, pixels, and tag manager, and nothing stops them from firing before a visitor has agreed to anything. A consent platform has to sit in front of that, and OneTrust, Osano, and Cookiebot make very different trades on how. Add Google Consent Mode v2 and the question stops being whether the banner shows and becomes whether your tags actually change behavior based on the answer.

Jul 23, 2026 AI Engineering

Prompt Lookup Decoding on Apple Silicon: Draft Model Free Speedups on M5 Max (2026)

Speculative decoding is the standard way to make local generation faster, but it costs you a second model resident in the same unified memory you are already fighting over. Prompt lookup decoding is the draft model free version of the same trick. Instead of a small model guessing the next tokens, it guesses them by finding a matching n-gram already sitting in the prompt and proposing the text that followed. On an M5 Max we measured how much it helps on RAG, summarization, and code editing, and why it is close to useless for open ended chat.

Jul 20, 2026 Headless Commerce

Cache Invalidation for Headless Commerce: On Demand ISR vs Webhook Purge vs Timed Revalidation (2026)

The whole point of a headless storefront is that pages are cached and served in milliseconds. The whole problem is that a cached product page can show a price that changed an hour ago or an in stock badge on something you sold out of. Cache invalidation is the machinery that decides how long the storefront is allowed to lie. There are three strategies teams reach for, each fails in a different way, and the production answer is almost never one of them alone.

Jul 20, 2026 AI Models

Gemini 3.5 Pro vs GPT-5.6 Sol: IFEval Instruction Following Tested (July 2026)

A model can ace reasoning benchmarks and still ignore the sentence in your prompt that says respond in exactly three bullet points with no commas. IFEval measures only that: does the model do what it was literally told, on instructions a script can verify. That is the skill that decides whether your output survives a parser or breaks a pipeline. We ran Gemini 3.5 Pro and GPT-5.6 Sol through strict and loose IFEval and the gap is not about intelligence, it is about obedience under constraint.

Jul 20, 2026 AI Engineering

Importance Matrix Quantization on Apple Silicon: Does imatrix Calibration Beat Plain GGUF on M5 Max? (2026)

Two GGUF files at the same bit width and the same file size can behave very differently, and the reason is often whether an importance matrix guided the quantization. imatrix does not shrink the model or speed it up. It spends the error budget more carefully, protecting the weights a calibration corpus proves matter most. We ran calibrated and plain quants of the same model on a 64GB M5 Max and measured perplexity, KL divergence against the full precision logits, and where the calibration step is worth running versus where it buys you nothing.